锐捷交换机show running-config命令用来查看当前设备系统正在运行的配置信息

【命令功能】

show running-config命令用来查看当前设备系统正在运行的配置信息。

【命令格式】

show running-config [ interface interface-type interface-number | router { bgp | isis | ospf } ]

【参数说明】

interface interface-type interface-number:指定接口类型和接口编号。

router:查看指定路由协议配置信息。

bgp:查看BGP路由协议配置信息。

isis:查看IS-IS路由协议配置信息。

ospf:查看OSPF路由协议配置信息。

【命令模式】

除用户模式以外的所有模式

【缺省级别】

14

【使用指导】

【配置举例】

# 查看当前设备系统正在运行的配置信息。
Hostname> enable
Hostname# show running-config
 
Building configuration...
Current configuration: 31 bytes
 
version RGOS 12.6(master)
hostname Hostname
!
line console 0
line vty 0 32
 exec-timeout 0 0
 privilege level 15
 no login
!    
end
# 查看当前设备系统上GigabitEthernet 0/1接口下的配置信息。
Hostname> enable
Hostname# show running-config interface gigabitethernet 0/1
 
Building configuration...
Current configuration: 31 bytes
 
interface gigabitethernet 0/1
# 查看当前设备系统上OSPF路由协议配置。
Hostname> enable
Hostname# show running-config router ospf
router ospf 1124
 graceful-restart
!


© 版权声明
THE END