HP 12500 Series Configuration Manual page 371

Mpls, routing switch series
Table of Contents

Advertisement

After you complete the previous configuration, LDP sessions are established between PE 1, P, and
PE 2. Issue the display mpls ldp session command. You can see that the session status is
Operational. Issue the display mpls ldp lsp command. You can see the LSPs established by LDP.
The following takes PE 1 as an example:
[PE1] display mpls ldp session
Total number of sessions: 1
----------------------------------------------------------------
Peer-ID
---------------------------------------------------------------
2.2.2.9:0
---------------------------------------------------------------
LAM : Label Advertisement Mode
[PE1] display mpls ldp lsp
------------------------------------------------------------------
SN
DestAddress/Mask
------------------------------------------------------------------
1
1.1.1.9/32
2
2.2.2.9/32
3
3.3.3.9/32
------------------------------------------------------------------
A '*' before an LSP means the LSP is not established
A '*' before a Label means the USCB or DSCB is stale
Configure VPN instances on the PEs to allow the CEs to access.
3.
# Configure PE 1.
[PE1] ip vpn-instance vpn1
[PE1-vpn-instance-vpn1] route-distinguisher 100:1
[PE1-vpn-instance-vpn1] vpn-target 111:1
[PE1-vpn-instance-vpn1] quit
[PE1] ip vpn-instance vpn2
[PE1-vpn-instance-vpn2] route-distinguisher 100:2
[PE1-vpn-instance-vpn2] vpn-target 222:2
[PE1-vpn-instance-vpn2] quit
[PE1] interface vlan-interface 11
[PE1-Vlan-interface11] ip binding vpn-instance vpn1
[PE1-Vlan-interface11] ipv6 address 2001:1::2 96
[PE1-Vlan-interface11] quit
[PE1] interface vlan-interface 12
[PE1-Vlan-interface12] ip binding vpn-instance vpn2
[PE1-Vlan-interface12] ipv6 address 2001:2::2 96
[PE1-Vlan-interface12] quit
# Configure PE 2.
[PE2] ip vpn-instance vpn1
[PE2-vpn-instance-vpn1] route-distinguisher 200:1
[PE2-vpn-instance-vpn1] vpn-target 111:1
[PE2-vpn-instance-vpn1] quit
[PE2] ip vpn-instance vpn2
LDP Session(s) in Public Network
Status
LAM
Operational
DU
LDP LSP Information
In/OutLabel
3/NULL
NULL/3
NULL/1024
363
SsnRole
FT
MD5
Passive
Off
Off
FT
: Fault Tolerance
Next-Hop
In/Out-Interface
127.0.0.1
Vlan-interface13/InLoop0
172.1.1.2
-------/Vlan-interface13
172.1.1.2
-------/Vlan-interface13
KA-Sent/Rcv
5/5

Advertisement

Table of Contents
loading

Table of Contents