152
Displaying tunnel information
Execute
display
commands in any view.
Task
Command
Display tunnel information.
display mpls tunnel
{
all
|
statistics
| [
vpn-instance
vpn-instance-name
]
destination
{
tunnel-ipv4-dest
|
tunnel-ipv6-dest
} }
Tunnel policy configuration examples
Preferred tunnel configuration example
Network requirements
PE 1 has multiple tunnels to reach PE 2: one MPLS TE tunnel on the interface Tunnel 1, and one
LDP LSP tunnel.
Two MPLS VPN instances,
vpna
and
vpnb
, exist on PE 1. Configure PE 1 to use the MPLS TE
tunnel to forward traffic for both VPNs.
Configuration procedure
1.
Create a tunnel policy named
preferredte1
, and configure tunnel 1 as the preferred tunnel.
<PE1> system-view
[PE1] tunnel-policy preferredte1
[PE1-tunnel-policy-preferredte1] preferred-path tunnel 1
[PE1-tunnel-policy-preferredte1] quit
2.
Configure MPLS VPN instances and apply the tunnel policy to the VPN instances:
# Create MPLS VPN instance
vpna
, and apply tunnel policy
preferredte1
to it.
[PE1] ip vpn-instance vpna
[PE1-vpn-instance-vpna] route-distinguisher 100:1
[PE1-vpn-instance-vpna] vpn-target 100:1
[PE1-vpn-instance-vpna] tnl-policy preferredte1
[PE1-vpn-instance-vpna] quit
# Create MPLS VPN instance
vpnb
, and apply tunnel policy
preferredte1
to it.
[PE1] ip vpn-instance vpnb
[PE1-vpn-instance-vpnb] route-distinguisher 100:2
[PE1-vpn-instance-vpnb] vpn-target 100:2
[PE1-vpn-instance-vpnb] tnl-policy preferredte1
Exclusive tunnel configuration example
Network requirements
PE 1 has multiple tunnels to reach PE 2: one MPLS TE tunnel on the interface Tunnel 1, and one
LDP LSP tunnel.
One MPLS VPN
vpna
exists on PE 1. The VPN exclusively uses the MPLS TE tunnel.
Configuration procedure
1.
Create tunnel policy
preferredte1
, and configure tunnel 1 as the preferred tunnel.
<PE1> system-view
Содержание FlexNetwork 5510 HI Series
Страница 9: ...vii Remote support 460 Documentation feedback 460 Index 462 ...
Страница 318: ...309 Request list 0 Retransmit list 0 ...
Страница 363: ...354 Verify that CE 1 and CE 2 can ping each other Details not shown ...
Страница 446: ...437 The MCE has redistributed the OSPF routes of the two VPN instances into the EBGP routing tables of PE 1 ...