Huawei quidway s7700 Configuration Manual page 391

Smart routing switch
Hide thumbs Also See for quidway s7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
3.3.3.9
You can see that a VPNv6 peer relation is established between PE1 and PE2.
Step 7 Configure BGP4+ on PE1 and CE1.
# Configure EBGP on PE1.
[PE1] bgp 100
[PE1-bgp] ipv6-family vpn6-instance vpna
[PE1-bgp6-vpna] peer 2001::1 as-number 65410
[PE1-bgp6-vpna] import-route direct
[PE1-bgp6-vpna] quit
[PE1-bgp] quit
# Configure EBGP on CE1.
[CE1] bgp 65410
[CE1-bgp] router-id 10.10.10.10
[CE1-bgp] peer 2001::2 as-number 100
[CE1-bgp] ipv6-family unicast
[CE1-bgp-af-ipv6] peer 2001::2 enable
[CE1-bgp-af-ipv6] import-route direct
[CE1-bgp-af-ipv6] quit
[CE1-bgp] quit
After the preceding configurations are complete, run the display bgp vpnv6 vpn6-instance
vpnv6-instance-name peer command on PE1 to view the status of the peer relation.
[PE1] display bgp vpnv6 vpn6-instance vpna peer
BGP local router ID : 1.1.1.9
Local AS number : 100
Total number of peers : 1
Peer
2001::1
You can also run the display bgp ipv6 peer command on CE1 to view the status of the peer
relation.
[CE1] display bgp ipv6 peer
BGP local router ID : 10.10.10.10
Local AS number : 65410
Total number of peers : 1
Peer
2001::2
You can see that the EBGP connection is established between PE1 and CE1.
Step 8 Configure a static route between PE1 and CE2.
# Configure an IPv6 static route for the VPNv6 instance vpnb on PE1.
[PE1] ipv6 route-static vpn6-instance vpnb 1998:: 64 2003::1
# Import the static route and directly connected route to BGP on PE1.
[PE1] bgp 100
[PE1-bgp] ipv6-family vpn6-instance vpnb
[PE1-bgp6-vpnb] import-route static
[PE1-bgp6-vpnb] import-route direct
[PE1-bgp6-vpnb] quit
[PE1-bgp] quit
# Configure the IPv6 default route on CE2.
[CE2] ipv6 route-static :: 0 2003::2
Issue 01 (2011-07-15)
4
100
3
V
AS
MsgRcvd
4 65410
10
V
AS
MsgRcvd
4
100
2
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4 BGP MPLS IPv6 VPN Configuration
3
0 00:02:19 Established
Peers in established state : 1
MsgSent
OutQ
Up/Down
9
0 00:06:10 Established
Peers in established state : 1
MsgSent
OutQ
Up/Down
3
0 00:00:32 Established
0
State PrefRcv
1
State PrefRcv
0
376

Advertisement

Table of Contents
loading

Table of Contents