Huawei quidway s7700 Configuration Manual page 240

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
# On ASBR-PE1, set up an EBGP peer relation between ASBR-PE1 and ASBR-PE2.
[ASBR-PE1] bgp 100
[ASBR-PE1-bgp] ipv4-family vpn-instance vpn1
[ASBR-PE1-bgp-vpn1] peer 192.1.1.2 as-number 200
[ASBR-PE1-bgp-vpn1] import-route direct
[ASBR-PE1-bgp-vpn1] quit
[ASBR-PE1-bgp] quit
# On ASBR-PE2, set up an EBGP peer relation between ASBR-PE2 and ASBR-PE1.
[ASBR-PE2] bgp 200
[ASBR-PE2-bgp] ipv4-family vpn-instance vpn1
[ASBR-PE2-bgp-vpn1] peer 192.1.1.1 as-number 100
[ASBR-PE2-bgp-vpn1] import-route direct
[ASBR-PE2-bgp-vpn1] quit
[ASBR-PE2-bgp] quit
Run the display bgp vpnv4 vpn-instance peer command on the ASBR PE, and you can see
that the BGP peer relation is established between the ASBR-PEs.
Step 6 Verify the configuration.
After the preceding configuration, CEs can learn the routes from the interfaces of each other,
and CE1 and CE2 can ping each other successfully.
Take the display on CE1 as an example:
[CE1] 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
[CE1] ping 10.2.1.1
PING 10.2.1.1: 56
--- 10.2.1.1 ping statistics ---
Run the display ip routing-table vpn-instance command on an ASBR-PE, and you can see the
VPN routing table on the ASBR-PE.
[ASBR-PE1] display ip routing-table vpn-instance vpn1
Route Flags: R - relied, D - download to fib
------------------------------------------------------------------------------
Routing Tables: vpn1
Destination/Mask
Issue 01 (2011-07-15)
Destinations : 10
Proto
10.1.1.0/24
Direct 0
10.1.1.1/32
Direct 0
10.1.1.255/32
Direct 0
10.2.1.0/24
BGP
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
Direct 0
192.1.1.0/24
BGP
192.1.1.2/32
BGP
Direct 0
data bytes, press CTRL_C to break
Reply from 10.2.1.1: bytes=56 Sequence=1 ttl=251 time=119 ms
Reply from 10.2.1.1: bytes=56 Sequence=2 ttl=251 time=141 ms
Reply from 10.2.1.1: bytes=56 Sequence=3 ttl=251 time=136 ms
Reply from 10.2.1.1: bytes=56 Sequence=4 ttl=251 time=113 ms
Reply from 10.2.1.1: bytes=56 Sequence=5 ttl=251 time=78 ms
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 78/117/141 ms
Destinations : 6
Proto
10.1.1.0/24
BGP
10.2.1.0/24
BGP
192.1.1.0/24
Direct 0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Routes : 10
Pre
Cost
Flags NextHop
0
D
0
D
0
D
255
0
D
0
D
0
D
0
D
255
0
D
255
0
D
0
D
Routes : 6
Pre
Cost
Flags NextHop
255
0
RD
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.1.1.2
Vlanif10
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
10.1.1.2
Vlanif10
10.1.1.2
Vlanif10
127.0.0.1
InLoopBack0
Interface
1.1.1.9
Vlanif11
192.1.1.2
Vlanif12
192.1.1.1
Vlanif12
225

Advertisement

Table of Contents
loading

Table of Contents