系统学习 网络工程学习路径:从分层模型与 VLAN,到路由、安全策略和设备运维

锐捷 RGOS 的基本模式、常用诊断命令与配置保存

适用场景

核心概念 / 常用命令或配置

RGOS 的 CLI 结构接近 Cisco:用户模式 >、特权模式 #、全局配置 (config)#、接口配置 (config-if)#。enable 提权,configure terminal 进入配置,end 回到特权模式。查看用 show,删除配置多用 no。RGOS 不同版本和产品线(交换机、路由器、无线)命令存在差异,以设备版本为准。

reload 会中断转发,恢复出厂或清空启动配置的命令随型号和版本不同,执行前必须备份 show running-config 并确认 Console 可用。保存配置用 write 或 copy running-config startup-config;回滚通常是恢复备份配置或重新加载原启动配置。

enable
configure terminal
hostname EDGE-1
interface GigabitEthernet 0/1
 ip address 192.0.2.1 255.255.255.0
 no shutdown
end
show running-config
show startup-config
show version
show ip interface brief
show interfaces status
show ip route
show arp
show mac-address-table
show logging
terminal length 0
show running-config | include ip route
show interfaces GigabitEthernet 0/1
show mac-address-table address 0011.2233.4455
copy running-config startup-config

易错点

相关条目

参考链接

读完自测

合上页面,先回答,再展开对照。

  1. RGOS 保存运行配置常用哪两个命令?
  2. 为什么不能直接把 Cisco 配置粘贴到 RGOS 设备?
  3. 远程执行 reload 前应做哪些准备?
答案
  1. write 或 copy running-config startup-config,具体支持情况以设备版本为准。
  2. RGOS 只是风格接近 Cisco,命令、接口命名和版本差异可能导致配置被拒绝或行为不同。
  3. 先保存配置、备份运行配置、确认 Console 或带外通道,并评估业务中断窗口。
微信小程序码:扫码打开命令速查小程序

小程序版

微信扫码,随时查命令