zoukankan      html  css  js  c++  java
  • 华为交换机常用查询命令

    <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

  • 相关阅读:
    speeding up your web site 前端性能优化
    数据结构与算法学习链表
    SQL Server 无法生成 FRunCM 线程
    NoSql的优缺点
    Vs2012中开发Node.js应用
    利用GNUstep在windows下编写objectc
    Hadoop HDFS学习总结
    HBase Thrift 接口的一些使用问题及相关注意事项
    .NET深入解析LINQ框架
    【翻译】ASP.NET Web API是什么?
  • 原文地址:https://www.cnblogs.com/jingjiaming/p/14367463.html
Copyright © 2011-2022 走看看