显示Running-Config
句法
显示running-config [ ] [all] [vsx-peer]
描述
显示在交换机上运行的当前非默认配置。没有显示用户信息。
命令上下文
经理 (#
)
参数
-
-
指定功能的名称。有关功能名称列表,请输入
显示Running-Config
命令,然后是一个空间,然后是问号(?)。当。。。的时候JSON
使用参数,VSX-PER
参数不适用。 -
全部
-
显示当前运行配置的所有默认值。
-
[VSX-PER]
-
显示来自VSX对等开关的输出。如果开关没有VSX配置或ISL降低,则不会显示VSX对等开关的输出。该参数可在支持VSX的开关上可用。
权威
管理员或本地用户组成员具有此命令的执行权。
例子
显示当前的运行配置:
开关>显示Running-Config当前配置:!!版本arubaos-cx 10.0x.xxxx!LLDP启用LineCard-Module LC1 Part-number JL363A VRF Green!呢呢呢呢呢AAA身份验证登录默认本地AAA授权命令默认无!呢 ! ! router ospf 1 vrf green area 0.0.0.0 router pim vrf green enable rp-address 30.0.0.4 vlan 1 no shutdown vlan 20 no shutdown vlan 30 no shutdown interface 1/1/1 no shutdown no routing vlan access 30 interface 1/1/32 no shutdown no routing vlan access 20 interface bridge_normal-1 no shutdown interface bridge_normal-2 no shutdown interface vlan20 no shutdown vrf attach green ip address 20.0.0.44/24 ip ospf 1 area 0.0.0.0 ip pim-sparse enable interface vlan30 no shutdown vrf attach green ip address 30.0.0.44/24 ip ospf 1 area 0.0.0.0 ip pim-sparse enable ip pim-sparse hello-interval 100
以JSON格式显示当前的运行配置:
开关>显示Running-Config JsonJSON中的running-configuration:{“ Monitoring_Policy_Script”:{“ Systems_Resource_monitor_mm1.1.1.0”:{“ Monitoring_Policy_Instance”:{“ System_Resource_monitor_monitor_mm1.0/system_res_res_res_res_res_monitor_monoritor_mmem_mmm1.1.mmonefn namefore_mmonef name.0.deartey.deault name.deault” name.deault name.deault':{”原点“:“系统”,“ parameters_values”:{“ long_term_high_high_threshold”:“ 70”,“ long_term_term_term_normal_threshold”:“ 60”,“ long_term_term_time_period”:“ long_term_time_period”:“ 480“,“ edim_term_time_period”:“ 120”,“ short_term_high_high_threshold”:“ 90”,“ short_term_term_normal_threshold”:“ 80”,“ short_term_term_time_period”:“ 5”}}}}}},... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
显示当前的运行配置,没有默认值:
Switch(config)#show running-config当前配置:!!呢呢呢呢呢呢呢呢 vlan 1 switch(config)# show running-config all Current configuration: ! !Version ArubaOS-CX Virtual.10.04.0000-6523-gbb15c03~dirty led locator on ! ! ! ! ! ! ! ! ! vlan 1 switch(config)#
显示具有默认值的当前运行配置:
Switch(config)#SNMP-Server VRF MGMT Switch(config)#显示Running-Config当前配置:!!呢呢呢SNMP服务器VRF MGMT!呢呢呢呢 vlan 1 switch(config)# switch(config)# switch(config)# show running-config all Current configuration: ! !Version ArubaOS-CX Virtual.10.04.0000-6523-gbb15c03~dirty led locator on ! ! ! ! snmp-server vrf mgmt snmp-server agent-port 161 snmp-server community public ! ! ! ! ! vlan 1 switch(config)#