//Network ports
configure terminal
interface ethernet Ethernet12/1
forward-error-correction rs
type network
end//Tool ports
configure terminal
interface ethernet Ethernet16/1
forward-error-correction rs
type tool
endconfigure terminal
interface ethernet Ethernet12/1
ingress-vlan 512
endconfigure terminal
interface ethernet Ethernet16/1
egress-tagging enable
endconfigure terminal
flow flow1
network-ports Ethernet12/1
tool-ports Ethernet16/1
rule 1 permit match-all counters enable
end// verify interface
pbnoscli# show interface npb Ethernet12/1
===================================
Interface : Ethernet12/1
===================================
Mode : vlan-aware
Ingress-vlan : 512
Egress-tagging : disable
pbnoscli# show interface npb Ethernet16/1
===================================
Interface : Ethernet16/1
===================================
Mode : vlan-aware
Ingress-vlan : 18
Egress-tagging : enable// verify flow
pbnoscli# show flow summary
Flow-Name Rule-Id Status Counter-Value
=========================================================
flow1 1 Active 1154
pbnoscli#