A tunnel policy is created.
Step 3
Run:
tunnel binding
destination
dest-ip-address
te
tunnel
interface-number
[
down-
switch
]
The peer address is bound with the tunnel policy. The VPN data from the local end are transmitted
through the bound tunnel to the destination address.
If a TE tunnel is bound with the destination address, the VPN data is only transmitted to the
destination address through the bound tunnel. Note the following:
l
Tunnel policy can be either in select-sequence mode or tunnel binding mode. Therefore, the
tunnel policy configured with the
tunnel binding
command cannot be then configured with
the
tunnel select-seq
command.
l
One
dest-ip-address
of a PE device can only be bound with one tunnel. If multiple tunnels
are bound, the last binding overwrites the previous one.
l
If the PE has multiple peers, a tunnel policy can be configured with multiple
tunnel
binding
commands with different
dest-ip-address.
----End
1.7.4 Applying the Tunnel Policy to the Martini L2VPN
After a tunnel binding policy is applied to an L2VPN, the VPN data is transmitted along the
bound tunnel.
Context
Different VPN services to the same destination on a PE must apply different tunnel policies, and
be bound with different TE tunnels.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
interface
interface-type
interface-number
The AC interface view is displayed.
Step 3
Run:
mpls l2vc
ip-address
vc-id
tunnel-policy
policy-name
The tunnel policy is applied to the VC.
----End
1.7.5 Checking the Configuration
After configuring L2VPN main tunnel binding, you can view information about the bound tunnel
policy, and interfaces of the bound tunnel.
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN
1 VPN Tunnel Management Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
26