R3303-HP HSR6800 Routers Layer 3 - IP Services Command Reference

Table Of Contents
331
Usage guidelines
If you use the tunnel vpn-instance command to specify the VPN to which the tunnel destination address
belongs, the device searches the routing table of the specified VPN instance to forward tunneled packets.
You can use the ip binding vpn-instance command on the tunnel's source interface to specify the VPN to
which the tunnel source address belongs. The tunnel source address and the tunnel destination address
must belong to the same VPN or both belong to the public network.
For more information about the ip binding vpn-instance command, see MPLS Command Reference.
Examples
# On tunnel interface Tunnel0, specify that the tunneled packets belong to the VPN vpn10.
<Sysname> system-view
[Sysname] ip vpn-instance vpn10
[Sysname-vpn-instance-vpn10] route-distinguisher 1:1
[Sysname-vpn-instance-vpn10] vpn-target 1:1
[Sysname-vpn-instance-vpn10] quit
[Sysname] int gigabitethernet 3/0/1
[Sysname-GigabitEthernet3/0/1] ip binding vpn-instance vpn10
[Sysname-GigabitEthernet3/0/1] ip address 1.1.1.1 24
[Sysname-GigabitEthernet3/0/1] quit
[Sysname] interface tunnel 0
[Sysname-Tunnel0] tunnel-protocol dvpn udp
[Sysname-Tunnel0] source gigabitethernet 3/0/1
[Sysname-Tunnel0] tunnel vpn-instance vpn10
vam client
Use vam client to bind a VAM client to a DVPN tunnel interface.
Use undo vam client to remove the binding.
Syntax
vam client client-name
undo vam client
Default
A DVPN tunnel interface is bound with no VAM client.
Views
Tunnel interface view
Default command level
2: System level
Parameters
client-name: Name of an existing VAM client, a case-insensitive string of 1 to 31 characters.
Usage guidelines
A DVPN tunnel interface can be bound with only one VAM client.