Huawei quidway s7700 Configuration Manual page 214

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
Take the display on PE1 and CE1 as an example:
[PE1] ping -vpn-instance vpna 10.1.1.1
PING 10.1.1.1: 56
--- 10.1.1.1 ping statistics ---
Step 3 Configure BGP to import the direct route to the VPN instance routing table.
# Configure PE1
[PE1] bgp 100
[PE1-bgp] ipv4-family vpn-instance vpna
[PE1-bgp-vpna] import-route direct
[PE1-bgp] ipv4-family vpn-instance vpnb
[PE1-bgp-vpnb] import-route direct
Step 4 Enable the routing protocol on the CEs.
# Configure CE1.
[CE1] ip route-static 10.2.1.0 24 10.1.1.2
# Configure CE2.
[CE2] ip route-static 10.1.1.0 24 10.2.1.2
Step 5 Verify the configuration.
After the configuration, CE1 and CE2, which are connected to PE1 but belong to different VPNs,
can communicate with each other.
[PE1] display ip routing-table vpn-instance vpna
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: vpna
Destination/Mask
255.255.255.255/32
[CE1] ping 10.2.1.1
PING 10.2.1.1: 56
--- 10.2.1.1 ping statistics ---
----End
Issue 01 (2011-07-15)
data bytes, press CTRL_C to break
Reply from 10.1.1.1: bytes=56 Sequence=1 ttl=255 time=5 ms
Reply from 10.1.1.1: bytes=56 Sequence=2 ttl=255 time=3 ms
Reply from 10.1.1.1: bytes=56 Sequence=3 ttl=255 time=3 ms
Reply from 10.1.1.1: bytes=56 Sequence=4 ttl=255 time=3 ms
Reply from 10.1.1.1: bytes=56 Sequence=5 ttl=255 time=16 ms
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 3/6/16 ms
Destinations : 6
Proto
10.1.1.0/24
Direct 0
10.1.1.2/32
Direct 0
10.1.1.255/32
Direct 0
10.2.1.0/24
BGP
10.2.1.2/32
BGP
Direct 0
data bytes, press CTRL_C to break
Reply from 10.2.1.1: bytes=56 Sequence=1 ttl=253 time=72 ms
Reply from 10.2.1.1: bytes=56 Sequence=2 ttl=253 time=34 ms
Reply from 10.2.1.1: bytes=56 Sequence=3 ttl=253 time=50 ms
Reply from 10.2.1.1: bytes=56 Sequence=4 ttl=253 time=50 ms
Reply from 10.2.1.1: bytes=56 Sequence=5 ttl=253 time=34 ms
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 34/48/72 ms
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Routes : 6
Pre
Cost
Flags NextHop
0
D
0
D
0
D
255
0
D
255
0
D
0
D
3 BGP MPLS IP VPN Configuration
Interface
10.1.1.1
Vlanif10
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
10.2.1.1
Vlanif20
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
199

Advertisement

Table of Contents
loading

Table of Contents