tunnel mode gre l2 (Virtual Private Ethernet Service) (S-, K-Series)

Use this command to bind a tunnel bridge port (Virtual Private Ethernet Service) to a L2 tunnel.

Syntax

tunnel mode gre l2 tb-port-name
no tunnel mode gre l2 tb-port-name

Parameters

tb-port-name Specifies the name of the tunnel bridge port to bind to this L2 tunnel. Tunnel bridge ports are defined as tbp.0.x where x is the number of the tunnel bridge port.

Defaults

None.

Mode

Tunnel Interface Configuration command mode.

Usage

This command binds the specified tunnel bridge port to the routing tunnel interface with this L2 tunnel. L2 tunnel mode is specified within the L3 tunnel configuration.

Note

Note

Disable the tunnel interface using the shutdown command should you have a need to change the tunnel mode. After changing the tunnel mode, enable the tunnel interface using the no shutdown command. See no shutdown for details on enabling and disabling an interface.

Use the “no” option for this command to reset the tunnel mode to the default value of GRE. tunnel mode (S-, K-Series) for default tunnel mode information.

Examples

This example shows how to set:

  • IP address 10.10.10.1 as the GRE L2 tunnel source:
  • IP address 10.10.10.2 as the GRE L2 tunnel destination
  • Tunnel bridge port tbp.0.1 as the bound port for the GRE L2 tunnel 1
    System(rw)->configure
    System(rw-config)->interface tunnel 1
    System(rw-config-intf-tun.0.1)->tunnel source 10.10.10.1
    System(rw-config-intf-tun.0.1)->tunnel destination 10.10.10.2
    System(rw-config-intf-tun.0.1)->tunnel mode gre l2 tbp.0.1
    System(rw-config-intf-tun.0.1)->no shutdown
    System(rw-config-intf-tun.0.1)->