Layer 2 Generic Routing Encapsulation (L2GRE) Tunnel
L2GRE tunnels are used to route traffic from any remote device to a GigaVUE-H Series or GigaVUE-TA Series device over the internet. For details about the L2GRE tunnels, refer to the "About Layer 2 Generic Routing Encapsulation (L2GRE) Tunnels" section in the GigaVUE-FM User's Guide.
Create a L2GRE tunnel for decapsulation using the tunnel command, which has the following syntax:
tunnel alias <alias> decap l2gre
comment <description>
attach <ip-interface-name>
exit
The following table describes the arguments for the L2GRE tunnel for decapsulation using the tunnel command:
Argument |
Description |
tunnel alias <alias> decap l2gre |
Specifies an alias for the L2GRE tunnel. The alias must be unique and can contain up to 128 characters. Aliases are case-sensitive. For example: (config) # tunnel alias <alias> decap l2gre |
comment <description> |
Specifies a description for the L2GRE tunnel. For example: (config tunnel alias <alias> decap l2gre) # comment <description> |
attach <ip-interface-name> |
Specifies the IP interface to which you have attached the circuit port you have configured on the device. For example: (config tunnel alias <alias> decap l2gre) # attach <ip-interface-name> |
exit |
Exits the L2GRE tunnel configuration. For example: (config tunnel alias <alias> decap l2gre) # exit |
Note: Use this decap tunnel in the map configuration to decapsulate the traffic with L2GRE tunnel and send the traffic to the required tool ports of the map.
Create a L2GRE group using the tunnel command, which has the following syntax:
tunnel l2gre [box-id <id|all>] l2gre-group alias <l2gre-group-name>
add <l2gre-id-list>
comment <description>
delete <l2gre-id-list>
exit
The following table describes the arguments for configuring the L2GRE group using the tunnel command:
Argument |
Description |
tunnel l2gre [box-id <id|all>] l2gre-group alias |
Specifies the box identifier in which the L2GRE IDs will be added. Also, specifies an alias for the L2GRE group. The alias must be unique and can contain up to 128 characters. Aliases are case-sensitive. For example: (config) # [no] tunnel l2gre [box-id <id|all>] l2gre-group alias <l2gre-group-name> |
add <l2gre-id-list> |
Adds the L2GRE IDs for the device. The range is 1 to 4294967295. For example: (config tunnel l2gre [box-id <id|all>] l2gre-group alias <l2gre-group-name>) #add <l2gre-id-list> |
comment <description> |
Specifies the description for the L2GRE group. For example: (config tunnel l2gre [box-id <id|all>] l2gre-group alias <l2gre-group-name>) #comment <description> |
delete <l2gre-id-list> |
Deletes the specific L2GRE group. For example: (config tunnel l2gre [box-id <id|all>] l2gre-group alias <l2gre-group-name>) #delete <l2gre-id-list> |
exit |
Exits the L2GRE group configuration. For example: (config tunnel l2gre [box-id <id|all>] l2gre-group alias <l2gre-group-name>) #exit |