Configuring Push/Pop VLAN

VLAN aware mode provides APB administrators with the ability to match and modify packets in the flow before forwarding them to the tool port(s).

You can configure the APB to modify the flow as below:

  • Push VLAN - Push a new VLAN Tag onto the egress traffic.

  • Pop VLAN - Pop(remove) the VLAN Tag from the egress traffic.

Push/Pop VLAN

Reference

Command

push-vlan-tag <vid>

Description

push VLAN to traffic matching the rules configured in the map

Parameters

vlanid—within 1 to 4094

Mode

flow

Example

Untagged traffic becomes double-tagged when using push-VLAN or override-push-VLAN configurations Here the packets flowing through network port Ethernet1/1 will have 2 802.1Q tags VLAN 2, VLAN 1002 VLAN 2: The network port vlan (Ethernet1/1 -> Ethernet0) -> vlan (0+2) -> vlan 2 VLAN 1002: push-vlan tag

You can verify the configuration by using the command(s) below:

Reference

Command

pop-vlan

Description

pop Vlan Tag from ingress packets received

Parameters

disable/enable

Mode

flow

Example

You can verify the configuration by using the command(s) below:

Last updated