Configuring preferences for bgp routes, Verifying the configuration – H3C Technologies H3C S12500-X Series Switches User Manual
Page 294
280
[SwitchB-bgp] quit
# Configure Switch C.
[SwitchC] bgp 200
[SwitchC-bgp] router-id 3.3.3.3
[SwitchC-bgp] peer 101::2 as-number 200
[SwitchC-bgp] peer 102::2 as-number 200
[SwitchC-bgp] address-family ipv6
[SwitchC-bgp-ipv6] peer 101::2 enable
[SwitchC-bgp-ipv6] peer 102::2 enable
[SwitchC-bgp-ipv6] network 101:: 96
[SwitchC-bgp-ipv6] network 102:: 96
# Configure Switch D.
[SwitchD] bgp 200
[SwitchD-bgp] router-id 4.4.4.4
[SwitchD-bgp] peer 102::1 as-number 200
[SwitchD-bgp] address-family ipv6
[SwitchD-bgp-ipv6] peer 102::1 enable
[SwitchD-bgp-ipv6] network 102:: 96
3.
Configure Switch C as a route reflector, and configure Switch B and Switch D as its clients.
[SwitchC-bgp-ipv6] peer 101::2 reflect-client
[SwitchC-bgp-ipv6] peer 102::2 reflect-client
[SwitchC-bgp-ipv6] quit
[SwitchC-bgp] quit
640B
Verifying the configuration
# Execute the display bgp routing-table ipv6 command on Switch D.
[SwitchD] display bgp routing-table ipv6
Total number of routes: 5
BGP local router ID is 4.4.4.4
Status codes: * - valid, > - best, d - dampened, h - history,
s - suppressed, S - stale, i - internal, e - external
Origin: i - IGP, e - EGP, ? - incomplete
* >i Network : 1:: PrefixLen : 64
NextHop : 101::2 LocPrf : 100
PrefVal : 0 OutLabel : NULL
MED : 0
Path/Ogn: 100i
* >i Network : 100:: PrefixLen : 96
NextHop : 101::2 LocPrf : 100
PrefVal : 0 OutLabel : NULL
MED : 0
Path/Ogn: i