类别 | 命令功能 | 华为 | 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文章来源:https://www.toymoban.com/news/detail-613561.html |
router | 配置hsrp强占权 | vrrp vrid number preempt-mode文章来源地址https://www.toymoban.com/news/detail-613561.html |
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 |
到了这里,关于华为H3C思科网络设备命令对照表的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!