L2-Circuit Tunnel
L2-Circuit tunnel is a type of tunnel that uses circuit-ID to encapsulate the traffic. These tunnels are bidirectional. For details about the L2-Circuit tunnels, refer to the “About Circuit-ID Tunnels” section in the GigaVUE Fabric Management Guide.
Configure L2-Circuit Tunnel for Encapsulation
Create an L2-Circuit tunnel for encapsulation using the tunnel command, which has the following syntax:
tunnel alias <alias> encap l2-circuit
   circuit-id <value> => value between 2 to 4000>
The following table describes the arguments for the L2-Circuit tunnel for encapsulation using the tunnel command:
| 
                                                                             Argument  | 
                                                                        
                                                                             Description  | 
                                                                    
| 
                                                                             tunnel alias <alias> encap l2-circuit  | 
                                                                        
                                                                             Specifies an alias for the circuit tunnel. The alias must be unique and can contain up to 128 characters. Aliases are case-sensitive. Also, specify the mode as encap and the type as l2-circuit. For example: (config) # tunnel alias <alias> encap l2-circuit  | 
                                                                    
| 
                                                                             circuit-id <value> => value between 2 to 4000>  | 
                                                                        
                                                                             Specifies the circuit-ID used to encapsulate the traffic. The valid range is 2–4000. For example: (config tunnel alias <alias> encap l2-circuit) # circuit-id 2000  | 
                                                                    
Note: Use this encap tunnel in the map configuration to encapsulate the traffic with l2-circuit-id tunnel and send the traffic to the circuit tool ports of the map.
Configure L2-Circuit Tunnel for Decapsulation
Create an L2-Circuit tunnel for decapsulation using the tunnel command, which has the following syntax:
tunnel alias <alias> decap l2-circuit
   circuit-id <value/range> // Range is value1,value2,value3
   attach <circuit-port-list / circuit-gigastream>
The following table describes the arguments for the L2-Circuit tunnel for decapsulation using the tunnel command:
| 
                                                                             Argument  | 
                                                                        
                                                                             Description  | 
                                                                    
| 
                                                                             tunnel alias <alias> decap l2-circuit  | 
                                                                        
                                                                             Specifies an alias for the circuit tunnel. The alias must be unique and can contain up to 128 characters. Aliases are case-sensitive. Also, specify the mode as decap and the type as l2-circuit. For example: (config) # tunnel alias <alias> decap l2-circuit  | 
                                                                    
| 
                                                                             circuit-id <value/range> // Range is value1,value2,value3  | 
                                                                        
                                                                             Specifies the circuit-ID used to encapsulate the traffic. The valid range is 2–4000. For example: (config tunnel alias <alias> decap l2-circuit) # circuit-id 100,200,300  | 
                                                                    
| 
                                                                             attach <circuit-port-list / circuit-gigastream>  | 
                                                                        
                                                                             Specifies the circuit ports or circuit GigaStream to be attached with the circuit tunnel. For example: (config tunnel alias <alias> decap l2-circuit) # attach <circuit-port-list>  | 
                                                                    



