[3SW1]display ip interface brief 查看IP接口的详细信息
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 3
The number of interface that is DOWN in Physical is 2
The number of interface that is UP in Protocol is 3
The number of interface that is DOWN in Protocol is 2
Interface IP Address/Mask Physical Protocol
MEth0/0/1 unassigned down down
NULL0 unassigned up up(s)
Vlanif1 unassigned down down
Vlanif10 192.168.1.254/24 up up 看这个,vlan虚接口IP也是网关地址
Vlanif20 192.168.2.254/24 up up 看这个,vlan虚接口IP也是网关地址