# Show vxlan tunnel
root@zdcpe1cpe01gw01-201812032302:/opt# vppctl show vxlan tunnel [0] src 10.5.0.104 dst 10.5.0.21 vni 104 sw_if_index 4 encap_fib_index 0 fib_entry_index 9 decap_next l2
# show vgw ip address used by vpp interface
root@zdcpe1cpe01gw01-201812032302:/opt# vppctl show int addr GigabitEthernet0/4/0 (up): 10.5.0.104/24 GigabitEthernet0/6/0 (up): 10.2.0.4/24 local0 (dn): loop0 (up): l2 bridge bd_id 10 bvi shg 2 192.168.1.254/24 tap-0 (up): l2 bridge bd_id 10 shg 0 vxlan_tunnel0 (up): l2 bridge bd_id 10 shg 1
#Show brg ip
#Show interface mac address
#service managed by systemd
root@zdcpe1cpe01gw01-201812032302:/opt# systemctl | grep dhcp isc-dhcp-server.service loaded active running ISC DHCP IPv4 server root@zdcpe1cpe01gw01-201812032302:/opt# systemctl status isc-dhcp-server.service ? isc-dhcp-server.service - ISC DHCP IPv4 server Loaded: loaded (/etc/systemd/system/isc-dhcp-server.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2018-12-03 23:07:48 UTC; 5h 8min ago Docs: man:dhcpd(8) Main PID: 1477 (dhcpd) Tasks: 1 Memory: 9.1M CPU: 683ms CGroup: /system.slice/isc-dhcp-server.service ??1477 dhcpd -user dhcpd -group dhcpd -f -4 -pf /run/dhcp-server/dhcpd.pid -cf /etc/dhcp/dhcpd.conf Dec 04 04:16:07 zdcpe1cpe01gw01-201812032302 dhcpd[1477]: DHCPREQUEST for 192.168.1.2 from 86:65:56:0c:1b:34 via lstack Dec 04 04:16:08 zdcpe1cpe01gw01-201812032302 dhcpd[1477]: ns1.example.org: host unknown. Dec 04 04:16:08 zdcpe1cpe01gw01-201812032302 dhcpd[1477]: ns2.example.org: host unknown. Dec 04 04:16:08 zdcpe1cpe01gw01-201812032302 dhcpd[1477]: DHCPACK on 192.168.1.2 to 86:65:56:0c:1b:34 (zdcpe1cpe01brgemu01-201812011854) via lstack Dec 04 04:16:26 zdcpe1cpe01gw01-201812032302 dhcpd[1477]: reuse_lease: lease age 19 (secs) under 25% threshold, reply with unaltered, existing lease Dec 04 04:16:26 zdcpe1cpe01gw01-201812032302 dhcpd[1477]: DHCPREQUEST for 192.168.1.2 from 86:65:56:0c:1b:34 (zdcpe1cpe01brgemu01-201812011854) via lstack Dec 04 04:16:26 zdcpe1cpe01gw01-201812032302 dhcpd[1477]: DHCPACK on 192.168.1.2 to 86:65:56:0c:1b:34 via lstack Dec 04 04:16:29 zdcpe1cpe01gw01-201812032302 dhcpd[1477]: reuse_lease: lease age 22 (secs) under 25% threshold, reply with unaltered, existing lease Dec 04 04:16:29 zdcpe1cpe01gw01-201812032302 dhcpd[1477]: DHCPREQUEST for 192.168.1.2 from 86:65:56:0c:1b:34 via lstack Dec 04 04:16:29 zdcpe1cpe01gw01-201812032302 dhcpd[1477]: DHCPACK on 192.168.1.2 to 86:65:56:0c:1b:34 via lstack