VLAN Mode/Tag Actions
Last updated
Last updated
//Tool ports
configure terminal
interface ethernet Ethernet16/1
forward-error-correction rs
type tool
end//Network ports
configure terminal
interface ethernet Ethernet12/1
forward-error-correction rs
type network
endconfigure terminal
interface ethernet Ethernet12/1
type network
mode vlan-aware
endconfigure terminal
interface ethernet Ethernet16/1
egress-tagging enable
type tool
endflow flow1
network-ports Ethernet12/1
tool-ports Ethernet16/1
push-vlan-tag 300
rule 1 permit match-all counters enable
end// verify interface
pbnoscli# show interface npb Ethernet12/1
===================================
Interface : Ethernet12/1
===================================
Type : network
Mode : vlan-aware
Ingress-vlan : 14
Egress-tagging : disable
pbnoscli# show interface npb Ethernet16/1
===================================
Interface : Ethernet16/1
===================================
Mode : vlan-aware
Ingress-vlan : 18
Egress-tagging : enable
pbnoscli# // verify flow
pbnoscli# show flow all
===================================
Flow : flow1 (CLI)
===================================
Status : enable
Network-Port : Ethernet12/1
Tool-Port : Ethernet16/1
Push vlan : 300
Rule : 1
++++++++++++++++++++++++++++++++++
Action : permit
Counters : enable
Match-all : ipv4
pbnoscli# //Tool ports
configure terminal
interface ethernet Ethernet16/1
forward-error-correction rs
type tool
end//Network ports
configure terminal
interface ethernet Ethernet12/1
forward-error-correction rs
type network
endconfigure terminal
interface ethernet Ethernet12/1
type network
mode vlan-aware
endconfigure terminal
interface ethernet Ethernet16/1
type tool
endflow flow1
network-ports Ethernet12/1
tool-ports Ethernet16/1
pop-vlan enable
rule 1 permit match-all counters enable
end// verify interface
pbnoscli# show interface npb Ethernet12/1
===================================
Interface : Ethernet12/1
===================================
Type : network
Mode : vlan-aware
Ingress-vlan : 14
Egress-tagging : disable
pbnoscli# show interface npb Ethernet16/1
===================================
Interface : Ethernet16/1
===================================
Mode : vlan-aware
Ingress-vlan : 18
Egress-tagging : disable
pbnoscli#// verify flow
pbnoscli# show flow all
===================================
Flow : flow1 (CLI)
===================================
Status : enable
Network-Port : Ethernet12/1
Tool-Port : Ethernet16/1
Pop vlan : enable
Rule : 1
++++++++++++++++++++++++++++++++++
Action : permit
Counters : enable
Match-all : ipv4
pbnoscli#