OSPF protocol configuration-HUAWEI

*********OSPF protocol configuration-GPON********

Step 1: Configure VLAN and uplink port

OLT(config)#vlan 30 smart

OLT(config)#port vlan 30 0/9 0

OLT(config)#vlan 40 smart

OLT(config)#port vlan 40 0/9 1

Step 2: Configure VLAN interface and ip address

OLT(config)#interface vlanif 30

OLT(config-if-vlanif30)#ip address 10.10.10.1 24

OLT(config)#interface vlanif 40

OLT(config-if-vlanif40)#ip address 20.20.20.1 24

Step 3:  Configure OSPF

OLT(config)#ospf 1

OLT(config-ospf-1)#area 0

OLT(config-ospf-1-area-0.0.0.0)#network 10.10.10.0 0.0.0.255

OLT(config-ospf-1-area-0.0.0.0)#network 20.20.20.0 0.0.0.255

Step 4: Enable BFD in VLAN interface

OLT(config)#interface vlanif 30

OLT(config-if-vlanif30)#ospf bfd enable

OLT(config-if-vlanif30)#ospf bfd min-rx-interval 10 min-tx-interval 10 detect-multiplier 3

OLT(config-if-vlanif30)#ospf cost 30

OLT(config-if-vlanif30)#quit

OLT(config)#interface vlanif 40

OLT(config-if-vlanif40)#ospf bfd enable

OLT(config-if-vlanif40)#ospf bfd min-rx-interval 10 min-tx-interval 10 detect-multiplier 3

OLT(config-if-vlanif30)#ospf cost 40

OLT(config-if-vlanif40)#quit

  • Query BFD configuration

OLT(config)#display bfd configuration

{ all<K>|dynamic<K>|peer-ip<K>|static<K> }:all

 

**********END********

Be the first to comment

Leave a Reply

Your email address will not be published.


*