show (其他指令) commands
Show是最常用的指令,其他常用的show command包含下列:
$ show arp
admin@sonic:~$ show arp Address MacAddress Iface Vlan --------- ------------ ------- ------ Total number of entries 0 admin@sonic:~$
admin@sonic:~$ show arp Error fetching Neighbors: /bin/sh: /usr/sbin/arp: not found admin@sonic:~$
or
$ cat /proc/net/arp
$ sudo config vlan add 1200
$ sudo config vlan member add 1200 Ethernet1
$ sudo config vlan member add 1200 Ethernet9 -u
$ sudo config vlan member add 1200 Ethernet8
$ show vlan config
$ show lldp table
$ show lldp neighbors
$ show lldp neighbors eth0