Configuring Network Ports
Network ports are the source port(s) that can be specified in a flow for matching and filtering on one or more ingress traffic ports.
Reference
Command
network-ports <network-ports>
Description
Configure network or TAP ports
Parameters
network-ports—valid interfaces, delimited by (,)
Mode
FLOW
CLI Example
pbnoscli# configure terminal
pbnoscli(config)# flow flow01
pbnoscli(config-flow-flow01)# network-
network-ports Configure network or TAP ports
pbnoscli(config-flow-flow01)# network-ports Ethernet1/1,Ethernet2/1
pbnoscli(config-flow-flow01)#
Network port as Port-channel
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pbnoscli# conf t
pbnoscli(config)# flow flow02
pbnoscli(config-flow-flow02)# network-ports
<network_port> Add Network ports (delimited by ,)
pbnoscli(config-flow-flow02)# network-ports port-channel5
pbnoscli(config-flow-flow02)# end
pbnoscli#
You can verify the configuration by using the command(s) below:
pbnoscli# show flow flow01
===================================
Flow : flow01 (CLI)
===================================
Status : enable
Network-Port : Ethernet1/1,Ethernet2/1
pbnoscli#
pbnoscli# show flow flow02
===================================
Flow : flow02 (CLI)
===================================
Status : enable
Network-Port : port-channel5
pbnoscli#
pbnoscli# show running-config
configure terminal
!
interface ethernet Ethernet1/1
forward-error-correction rs
type network
!
interface ethernet Ethernet2/1
forward-error-correction rs
type network
!
interface mgmt
ip address 10.4.4.53/23 gateway 10.4.4.1
!
flow flow01
network-ports Ethernet0,Ethernet4
!
pbnoscli#
pbnoscli# show running-config
configure terminal
!
port-channel 5 ports Ethernet1/1,Ethernet2/1 lacp min-links 1
!
flow flow02
enable
network-ports port-channel5
pbnoscli#
Last updated