Displaying tunnel information
Execute the display command in any view:
Task
Display tunnel information.
Tunnel policy configuration example
Network requirements
PE 1 has three LSP tunnels to reach PE 2.
Two MPLS VPN instances, vpna and vpnb, exist on PE 1. Configure a tunnel policy on PE 1 to achieve
load sharing over the three LSP tunnels for each VPN instance.
Configuration procedure
Create a tunnel policy named lsp1 and specify the number of tunnels for load sharing as 3.
1.
<PE1> system-view
[PE1] tunnel-policy lsp1
[PE1-tunnel-policy-lsp1] select-seq lsp load-balance-number 3
[PE1-tunnel-policy-lsp1] quit
Configure MPLS VPN instances and apply the tunnel policy to the VPN instances:
2.
# Create MPLS VPN instance vpna, and apply tunnel policy lsp1 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 lsp1
[PE1-vpn-instance-vpna] quit
# Create MPLS VPN instance vpnb, and apply tunnel policy lsp1 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 lsp1
Command
display mpls tunnel { all | statistics | [ vpn-instance vpn-instance-name ]
destination { tunnel-ipv4-dest | tunnel-ipv6-dest } }
86