Huawei quidway s7700 Configuration Manual page 442

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
# Enter the VPNv6 address family view and enable the exchange of the VPN IPv6 routing
information between the peers.
[PE3-bgp] ipv6-family vpnv6
[PE3-bgp-af-vpnv6] peer 1.1.1.1 enable
[PE3-bgp-af-vpnv6] quit
# Configure PE2.
# Specify PE4 as the IBGP peer. Configure the loopback interface to set up the IBGP connection.
[PE2] bgp 100
[PE2-bgp] peer 4.4.4.4 as-number 100
[PE2-bgp] peer 4.4.4.4 connect-interface loopback 1
# Enter the VPNv6 address family view and enable the exchange of the VPN IPv6 routing
information between the peers.
[PE2-bgp] ipv6-family vpnv6
[PE2-bgp-af-vpnv6] peer 4.4.4.4 enable
[PE2-bgp-af-vpnv6] quit
# Configure PE4.
# Specify PE2 as the IBGP peer. Configure the loopback interface to set up the IBGP connection.
[PE4] bgp 100
[PE4-bgp] peer 2.2.2.2 as-number 100
[PE4-bgp] peer 2.2.2.2 connect-interface loopback 1
# Enter the VPNv6 address family view and enable the exchange of the VPN IPv6 routing
information between the peers.
[PE4-bgp] ipv6-family vpnv6
[PE4-bgp-af-vpnv6] peer 2.2.2.2 enable
[PE4-bgp-af-vpnv6] quit
After the configuration, run the display bgp vpnv6 all peer command on a PE, and you can see
that the BGP peer relation between the PE and CE is in Established state.
<PE1> display bgp vpnv6 all peer
BGP local router ID : 1.1.1.1
Local AS number : 100
Total number of peers : 2
Peer
3.3.3.3
Peer of vpn6 instance :
vpn6 instance vpn1 :
2001::1
Step 7 On CE1, enable load balancing for the traffic from CE1 to CE2.
[CE1] bgp 65410
[CE1-bgp] ipv6-family unicast
[CE1-bgp-af-ipv6] maximum load-balancing 2
Step 8 Configure a routing policy. Increase the MED value of the BGP route advertised by PE3 to CE2
and ensure that the traffic from CE2 to CE1 can pass through PE4. PE3 functions as a backup.
[PE3] route-policy policy1 permit node 10
[PE3-route-policy] apply cost 120
[PE3-route-policy] quit
[PE3] bgp 100
[PE3-bgp] ipv6-family vpn6-instance vpn1
[PE3-bgp6-vpn1] peer 2003::1 route-policy policy1 export
Issue 01 (2011-07-15)
V
AS
MsgRcvd
4
100
70
4 65410
16
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4 BGP MPLS IPv6 VPN Configuration
Peers in established state : 2
MsgSent
OutQ
Up/Down
81
0 01:00:23 Established
12
0 00:06:42 Established
State PrefRcv
3
3
427

Advertisement

Table of Contents
loading

Table of Contents