HP MSR2000/3000/4000 Router Series Layer 3 - IP Services Command Reference

331
Usage guidelines
The device looks up the routing table of the specified VPN to forward tunneled packets on the tunnel
interface.
To set the VPN for the tunnel source, use the ip binding vpn-instance command on the tunnel source
interface. The tunnel source and destination must belong to the same VPN. Otherwise, the tunnel
interface cannot go up.
Examples
# Specify the VPN instance vpn10 for the tunnel destination on the interface Tunnel 1.
<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] interface ethernet 1/1
[Sysname-Ethernet1/1] ip binding vpn-instance vpn10
[Sysname-Ethernet1/1] ip address 1.1.1.1 24
[Sysname-Ethernet1/1] quit
[Sysname] interface tunnel 1 mode gre
[Sysname-Tunnel1] source ethernet 1/1
[Sysname-Tunnel1] destination 1.1.1.2
[Sysname-Tunnel1] tunnel vpn-instance vpn10
Related commands
ip binding vpn-instance (MPLS Command Reference)