Huawei quidway s7700 Configuration Manual page 221

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

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
Run the display ip routing-table vpn-instance command on PEs, and you can see the routes
to the VPNs of the peer CEs.
Take PE2 for example.
[PE2] display ip routing-table vpn-instance vpn1
Route Flags: R - relied, D - download to fib
------------------------------------------------------------------------------
Routing Tables: vpn1
Destination/Mask
255.255.255.255/32
Enable debugging of the BGP Update packets on PE2. The debugging information shows that
PE2 advertises the route to 100.1.1.0/24 and the AS path information is "100 600".
<PE2> terminal monitor
<PE2> terminal debugging
<PE2> debugging bgp update vpn-instance vpn1 peer 10.2.1.1 verbose
<PE2> refresh bgp vpn-instance vpn1 all export
*0.4402392 PE2 RM/7/RMDEBUG:
Run the display bgp routing-table peer received-routes command on CE2, and you can see
that CE2 does not accept the route to 100.1.1.0/24.
[CE2] display bgp routing-table peer 10.2.1.2 received-routes
Total Number of Routes: 3
BGP Local router ID is 10.2.1.1
Status codes: * - valid, > - best, d - damped,
*>
*
*
Step 2 Configure BGP ASN substitution.
Configure BGP ASN substitution on PEs.
# Take PE2 for example.
[PE2] bgp 100
[PE2-bgp] ipv4-family vpn-instance vpn1
[PE2-bgp-vpn1] peer 10.2.1.1 substitute-as
In the route advertised to CE2 by PE2, you can see that the AS path information of 100.1.1.0/24
changes from "100 600" to "100 100".
*0.13498737 PE2 RM/7/RMDEBUG:
Display the routing information and routing table received by CE2.
Issue 01 (2011-07-15)
Destinations : 7
Proto
10.1.1.0/24
BGP
10.2.1.0/24
Direct 0
10.2.1.2/32
Direct 0
10.2.1.255/32
Direct 0
100.1.1.0/24
BGP
200.1.1.0/24
BGP
Direct 0
BGP.vpn1: Send UPDATE to 10.2.1.1 for following destinations :
Origin
: Incomplete
AS Path
: 100 600
Next Hop
: 10.2.1.2
100.1.1.0/24,
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
BGP.vpn1: Send UPDATE to 10.2.1.1 for following destinations :
Origin
: Incomplete
AS Path
: 100 100
Next Hop
: 10.2.1.2
100.1.1.0/24
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Routes : 7
Pre
Cost
Flags
255
0
RD
0
D
0
D
0
D
255
0
RD
255
0
D
0
D
i - internal, s - suppressed, S - Stale
MED
LocPrf
0
0
3 BGP MPLS IP VPN Configuration
NextHop
Interface
1.1.1.9
Vlanif30
10.2.1.2
Vlanif40
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
1.1.1.9
Vlanif30
10.2.1.1
Vlanif40
127.0.0.1
InLoopBack0
PrefVal Path/Ogn
0
100?
0
100?
0
100?
206

Advertisement

Table of Contents
loading

Table of Contents