华为H3C思科网络设备命令对照表

|--------|-------------|-------------------------------------------------------------------|-------------------------------------------------------------------|------------------------------------|
| 类别 | 命令功能 | 华为 | H3C | 思科 |
| 通用 | 取消关闭当前设置 | undo | undo | no |
| 通用 | 显示查看 | display | display | show |
| 通用 | 退回上级 | quit | quit | quit |
| 通用 | 设置设备名称 | sysname | sysname | hostname |
| 通用 | 到全局模式 | system-view | system-view | enable config terminal |
| 通用 | 删除文件 | delete | delete | delete |
| 通用 | 重启设备 | reboot | reboot | reboot |
| 通用 | 保存当前设置 | save | save | write |
| 通用 | 创建本地用户 | local-user | local-user | username |
| 通用 | 禁止关闭 | shutdown | shutdown | shutdown |
| 通用 | 查看系统版本启动时间 | display version | display version | display version |
| 通用 | 查看已保存的配置 | display saved-configuration | display saved-configuration | show startup-config |
| 通用 | 显示当前的配置 | display current-configuration | display current-configuration | show running-config |
| 通用 | 取消所有debug命令 | ctrl键+d键 | ctrl键+d键 | no debug all |
| 通用 | 删除配置 | reset saved-configuration | reset saved-configuration | erase startup-config |
| 通用 | 退到用户模式 | return | return | end |
| 通用 | 退出登录 | logout | logout | exit |
| 通用 | 指定信息中心配置信息 | info-center | info-center | logging |
| 通用 | 到用户接口模式 | user-interface | user-interface | line |
| 通用 | host名称和ip地址 | ip host | ip host | host |
| switch | 配置口令 | set authentication password simple | set authentication password simple | enable password |
| switch | 进入接口 | interface-type interface-number | interface type/number | interface type/number |
| switch | 进入vlan | interface vlan id | interface vlan id | interface vlan id |
| switch | 设置多端口组 | interface ethid to id | interface ethid to id | interface rang |
| switch | 配置特权口令 | super password | super password | enable esecret |
| switch | 配置接口状态 | duplex half/full/auto | duplex half/full/auto | duplex half/full/auto |
| switch | 配置端口速率 | speed 10/100/1000 | speed 10/100/1000 | speed 10/100/1000 |
| switch | 配置trunk | port link-type trunk | port link-type trunk | switchport mode trunk |
| switch | 添加vlan | vlan id | vlan id | vlan id |
| switch | 删除vlan | undo vlan id | undo vlan id | no vlan id |
| switch | 将端口加入vlan | port link-type access vlan id | port vlan id | switchport access vlan id |
| switch | 查看接口 | display interface | display interface | show interface |
| switch | 查看vlan | display vlan id | display vlan id | show vlan id |
| switch | 封装协议 | link-protocol | link-protocol | encapsulation |
| switch | 链路聚合 | port link-aggregation group id | port link-aggregation group id | channel-group id mode on |
| switch | 启动3层交换 | default开启 | default开启 | ip routing |
| switch | GVRP配置 | GVRP | GVRP | vtp domain |
| switch | 配置根网桥 | stp root primary | stp root primary | spanning-tree vlan id root primary |
| switch | 配置网桥优先级 | stp priority p-number | stp priority p-number | spanning-tree vlan id priority |
| switch | 查看stp配置 | display stp brief | display stp brief | show spanning-tree |
| router | 配置默认路由 | ip route-static 0.0.0.0 0.0.0.0 | ip route-static 0.0.0.0 0.0.0.0 | ip route 0.0.0.0 0.0.0.0 |
| router | 配置静态路由 | ip route-static ip mask nexthop | ip route-static ip mask nexthop | ip route ip mask nexthop |
| router | 查看路由表 | display ip routing-table | display ip routing-table | show ip route |
| router | 启用ospf | ospf enable | ospf enable | router ospf |
| router | 配置ospf区域 | ospf enable area id | ospf enable area id | network ip 反码 area id |
| router | 查看路由协议 | display ip protocol | display ip protocol | show ip protocol |
| router | 标准ACL | rule normal permit source ip | rule normal permint source ip | access-list id permint/deny ip |
| router | 配置hsrp组 | vrrp vrid number virtual-ip | vrrp vrid number virtual-ip | standby group-number ip virtual-ip |
| router | 配置hsrp优先级 | vrrp vrid number priority | vrrp vrid number priority | standy group-number priority |
| router | 配置hsrp强占权 | vrrp vrid number preempt-mode | vrrp vrid number preempt-mode | standby group-number preempt |
| router | 配置静态地址转换 | nat server global <ip> [port] inside <ip> port [protocol] | nat server global <ip> [port] inside <ip> port [protocol] | ip nat inside source static |

相关推荐
兰雪簪轩1 小时前
分布式通信平台测试报告
开发语言·网络·c++·网络协议·测试报告
fuyongliang1232 小时前
linux Nginx服务配置介绍,和配置流程
运维·服务器·网络
GEO_YScsn3 小时前
Rust 的生命周期与借用检查:安全性深度保障的基石
网络·算法
司徒小夜4 小时前
HTTP与HTTPS杂谈-HTTPS防御了什么
网络·http·https
嫩萝卜头儿5 小时前
虚拟地址空间:从概念到内存管理的底层逻辑
linux·服务器·网络
LJC_Superman6 小时前
Web与Nginx网站服务
运维·服务器·前端·网络·数据库·nginx·vim
烟雨书信6 小时前
安全运维和系统安全
运维·安全
固执的你7 小时前
虚拟化技术
网络·智能路由器
深盾科技7 小时前
鸿蒙ABC开发中的名称混淆与反射处理策略:安全与效率的平衡
安全·华为·harmonyos
张北涛9 小时前
交换机详细
运维·服务器·网络