H3C基础命令
H3C常用命令介绍
1.关闭后台日志输出
[yanshier]undo info-center enable
2.查看设备IOS版本信息,设备启动时间,接口卡信息
3.查看全局配置信息
4.查看设备所有接口的相关信息(包括IP,物理层,链路层协议状态等)
[yanshier]display ip interface brief
5.查看H3C设备硬盘空间大小,及存储数据信息
6.给一个接口配置IP地址
Enter system view, return user view with Ctrl+Z.
[yanshier]interface Eth0/0/0
[yanshier-Ethernet0/0/0]ip address 172.30.100.1 24 #这个也可以这样配置:[yanshier-Ethernet0/0/0]ip address 172.30.100.1 255.255.255.0
[yanshier-Ethernet0/0/0]undo shutdown
Info: Interface Ethernet0/0/0 is not shutdown.
[yanshier-Ethernet0/0/0]
7.查看路由表信息
8.查看历史命令记录
9.用户模式下配置系统时间
2017-04-10 00:26:42-08:00
Monday
Time Zone(China-Standard-Time) : UTC-08:00
10.命令行编辑功能

11.显示系统运行统计信息
12.查看IP路由表摘要信息
[yanshier]display ip routing-table
display ip routing-table 输出详解
13.查看符合指定目的地址的路由信息
[yanshier]display ip routing-table 127.0.0.1
14.查看路由表的统计信息
[yanshier]display ip routing-table statistics
15.查看OSPF配置信息
16.查看OSPF允许了哪些接口

浙公网安备 33010602011771号