[CE2-bgp]
router-id 6.6.6.6
[CE2-bgp]
peer 2001:db8:2::2 as-number 200
[CE2-bgp]
ipv6-family unicast
[CE2-bgp-af-ipv6]
peer 2001:db8:2::2 enable
[CE2-bgp-af-ipv6]
network 2001:db8:6:: 64
[CE2-bgp-af-ipv6]
quit
[CE2-bgp]
quit
# Run the
display bgp ipv6 peer
command on PE1 and PE2. The command output shows that
the BGP4+ peer relationship has been established.
[PE1]
display bgp ipv6 peer
BGP local router ID : 2.2.2.2
Local AS number : 100
Total number of peers : 2 Peers in established state : 2
Peer V AS MsgRcvd MsgSent OutQ Up/Down State
PrefRcv
3.3.3.3 4 100 74 69 0 01:03:32 Established
1
2001:db8:1::1 4 300 1224 1244 0 20:21:40 Established
1
[PE2]
display bgp ipv6 peer
BGP local router ID : 5.5.5.5
Local AS number : 200
Total number of peers : 2 Peers in established state : 2
Peer V AS MsgRcvd MsgSent OutQ Up/Down State
PrefRcv
4.4.4.4 4 200 77 72 0 01:06:11 Established
1
2001:db8:2::1 4 400 1227 1243 0 20:24:20 Established
1
Step 6
Check the configurations.
# Run the
display ipv6 routing-table
command on each CE. The command output shows that
the two CEs have learned the routes to each other's Loopback1 interface. The following example
uses the display on CE1.
[CE1]
display ipv6 routing-table
Routing Table : Public
Destinations : 7 Routes : 7
Destination : ::1 PrefixLength : 128
NextHop : ::1 Preference : 0
Cost : 0 Protocol : Direct
RelayNextHop : :: TunnelID : 0x0
Interface : InLoopBack0 Flags : D
Destination : 2001:db8:1:: PrefixLength : 64
NextHop : 2001:db8:1::1 Preference : 0
Cost : 0 Protocol : Direct
RelayNextHop : :: TunnelID : 0x0
Interface : GigabitEthernet1/0/0 Flags : D
Destination : 2001:db8:1::1 PrefixLength : 128
NextHop : ::1 Preference : 0
Cost : 0 Protocol : Direct
RelayNextHop : :: TunnelID : 0x0
Interface : GigabitEthernet1/0/0 Flags : D
Destination : 2001:db8:5:: PrefixLength : 64
HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
9 BGP4+ Configuration
Issue 02 (2014-09-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1156