VPP Component



#If tap interfaces in vBRG are down, run the following commands

Bring up tap interfaces in BRG
root>vppctl tap delete tap-0 root>vppctl tap delete tap-1 root>/opt/bind_nic.sh root>/opt/set_nat.sh  root>vppctl show int



#Show dhcp client

Show DHCP client
root@zdcpe1cpe01brgemu01-201901181358:/opt# vppctl show dhcp client [0] GigabitEthernet0/4/0 state DHCP_BOUND addr 10.3.0.2/24 gw 10.3.0.1



#Show snat detail

Show snat detail
root@zdcpe1cpe01brgemu01-201901181358:/opt# vppctl show snat detail SNAT mode: dynamic translations enabled tap-1 in GigabitEthernet0/4/0 out tap-0 in SNAT pool addresses interfaces: GigabitEthernet0/4/0 10.3.0.2 tenant VRF independent 0 busy udp ports 1 busy tcp ports 0 busy icmp ports 1 users, 1 outside addresses, 1 active sessions, 1 static mappings Hash table in2out 1 active elements 1 free lists 0 linear search buckets Hash table out2in 1 active elements 1 free lists 0 linear search buckets Hash table worker-by-in 1 active elements 1 free lists 0 linear search buckets Hash table worker-by-out 0 active elements 0 free lists 0 linear search buckets Thread 0 (vpp_main at lcore 0): 2 list pool elements 192.168.4.20: 0 dynamic translations, 1 static translations static mappings: tcp local 192.168.4.20:8183 external 10.3.0.2:8183 vrf 0





# Show vxlan tunnel



# show vgw ip address used by vpp interface

show vgw interface ip address



#Show brg interface ip

show brg interface ip



#Show interface mac address

Show interface mac address



#show nat.service 

Show nat.service



 #service managed by systemd