set vlans dot1q-tunneling egress then action
To configure tunneling for egress traffic, use the set vlans dot1q-tunneling egress then action command in L2/L3 configuration mode. If a packet can pass through the port, it needs to be modified by the action.
Command Syntax
set vlans dot1q-tunneling egress tunnel-id then action { change | none | one | two }
Parameters
tunnel-id | Tunnel identifier. |
change | Change the service VLAN tag. |
none | Strip both the customer and service VLAN tags. |
one | Retain the customer VLAN tag. |
two | Retain both the customer and service VLAN tag. |
Examples
This example explains how to configure the tunneling t5. If the packet can pass the port, the packet does not need to be changed.
- The service and customer tag frame of the packet need not to be removed
admin@XorPlus# set vlans dot1q-tunneling egress t5 then action none
- The outside service tag frame of the packet need to be removed
admin@XorPlus# set vlans dot1q-tunneling egress t5 then action one
- The service and customer tag frame of the packet need to be removed
admin@XorPlus# set vlans dot1q-tunneling egress t5 then action two
- The service tag frame of the packet need to be replaced by 200
admin@XorPlus# set vlans dot1q-tunneling egress t5 then action change admin@XorPlus# set vlans dot1q-tunneling egress t5 then service-vlan 200 admin@XorPlus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.