You can configure a rule to override the configured flow action for egress ports to push and/or pop VLAN. You can also override tool port(s) for egress traffic.
override-action is per-rule and will require override-action for every rule in the flow
Reference
Command
rule 1 action
override-pop-vlan Override action to pop the VLAN
override-push-vlan-tag Override action to push VLAN Tag
override-to Override to configure a rule specific network tool or analyzer ports
Description
Rule actions
Parameters
● ruleid: It should be in the range 1 to 6000
● override-to: override egress ports
● override-push-vlan: override MAP push VLAN
● override-pop-vlan: override pop VLAN
Mode
FLOW
Example
pbnoscli# configure terminal
pbnoscli(config)# flow flow01
pbnoscli(config-flow-flow01)# network-ports Ethernet4
pbnoscli(config-flow-flow01)# tool-ports Ethernet8
pbnoscli(config-flow-flow01)# rule 1
action Add rule specific action
deny Deny traffic
permit Permit traffic
pbnoscli(config-flow-flow01)# rule 1 action
<cr>
override-pop-vlan Override action to pop the VLAN
override-push-vlan-tag Override action to push VLAN Tag
override-to Override to configure a rule specific network tool or analyzer ports
pbnoscli(config-flow-flow01)# rule 1 action override-to Ethernet12
You can verify the configuration by using the command(s) below:
pbnoscli# show flow all
===================================
Flow : flow01 (CLI)
===================================
Status : enable
Network-Port : Ethernet4/1
Tool-Port : Ethernet8/1
Rule : 1
++++++++++++++++++++++++++++++++++
Action : permit
Source IP : 10.10.0.0
Source Mask : 255.255.255.0
Destination IP : 20.0.20.0
Destination Mask : 255.255.255.0
Counters : enable
Override To : Ethernet12/1
pbnoscli#