Copy pbnoscli(config)# flow swap
pbnoscli(config-flow-swap)# network-ports Ethernet1/1
pbnoscli(config-flow-swap)# tool-ports Ethernet50/1
pbnoscli(config-flow-swap)# rule 5 permit protocol 58 counters enable
pbnoscli(config-flow-swap)# rule 5 action override-to cpu
pbnoscli(config-flow-swap)# rule 6 permit match-all counters enable
pbnoscli(config-flow-swap)# rule 6 action overwrite dest-ip 10.10.10.1 dest-mac 1c:34:da:23:77:00 dest-port 4789
pbnoscli(config-flow-swap)# rule 7 permit match-all ipv6 counters enable
pbnoscli(config-flow-swap)# rule 7 action overwrite dest-mac 1c:34:da:23:77:00 dest-port 4789
pbnoscli(config-flow-swap)# end
pbnoscli#
Copy pbnoscli(config)# tunnel tunnel1
pbnoscli(config-tunnel-tunnel1)# ingress-interface Ethernet50/1
pbnoscli(config-tunnel-tunnel1)# strip-vxlan egress Ethernet41/1
pbnoscli(config-tunnel-tunnel1)# source-ip 10.10.10.1
pbnoscli(config-tunnel-tunnel1)# destination-ip 10.10.10.2
pbnoscli(config-tunnel-tunnel1)# vni 4098
pbnoscli(config-tunnel-tunnel1)# vlan-tagging disable
pbnoscli(config-tunnel-tunnel1)#
Flow-Based Egress Configuration
Copy pbnoscli(config)# flow egress
pbnoscli(config-flow-egress)# network-ports Ethernet42/1
pbnoscli(config-flow-egress)# tool-ports Ethernet64/1
pbnoscli(config-flow-egress)# rule 10 permit match-all counters enable
pbnoscli(config-flow-egress)# rule 20 permit match-all ipv6 counters enable
pbnoscli(config-flow-egress)# rule 20 action override-to Ethernet64/1
pbnoscli(config-flow-egress)# end
pbnoscli#
Show VXLAN Tunnel Command
You can display the vxlan tunnel configurations using this command.
Copy pbnoscli# show vxlan tunnel all
===============================================
VXLAN Tunnel - tunnel1
===============================================
Tunnel Port : Ethernet50/1
Source IP : 10.10.10.1
Destination IP : 10.10.10.2
Source MAC : 1c:34:da:23:77:00
VN-ID : 4098
Vlan Tagging : false
Tunnel Status : UP
pbnoscli#
Show Running-Config on OPB
Copy OPBNOS# show running-config
configure terminal
interface ethernet Ethernet41/1
mode vlan-aware
mtu 9100
speed 100000
forward-error-correction none
!
interface ethernet Ethernet42/1
mode vlan-aware
mtu 9100
speed 100000
forward-error-correction none
!
interface ethernet Ethernet1/1
mode vlan-aware
loopback-mode
mtu 9100
speed 100000
forward-error-correction none
!
interface ethernet Ethernet50/1
mode vlan-aware
mtu 9100
speed 100000
forward-error-correction none
!
interface ethernet Ethernet64/1
mode vlan-aware
mtu 9100
speed 100000
forward-error-correction none
!
hostname OPBNOS
tunnel tunnel_strip
ingress-interface Ethernet50/1
strip-vxlan egress Ethernet41/1
source-ip 10.10.10.1
destination-ip 10.10.10.2
vni 4098
vlan-tagging disable
!
flow in_vxlan
enable
network-ports Ethernet1/1
tool-ports Ethernet50/1
rule 5 permit protocol 58 counters enable
rule 5 action override-to cpu
rule 6 permit match-all counters enable
rule 6 action overwrite dest-ip 10.10.10.1 dest-mac 1c:34:da:23:77:00 dest-port 4789
rule 7 permit match-all ipv6 counters enable
rule 7 action overwrite dest-mac 1c:34:da:23:77:00 dest-port 4789
end
!
flow egress
enable
network-ports Ethernet42/1
tool-ports Ethernet64/1
rule 10 permit match-all counters enable
rule 20 permit match-all ipv6 counters enable
rule 20 action override-to Ethernet64/1
!
!
OPBNOS#