一,路由器相关命令
1,关闭回环接口
[R]undo interface LoopBack 0 //关闭回环接口0
2,增加静态路由
[R]ip route-static 192.168.1.0 255.255.255.0 next hop
3,关闭路由器实时提示信息
[R] undo info-center enable
4,关闭常用接口,首先进入相关的接口,然后再用相关的命令关闭
[R2-Serial0/0/2]shut
5,显示路由器接口信息(简要)
[R]display interface brief
6,查看路由表
[R]display ip routing-table
7,华为下的路由跟踪命令
[R]tracert ip address
8,查看某个接口的信息
[R]display interface s0/0/2
9,查看路由器版本
[R]display version
10,查看路由器arp缓存信息
[R]display arp
11,查看端口的VLAN状态
[R]display port vlan
12,在路由器上添加和删除ACL的命令
[R-g0/0/1] traffic-filter outbound/inbound acl acl-number //应用acl命令
[R-g0/0/1] undo traffic-filter outbound/inbound //删除已经应用的acl策略
13,查看端口所属VLAN
[LSW] display port vlan
14,查看接口对应的IP地址信息简要信息
[LSW] display ip interface brief