2024年6月10日发(作者:)

由于CE6800万兆交换机命令较多,不能一一列举,下面仅列

举部分常用的命令。

1. 系统管理相关命令:

- display version 查看当前系统软件版本信息

- display startup 查看系统启动配置

- display device 查看设备基本信息

- display clock 查看设备时间

- display alarm 查看设备告警信息

- display environment 查看设备环境信息

2. VLAN管理相关命令:

- display vlan 查看VLAN信息

- vlan batch ... 批量创建VLAN

- undo vlan ... 删除VLAN

- interface vlan ... 进入VLAN接口视图

- port link-type access 设置接口为access模式

- port default vlan ... 设置接口默认VLAN

3. 接口相关命令:

- display interface brief 查看接口基本信息

- display interface ... 查看接口详细信息

- interface ... 进入接口视图

- ip address ... 设置接口IP地址

- port link-type trunk 设置接口为trunk模式

- port trunk allow-pass ... 允许通过指定VLAN

4. 路由相关命令:

- display ip routing-table 查看路由表

- ip route-static ... 配置静态路由

- ospf ... 配置OSPF路由

- isis ... 配置ISIS路由

- bgp ... 配置BGP路由

5. 安全相关命令:

- display arp 查看ARP表

- arp anti-attack check ARP防攻击功能开启

- access-group ... 设置ACL

- mac-authentication 配置MAC地址认证