//Before
pbnoscli(config)# flow flow01
pbnoscli(config-flow-flow01)# network-ports Ethernet4/1,Ethernet6/1,Ethernet63/1,Ethernet8/1
pbnoscli(config-flow-flow01)#
//Reconfiguring flow01
pbnoscli(config)# flow flow01
pbnoscli(config-flow-flow01)# network-ports Ethernet4/1,Ethernet6/1,Ethernet8/1
pbnoscli(config-flow-flow01)# //Reconfiguring port mode
pbnoscli# configure terminal
pbnoscli(config)# interface ethernet Ethernet63/1
pbnoscli(config-if)# mode vlan-aware
pbnoscli(config-if)# //Reconfiguring Ethernet63/1
pbnoscli# configure terminal
pbnoscli(config)# interface ethernet Ethernet63/1
pbnoscli(config-if)# type tool
pbnoscli(config-if)# //Deleting Flow
pbnoscli(config)# no flow flow01
//Deleting old Port-channel
pbnoscli(config)# no port-channel 1 ports
//Create a new Port-channel with the new port
pbnoscli(config)# port-channel 1 ports Ethernet20/1,...,Ethernet63/1
pbnoscli(config)# // Some code
pbnoscli(config)# flow flow01
pbnoscli(config-flow-flow01)# network-ports Ethernet4/1,Ethernet6/1,Ethernet8/1
pbnoscli(config-flow-flow01)# tool-ports port-channel1
pbnoscli(config-flow-flow01)#
//Adding rules to the flow
pbnoscli(config)# flow flow01
pbnoscli(config-flow-flow01)# rule 1 permit match-all counters enable
pbnoscli(config-flow-flow01)# rule 2 permit match-all ipv6 counters enable
pbnoscli(config-flow-flow01)# end//Before
pbnoscli(config)# flow flow01
pbnoscli(config-flow-flow01)# tool-ports port-channel1
pbnoscli(config-flow-flow01)#
//Adding the port to the existing set of tool ports
pbnoscli(config)# flow flow01
pbnoscli(config-flow-flow01)# tool-ports port-channel1,Ethernet64/1
pbnoscli(config-flow-flow01)#