Binds a router interface to a tunnel or bridge domain.
A router interface is not configured.
Bridge domain configuration mode
Tunnel interface configuration mode
Note
You cannot enable routing on a VPLS instance when the vc-mode option on the PW attached to the instance is set to raw.When routing is enabled on a VPLS instance that has only one PW and no local endpoints, the VPLS instance is brought to an active state; this state enables routing when the next hop is the PW endpoint.
The no form of the command removes the router interface configuration.
The following example shows how to attach a virtual router interface to a tunnel.
device# configure terminal device(config)# interface tunnel 5 device(config-intf-tunnel-5)# mode gre ip device(config-intf-tunnel-5)# source 10.1.1.10 device(config-intf-tunnel-5)# source ve 4 device(config-intf-tunnel-5)# destination 10.1.1.11 device(config-intf-tunnel-5)# router-interface ve 3
The following example shows how to bind a virtual router interface to a bridge domain.
device# configure terminal device(config)# bridge-domain 100 device(config-bridge-domain-100)# router-interface ve 100