Professional Documents
Culture Documents
Add26 IP - NAST3073 - E01 - 1-ZXR10 M6000-S BGP4+ Configuration&Operation-36p
Add26 IP - NAST3073 - E01 - 1-ZXR10 M6000-S BGP4+ Configuration&Operation-36p
Configuration&Operation
Objectives
2
Contents
3
BGP4+ Configuration Steps
n enable BGP4+
n configure BGP4+ route announcement
n configure EBGP multi-hop
n configure BGP4+ route reflector
n configure BGP4+ route attributes
n configure BGP4+ IPv6 address family
5
ZXR10(config-bgp-af-ipv6)# neighbor {<ipv6-address> | <peer-
activate neighbor
group-name>} activate
6
ZXR10(config-bgp-af-ipv6)# network <ipv6 network number> configure BGP4+
[route-map <name>] advertising route
n configuration on R1:
n ZXR10_R1(config)#router bgp 100
n ZXR10_R1(config-bgp)#bgp router-id 1.1.1.1
n ZXR10_R1(config-bgp)#neighbor 2005::2 remote-as 200
n ZXR10_R1(config-bgp)#address-family ipv6
n ZXR10_R1(config-bgp-af-ipv6)#neighbor 2005::2 activate
n ZXR10_R1(config-bgp-af-ipv6)#network 2001::/64
n configuration on R2:
n ZXR10_R2(config)#router bgp 200
n ZXR10_R2(config-bgp)#bgp router-id 2.2.2.2
n ZXR10_R2(config-bgp)#neighbor 2005::1 remote-as 100
n ZXR10_R2(config-bgp)#address-family ipv6
n ZXR10_R2(config-bgp-af-ipv6)#neighbor 2005::1 activate
n ZXR10_R2(config-bgp-af-ipv6)#network 2003::/64
Configuration on R3:
n ZXR10_R3(config)#router bgp 100
n ZXR10_R3 (config-bgp)#address-family ipv6
n ZXR10_R3 (config-bgp-af-ipv6)#neighbor 3ffe::1 activate
n ZXR10_R3 (config-bgp-af-ipv6)#neighbor 3ffe::2 activate
n ZXR10_R3 (config-bgp-af-ipv6)#neighbor 3ffe::1 route-reflector-client //set RR
client
n ZXR10_R3 (config-bgp-af-ipv6)#neighbor 3ffe::2 route-reflector-client //set RR
client
Configuration on R2:
n ZXR10_R2(config)#router bgp 100
n ZXR10_R2(config-bgp)#address-family ipv6
n ZXR10_R2(config-bgp-af-ipv6)#neighbor 3ffe::3 activate
ZXR10(config-bgp)# bgp default local-preference <value> set BGP4+ default local preference
command function
enter IPv6 address family
ZXR10(config-bgp)# address-family ipv6
mode
ZXR10(config-bgp-af)# neighbor {<ipv6-address> | advertise default route ::/0 to
<peer-group-name>} default-originate dedicated neighbor
ZXR10(config-bgp-af)# neighbor {<ipv6-address> | set the maximum number of
<peer-group-name>} maximum-prefix <value> received route from neighbor
set local address as BGP route
ZXR10(config-bgp-af)# neighbor {<ipv6-address> |
next hop when advertising
<peer-group-name>} next-hop-self
route to neighbor
when advertising route to
ZXR10(config-bgp-af)# neighbor {<ipv6-address> |
neighbor, filter private AS
<peer-group-name>} remove-private-as
number
when advertising route to
ZXR10(config-bgp-af)# neighbor {<ipv6-address> |
neighbor, send community
<peer-group-name>} send-community
attribute to neighbor
15
BGP4+ Configuration Example
Configuration Description:
n This example describes how to configure BGP4+. It involves the practical use of
BGP4+, such as IBGP/EBGP neighbor establishment, routing policy, route
redistribution, and Message Digest 5 Algorithm (MD5) encryption.
n As shown in Figure, EBGP neighbors are established between R4 and R1, IBGP
neighbors are established between R1 and R2, and multi-hop EBGP neighbors are
established between R2 and R5. R2 and R5 establish an EBGP multi-hop relation
through R3. Before BGP is configured, it is necessary to ensure that the addresses
used for neighbor establishment between the two routers can interwork with
each other (via IGP; IGP configuration is omitted in this example).
Configuration Flow:
1. Enable IPv6 on each interface and configure IPv6 addresses.
2. Create a BGP4+ instance.
3. Configure BGP4+ neighbors and routing policies.
4. Configure the redistribution command and enable neighbors to advertise routes.
Configuration Verification
Run the show bgp ipv6 unicast summary command on R1 to check the adjacency, as
shown below.
Configuration Verification
Run the show bgp ipv6 unicast command on R1 to check the routing table, as shown
below.
Configuration Verification
Run the show bgp ipv6 unicast summary command on R2 to check the adjacency, as
shown below.
Configuration Verification
Run the show bgp ipv6 unicast command on R2 to check the routing table, as shown
below.
Configuration Verification
Run the show bgp ipv6 unicast summary command on R4 to check the adjacency, as
shown below.
Configuration Verification
Run the show bgp ipv6 unicast command on R4 to check the routing table, as shown
below.
Configuration Verification
Run the show bgp ipv6 unicast summary command on R5 to check the adjacency, as
shown below.
Configuration Verification
Run the show bgp ipv6 unicast command on R5 to check the routing table, as shown
below.
28
BGP4+ Maintenance
n BGP4+ configuration
n BGP4+ maintenance