Configuring OPBNOS
configure terminal
interface mgmt
ip address 10.4.4.96/23 gateway 10.4.4.1
endconfigure terminal
interface ethernet Ethernet63/1
forward-error-correction rs
type network
end

configure terminal
interface mgmt
ip address 10.4.4.96/23 gateway 10.4.4.1
endconfigure terminal
interface ethernet Ethernet63/1
forward-error-correction rs
type network
end

configure terminal
interface ethernet Ethernet64/1
forward-error-correction rs
type tool
end// Traffic Truncation (IPv4 and IPv6)
configure terminal
interface ethernet Ethernet63/1
truncate 64
// Traffic Redirection (L2 and L3 Traffic)
configure terminal
flow flow01
network-ports Ethernet63/1
tool-ports Ethernet64/1
rule 1 permit vlan 100 counters enable
rule 2 permit vlan 512 counters enable
rule 3 permit src-ip 10.10.10.1/32 dest-ip 20.20.20.1/32 counters enable
rule 4 permit src-ip 213.22.1.2/32 dest-ip 112.23.42.2/32 protocol udp counters enable
enable
end// LoadBalance Traffic on Multiple Tool Ports
// Traffic Distribution (IPv4 and IPv6) and Symmetric Hashing
configure terminal
port-group 10 ports Ethernet6/1, Ethernet7/1
flow flow2
network-ports Ethernet63/1
tool-ports port-channel10
rule 1 permit src-ip 1.1.1.1/32 dest-ip 2.2.2.2/32 protocol tcp counters enable
rule 2 permit src-ip 2401::1 src-netmask f::f dest-ip 2401::2 dest-netmask f::f counters enable
enable
endpbnoscli# show flow summary
Flow-Name Rule-Id Status Counter-Value
=========================================================
flow01 2 Active 52562
flow01 1 Active 56289
pbnoscli#pbnoscli# show running-config
configure terminal
interface ethernet Ethernet248
forward-error-correction rs
type network
!
interface ethernet Ethernet252
forward-error-correction rs
type tool
!
interface mgmt
ip address 10.4.4.96/23 gateway 10.4.4.1
!
port-group 10 ports Ethernet6/1, Ethernet7/1
flow flow01
enable
network-ports Ethernet63/1
tool-ports port-group10
rule 1 permit src-ip 10.10.10.1/32 dest-ip 20.20.20.1/32 counters enable
rule 2 permit src-ip 213.22.1.2/32 dest-ip 112.23.42.2/32 protocol udp counters enable
!
pbnoscli#