Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
[CE2] display bgp routing-table peer 10.2.1.2 received-routes
Total Number of Routes: 5
BGP Local router ID is 10.2.1.1
Status codes: * - valid, > - best, d - damped,
*>
*
*
*>
[CE2] display ip routing-table
Route Flags: R - relied, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destination/Mask
127.255.255.255/32
255.255.255.255/32
After BGP ASN substitution is configured on PE1, the GE interfaces of CE1 and CE2 can ping
each other.
[CE1] ping -a 100.1.1.1 200.1.1.1
PING 200.1.1.1: 56
--- 200.1.1.1 ping statistics ---
----End
Configuration Files
l
Issue 01 (2011-07-15)
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Network
NextHop
10.1.1.0/24
10.2.1.2
10.2.1.0/24
10.2.1.2
10.2.1.1/32
10.2.1.2
100.1.1.0/24
10.2.1.2
Destinations : 11
Proto
10.1.1.0/24
BGP
10.2.1.0/24
Direct 0
10.2.1.1/32
Direct 0
10.2.1.255/32
Direct 0
100.1.1.1/24
BGP
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
Direct 0
200.1.1.0/24
Direct 0
200.1.1.1/32
Direct 0
Direct 0
data bytes, press CTRL_C to break
Reply from 200.1.1.1: bytes=56 Sequence=1 ttl=253 time=109 ms
Reply from 200.1.1.1: bytes=56 Sequence=2 ttl=253 time=67 ms
Reply from 200.1.1.1: bytes=56 Sequence=3 ttl=253 time=66 ms
Reply from 200.1.1.1: bytes=56 Sequence=4 ttl=253 time=85 ms
Reply from 200.1.1.1: bytes=56 Sequence=5 ttl=253 time=70 ms
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 66/79/109 ms
Configuration file of CE1
#
sysname CE1
#
vlan batch 10 50
#
interface Vlanif10
ip address 10.1.1.1 255.255.255.0
#
interface Vlanif50
ip address 100.1.1.1 255.255.255.0
#
interface GigabitEthernet1/0/0
port hybrid pvid vlan 10
port hybrid untagged vlan 10
#
interface GigabitEthernet2/0/0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
i - internal, s - suppressed, S - Stale
MED
LocPrf
0
0
Routes : 11
Pre
Cost
Flags
255
0
D
0
D
0
D
0
D
255
0
D
0
D
0
D
0
D
0
D
0
D
0
D
3 BGP MPLS IP VPN Configuration
PrefVal Path/Ogn
0
100?
0
100?
0
100?
0
100 100!
NextHop
Interface
10.2.1.2
Vlanif40
10.2.1.1
Vlanif40
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
10.2.1.2
Vlanif40
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
127.0.0.1
Vlanif60
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
207