Configuration of BGP (GPON)-HUAWEI

*******BGP Configuration-GPON********

  1. Configure OLT-1.
    1. Configure the IP address of the L3 interface.
      OLT-1(config)#vlan 6 smart
      OLT-1(config)#port vlan 6 0/19 0
      OLT-1(config)#interface vlanif 6
      OLT-1(config-if-vlanif6)#ip address 200.1.1.2 24
      OLT-1(config-if-vlanif6)#quit
      OLT-1(config)#vlan 2 smart
      OLT-1(config)#port vlan 2 0/19 0
      OLT-1(config)#interface vlanif 2
      OLT-1(config-if-vlanif2)#ip address 8.1.1.1 8
      OLT-1(config-if-vlanif2)#quit
    2. Enable the BGP function.
      OLT-1(config)#bgp 2000
      OLT-1(config-BGP)#router-id 1.1.1.1
      OLT-1(config-BGP)#peer 200.1.1.1 as-number 2001
      OLT-1(config-BGP)#network 8.0.0.0 8
      OLT-1(config-BGP)#quit
    3. Save the data.
      OLT-1(config)#save
  2. Configure OLT-2.
    1. Configure the IP address of the L3 interface.
      OLT-2(config)#vlan 6 smart
      OLT-2(config)#port vlan 6 0/19 0
      OLT-2(config)#interface vlanif 6
      OLT-2(config-if-vlanif6)#ip address 200.1.1.1 24
      OLT-2(config-if-vlanif6)#quit
      OLT-2(config)#vlan 3 smart
      OLT-2(config)#port vlan 3 0/19 0
      OLT-2(config)#interface vlanif 3
      OLT-2(config-if-vlanif3)#ip address 9.1.3.1 24
      OLT-2(config-if-vlanif3)#quit
      OLT-2(config)#vlan 4 smart
      OLT-2(config)#port vlan 4 0/19 0
      OLT-2(config)#interface vlanif 4
      OLT-2(config-if-vlanif4)#ip address 9.1.1.1 24
      OLT-2(config-if-vlanif4)#quit
    2. Enable the BGP function.
      OLT-2(config)#bgp 2001
      OLT-2(config-BGP)#router-id 2.2.2.2
      OLT-2(config-BGP)#peer 200.1.1.2 as-number 2000
      OLT-2(config-BGP)#peer 9.1.3.2 as-number 2001
      OLT-2(config-BGP)#peer 9.1.1.2 as-number 2001
      OLT-2(config-BGP)#import-route direct
      OLT-2(config-BGP)#quit
    3. Save the data.
      OLT-2(config)#save
  3. Configure OLT-3.
    1. Configure the IP address of the L3 interface.
      OLT-3(config)#vlan 3 smart
      OLT-3(config)#port vlan 3 0/19 0
      OLT-3(config)#interface vlanif 3
      OLT-3(config-if-vlanif3)#ip address 9.1.3.2 24
      OLT-3(config-if-vlanif3)#quit
      OLT-3(config)#vlan 5 smart
      OLT-3(config)#port vlan 5 0/19 0
      OLT-3(config)#interface vlanif 5
      OLT-3(config-if-vlanif5)#ip address 9.1.2.1 24
      OLT-3(config-if-vlanif5)#quit
    2. Enable the BGP function.
      OLT-3(config)#bgp 2001
      OLT-3(config-BGP)#router-id 3.3.3.3
      OLT-3(config-BGP)#peer 9.1.3.1 as-number 2001
      OLT-3(config-BGP)#peer 9.1.2.2 as-number 2001
      OLT-3(config-BGP)#quit
    3. Save the data.
      OLT-3(config)#save
  4. Configure OLT-4.
    1. Configure the IP address of the L3 interface.
      OLT-4(config)#vlan 4 smart
      OLT-4(config)#port vlan 4 0/19 0
      OLT-4(config)#interface vlanif 4
      OLT-4(config-if-vlanif4)#ip address 9.1.1.2 24
      OLT-4(config-if-vlanif4)#quit
      OLT-4(config)#vlan 5 smart
      OLT-4(config)#port vlan 5 0/19 0
      OLT-4(config)#interface vlanif 5
      OLT-4(config-if-vlanif5)#ip address 9.1.2.2 24
      OLT-4(config-if-vlanif5)#quit
    2. Enable the BGP function.
      OLT-4(config)#bgp 2001
      OLT-4(config-BGP)#router-id 4.4.4.4
      OLT-4(config-BGP)#peer 9.1.2.1 as-number 2001
      OLT-4(config-BGP)#peer 9.1.1.1 as-number 2001
      OLT-4(config-BGP)#quit
    3. Save the data.
      OLT-4(config)#save

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

Be the first to comment

Leave a Reply

Your email address will not be published.


*


For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

I agree to these terms.