Huawei quidway s7700 Configuration Manual page 330

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
7.
8.
Configuration Files
l
Issue 01 (2011-07-15)
Peer
V
2.2.2.9
4
3.3.3.9
4
Peer of vpn instance :
vpn instance vpna :
10.1.1.1
4
Configure the reflector function on P1 and P2.
# Configure P1.
[P1] bgp 100
[P1-bgp] ipv4-family vpnv4
[P1-bgp-af-vpnv4] reflector cluster-id 100
[P1-bgp-af-vpnv4] peer P1 reflect-client
[P1-bgp-af-vpnv4] undo policy vpn-target
[P1-bgp-af-vpnv4] quit
# Configure P2.
[P2] bgp 100
[P2-bgp] ipv4-family vpnv4
[P2-bgp-af-vpnv4] reflector cluster-id 100
[P2-bgp-af-vpnv4] peer P2 reflect-client
[P2-bgp-af-vpnv4] undo policy vpn-target
[P2-bgp-af-vpnv4] quit
Verify the configuration.
Display the VPN routing table on PE, and you can see the route to the remote CE.
Take PE1 for example.
<PE1> display ip routing-table vpn-instance vpna
Route Flags: R - relied, D - download to fib
------------------------------------------------------------------------------
Routing Tables: vpna
Destinations : 5
Destination/Mask
Proto
10.1.1.0/24
Direct 0
10.1.1.2/32
Direct 0
InLoopBack0
10.1.1.255/32
Direct 0
10.2.1.0/24
BGP
255.255.255.255/32
Direct 0
If CE1 and CE2 can ping each other, it indicates that the RRs are successfully configured.
After running the shutdown command in the view of VLANIF 40 on PE1 and the view of
VLANIF 50 on PE2, you can see that CE1 can ping CE2. This indicates that the RRs are
successfully configured.
Configuration file of PE1
#
sysname PE1
#
vlan batch 10 40 60
#
ip vpn-instance vpna
route-distinguisher 100:1
vpn-target 1:1 export-extcommunity
vpn-target 1:1 import-extcommunity
#
mpls lsr-id 1.1.1.9
mpls
#
mpls ldp
#
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
AS
MsgRcvd
MsgSent
100
2
4
100
3
5
65410 79
82
Routes : 5
Pre
Cost
0
0
0
255
0
0
3 BGP MPLS IP VPN Configuration
OutQ
Up/Down
State PrefRcv
0
00:00:31
Established
0
00:01:23
Established
0
01:13:29
Established
Flags
NextHop
D
10.1.1.2
D
127.0.0.1
D
10.1.1.1
RD
4.4.4.9
D
127.0.0.1
0
0
0
Interface
Vlanif60
Vlanif60
Vlanif40
InLoopBack0
315

Advertisement

Table of Contents
loading

Table of Contents