华为交换机常用的查询命令(自己学习时统计的)

华为交换机常用的查询命令(自己学习时统计的)

display 简写dis

dis logbuffer 查询交换机日志

dis arp | include 10.0.0.1 查询该网段已使用的ip

dis arp | include 0/0/1 查询该端口下的ip

dis clock 查询时间

display version 查设备信息,具体型号*

display ip routing-table 查询路由表

display ip interface brief 查看接口与ip相关信息*

display interface brief 查看接口状态*

dis ip pool 查询ip地址池

dis elable 查询设备序列号

display power manage power-information 查看POE供电

display counters rate 查看接口的入方向或出方向流量速率

display counters error 查看错误报文的统计信息

display counters 查看接口流量的统计数据

display ip interface 查看接口和IP配置的相关信息

display ip interface description 显示接口与IP相关的简要信息

display current-configuration 查看交换机全局配置*(dis cu)

Display mac-address dynamic 查看交换机动态mac地址表*

clear configuration interface GigabitEthernet 0/0/x 删除某个端口的配置

若是在端口下:clear configuration this

1、掩码相关解释:

16 255.255.0.0

。。。。

24 255.255.255.0

25 255.255.255.128(2的六次方)

26 255.255.255.192(2的五次方)

27 255.255.255.224(2的四次方)

28 255.255.255.240(2的三次方)

29 255.255.255.248(2的二次方)

30 255.255.255.252(2的一次方)

31 255.255.255.254(1)

2、私有IP地址国际分类:

A类:10.0.0.0—10.255.255.255 255.0.0.0

B类:172.16.0.0----172.31.255.255 255.255.0.0

C类:192.168.0.0—192.168.255.255 255.255.255.0

相关推荐

Kay Jewelers
bt365无法登陆

Kay Jewelers

⏱️ 06-30 👁️ 6484
香港“占中”十问
体育投注英超和欧冠

香港“占中”十问

⏱️ 07-04 👁️ 6858
国债逆回购买入和卖出实操攻略,超详细!
bt365无法登陆

国债逆回购买入和卖出实操攻略,超详细!

⏱️ 07-03 👁️ 1760
宅基地审批备案表:农村土地管理的核心文件与应用流程概述
体育投注英超和欧冠

宅基地审批备案表:农村土地管理的核心文件与应用流程概述

⏱️ 06-28 👁️ 5053
激活分区
体育投注英超和欧冠

激活分区

⏱️ 07-02 👁️ 5615
融学的详细使用步骤介绍
bt365无法登陆

融学的详细使用步骤介绍

⏱️ 06-29 👁️ 1706