<P>
display mpls ldp session
LDP Session(s) in Public Network
Codes: LAM(Label Advertisement Mode), SsnAge Unit(DDDD:HH:MM)
A '*' before a session means the session is being deleted.
------------------------------------------------------------------------------
PeerID Status LAM SsnRole SsnAge KASent/Rcv
------------------------------------------------------------------------------
1.1.1.1:0 Operational DU Active 0000:00:00 2/2
3.3.3.3:0 Operational DU Active 0000:23:08 5556/5555
------------------------------------------------------------------------------
TOTAL: 2 session(s) Found.
Run the
display bgp vpnv4 all peer
command on the PEs, and you can find that the MP-IBGP
adjacency is in Established state. Take PE1 for example.
<PE1>
display bgp vpnv4 all peer
BGP local router ID : 1.1.1.1
Local AS number : 100
Total number of peers : 1 Peers in established state : 1
Peer V AS MsgRcvd MsgSent OutQ Up/Down State PrefRcv
3.3.3.3 4 100 6 8 0 00:03:48 Established 2
Step 4
Create VPN instances and set up EBGP adjacencies.
Create VPN 1 on the PEs and bind VPN 1 to the interfaces connected to CEs. Set up EBGP
adjacencies between PE1 and CE1 and between PE2 and CE2 to import routes of the CEs to the
PEs. The detailed configuration is not mentioned here.
After the configuration, run the
display ip vpn-instance
command on the PEs, and you can find
VPN 1 is displayed in the
VPN-Instance Name
field.
Take PE1 for example.
[PE1]
display ip vpn-instance
Total VPN-Instances configured : 1
VPN-Instance Name RD Creation Time
vpn1 100:1 2010/01/16 17:30:42 UTC-0
8:00
Run the
display bgp vpnv4 all peer
command on the PEs, and you can see that the IBGP and
EBGP adjacencies are in Established state.
Take PE1 for example.
<PE1>
display bgp vpnv4 all peer
BGP local router ID : 1.1.1.1
Local AS number : 100
Total number of peers : 2 Peers in established state : 2
Peer V AS MsgRcvd MsgSent OutQ Up/Down State PrefRcv
3.3.3.3 4 100 127 134 0 01:39:44 Established 2
Peer of vpn instance :
vpn instance vpn1 :
10.1.1.1 4 65410 107 110 0 01:26:33 Established 3
Step 5
Configure the static route to enable VPN users to access the public network.
# Add a default route on CE1 with the next hop being PE1.
<CE1>
system-view
[CE1]
ip route-static 0.0.0.0 0 10.1.1.2
# Configure PE1.
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
3 BGP MPLS IP VPN Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
271