[Switch C-bgp] peer 9:3::1 as-number 65009
[Switch C-bgp] peer 9:2::2 as-number 65009
[Switch C-bgp] ipv6-family unicast
[Switch C-bgp-af-ipv6] peer 9:3::1 enable
[Switch C-bgp-af-ipv6] peer 9:2::2 enable
[Switch C-bgp-af-ipv6] network 9:3:: 64
[Switch C-bgp-af-ipv6] network 9:2:: 64
# Configure Switch D.
[Switch D] bgp 65009
[Switch D-bgp] router-id 4.4.4.4
[Switch D-bgp] peer 9:1::1 as-number 65009
[Switch D-bgp] peer 9:2::1 as-number 65009
[Switch D-bgp] ipv6-family unicast
[Switch D-bgp-af-ipv6] peer 9:1::1 enable
[Switch D-bgp-af-ipv6] peer 9:2::1 enable
[Switch D-bgp-af-ipv6] network 9:2:: 64
[Switch D-bgp-af-ipv6] network 9:1:: 64
Step 4 Configure the EBGP connection.
# Configure Switch A.
[Switch A] bgp 65008
[Switch A-bgp] router-id 1.1.1.1
[Switch A-bgp] peer 10::1 as-number 65009
[Switch A-bgp] ipv6-family unicast
[Switch A-bgp-af-ipv6] peer 10::1 enable
[Switch A-bgp-af-ipv6] network 10:: 64
[Switch A-bgp-af-ipv6] network 8:: 64
# Configure Switch B.
[Switch B] bgp 65009
[Switch B-bgp] peer 10::2 as-number 65008
[Switch B-bgp] ipv6-family unicast
[Switch B-bgp-af-ipv6] peer 10::2 enable
[Switch B-bgp-af-ipv6] network 10:: 64
# View the status of the BGP4+ peers.
[Switch B] display bgp ipv6 peer
BGP local router ID : 2.2.2.2
Local AS number : 65009
Total number of peers : 3 Peers in established state : 3
Peer V AS MsgRcvd MsgSent OutQ Up/Down State PrefRcv
9:1::2 4 65009 8 9 0 00:05:37 Established 2
9:3::2 4 65009 2 2 0 00:00:09 Established 2
10::2 4 65008 9 7 0 00:05:38 Established 2
The preceding information shows that the BGP4+ connections between Switch B and other
Switches are set up.
# Display the routing table of Switch A.
[Switch A] display bgp ipv6 routing-table
BGP Local router ID is 1.1.1.1
Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Total Number of Routes: 6
*> Network : 8:: PrefixLen : 64
S6700 Series Ethernet Switches
Configuration Guide - IP Routing 8 BGP4+ Configuration
Issue 01 (2012-03-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
544