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

  • 相关阅读:
    Openvswitch手册(6): QoS
    [转]linux VLAN配置(vconfig)
    [转]Understand QoS at OpenSwitch
    Openvswitch手册(5): VLAN and Bonding
    Openvswitch手册(4): Mirror
    Openvswitch手册(3): sFlow, netFlow
    Mysql主从复制(重置版)
    Mysql备份工具Xtrabackup
    Mysql用户管理
    Mysql备份工具mysqldump和mysqlhotcopy
  • 原文地址:https://www.cnblogs.com/jingjiaming/p/14367463.html
Copyright © 2011-2022 走看看