华为交换机常用命令
dis current-configuration configuration route-static | include x.x.x.x (使用该命令可以查询该IP相关信息)
display configuration candidate changes(查看未提交配置,适用于与CE系列交换机)
display ip interface brief(查看所有互联接口IP)
dis current-configuration configuration route-static(查看所有路由下一跳)
dis ip routing-table vpn-instance CTCC_xxxG xxx.xxx.xxx.xxx(查看该vpn里面的IP是否已经下发)
查看 dis cu | in NULL
黑洞
ip route-static 192.168.1.2 255.255.255.255 NULL0
释放
undo ip route-static 192.168.1.2 255.255.255.255 NULL0
local-aaa-user wrong-password命令用来使能本地帐号锁定功能并配置用户的重试时间间隔、连续输入错误密码的限制次数及帐号锁定时间。
undo local-aaa-user wrong-password命令用来去使能本地帐号锁定功能并恢复用户的重试时间间隔、连续输入错误密码的限制次数及帐号锁定时间为缺省值。
dis logbuffer(查询交换机日志)
dis int 10GE 1/0/10 | in CRC(华为交换机查询该端口是否有丢包)
undo local-user policy security-enhance(华为交换机设置登录无需修改密码)
undo local-aaa-user password policy administrator(华为S系列交换机删除首次登录修改密码提示)
display qos queue statistics interface (查看端口是否存在丢包)