当前位置: 首页 > news >正文

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

类别命令功能华为H3C思科
通用取消关闭当前设置undoundono
通用显示查看displaydisplayshow
通用退回上级quitquitquit
通用设置设备名称sysnamesysnamehostname
通用到全局模式system-viewsystem-viewenable config terminal
通用删除文件deletedeletedelete
通用重启设备rebootrebootreboot
通用保存当前设置savesavewrite
通用创建本地用户local-userlocal-userusername
通用禁止关闭shutdownshutdownshutdown
通用查看系统版本启动时间display versiondisplay versiondisplay version
通用查看已保存的配置display saved-configurationdisplay saved-configurationshow startup-config
通用显示当前的配置display current-configurationdisplay current-configurationshow running-config
通用取消所有debug命令ctrl键+d键ctrl键+d键no debug all
通用删除配置reset saved-configurationreset saved-configurationerase startup-config
通用退到用户模式returnreturnend
通用退出登录logoutlogoutexit
通用指定信息中心配置信息info-centerinfo-centerlogging
通用到用户接口模式user-interfaceuser-interfaceline
通用host名称和ip地址ip hostip hosthost
switch配置口令set authentication password simpleset authentication password simpleenable password
switch进入接口interface-type interface-numberinterface type/numberinterface type/number
switch进入vlaninterface vlan idinterface vlan idinterface vlan id
switch设置多端口组interface ethid to idinterface ethid to idinterface rang
switch配置特权口令super passwordsuper passwordenable esecret
switch配置接口状态duplex half/full/autoduplex half/full/autoduplex half/full/auto
switch配置端口速率speed 10/100/1000speed 10/100/1000speed 10/100/1000
switch配置trunkport link-type trunkport link-type trunkswitchport mode trunk
switch添加vlanvlan idvlan idvlan id
switch删除vlanundo vlan idundo vlan idno vlan id
switch将端口加入vlanport link-type access vlan idport vlan idswitchport access vlan id
switch查看接口display interfacedisplay interfaceshow interface
switch查看vlandisplay vlan iddisplay vlan idshow vlan id
switch封装协议link-protocollink-protocolencapsulation
switch链路聚合port link-aggregation group idport link-aggregation group idchannel-group id mode on
switch启动3层交换default开启default开启ip routing
switchGVRP配置GVRPGVRPvtp domain
switch配置根网桥stp root primarystp root primaryspanning-tree vlan id root primary
switch配置网桥优先级stp priority p-numberstp priority p-numberspanning-tree vlan id priority
switch查看stp配置display stp briefdisplay stp briefshow spanning-tree
router配置默认路由ip route-static 0.0.0.0 0.0.0.0ip route-static 0.0.0.0 0.0.0.0ip route 0.0.0.0 0.0.0.0
router配置静态路由

ip route-static ip mask nexthop

ip route-static ip mask nexthopip route ip mask nexthop
router查看路由表display ip routing-tabledisplay ip routing-tableshow ip route
router启用ospfospf enableospf enablerouter ospf
router配置ospf区域ospf enable area idospf enable area idnetwork ip 反码 area id
router查看路由协议

display ip protocol

display ip protocol

show ip protocol

router标准ACLrule normal permit source iprule normal permint source ipaccess-list id permint/deny ip
router配置hsrp组vrrp vrid number virtual-ipvrrp vrid number virtual-ip

standby group-number ip virtual-ip

router配置hsrp优先级vrrp vrid number priorityvrrp vrid number priority

standy group-number priority

router配置hsrp强占权

vrrp vrid number preempt-mode

vrrp vrid number preempt-modestandby 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

http://www.lryc.cn/news/96722.html

相关文章:

  • 产品需求、系统架构设计经验篇
  • 关于websocket的几点注意事项
  • go学习 4、复合数据类型
  • Rust: Vec类型的into_boxed_slice()方法
  • Python - Opencv + pyzbar实时摄像头识别二维码
  • 网络安全(黑客)就业分析指导
  • MySQL 主从复制的认识 2023.07.23
  • elasticsearch查询操作(API方式)
  • Java版企业工程项目管理系统源码+java版本+项目模块功能清单+spring cloud +spring boot
  • 理解Android中不同的Context
  • linux判断端口是否占用(好用)
  • springboot 自定义注解 ,实现接口限流(计数器限流)【强行喂饭版】
  • istio安装部署总结
  • Linux操作系统~必考面试题⑨
  • 国标GB28181协议视频平台EasyCVR修改录像计划等待时间较长的原因排查与解决
  • 线性代数(主题篇):第三章:向量组 、第四章:方程组
  • 大数据课程C4——ZooKeeper结构运行机制
  • 解决伪类元素‘after‘或者‘before‘遮挡父元素,导致鼠标移入或点击等事件不生效的问题
  • 电动汽车市场的减速,正在让小鹏汽车付出代价
  • Yarn上Streaming流自动调节资源设计
  • 微信小程序的个人博客--【小程序花园】
  • 智慧园区楼宇合集 | 图扑数字孪生管控系统
  • 【代码随想录day21】二叉搜索树中的众数
  • 【防火墙】iptables防火墙(一)
  • 微信小程序之富文本特殊处理
  • react-draft-wysiwyg富文本编辑器
  • P5721 【深基4.例6】数字直角三角形
  • 【电子设计大赛】2023 年全国大学生电子设计竞赛 仪器和主要元器件清单
  • (八九)如何与InfluxDB交互InfluxDB HTTP API
  • excel 生成sql技巧