华为交换机常用查询命令

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

华为交换机常⽤查询命令<YZ-SW3>display interface Ethernet brief 显⽰接⼝的运⾏状态和相关信息
<YZ-SW3>display interface description 显⽰接⼝的描述信息
<YZ-SW3>display interface brief 显⽰接⼝状态和配置的简要信息
<YZ-SW3>display ip interface brief 显⽰接⼝与IP相关的简要信息
<YZ-SW3>display ip interface description 显⽰接⼝与IP相关的简要信息
<YZ-SW3>display interface 显⽰接⼝的统计信息
<YZ-SW3>display counters 查看接⼝流量的统计数据
<YZ-SW3>display counters error 查看错误报⽂的统计信息
<YZ-SW3>display counters rate 查看接⼝的⼊⽅向或出⽅向流量速率
<YZ-SW3>display ip interface 查看接⼝和IP配置的相关信息
查询所有配置
display current-configuration interface
查看逻辑接⼝ip地址配置概况:
display ip interface brief
查看所有接⼝概要信息
display interface brief
查看指定接⼝配置,例如g0/0/1:
display current-configuration interface g0/0/1
进⼊到指定接⼝下,再查看指定接⼝配置,例如g0/0/1:
interface g0/0/1
display this
如果交换机上配置了stp协议,可以查看接⼝⾓⾊等信息:
display stp brief
如果交换机上配置了vrrp协议,可以查看接⼝状态等信息:
display vrrp brief
查看哪些接⼝被划分到了哪个vlan:
display vlan
查看路由表,可以看到接⼝ip、路由等信息:
display ip routing-table。

相关文档
最新文档