Перейти к основному содержимому

show running-config

Для просмотра актуальной версии конфигурации используется команда show running-config.

show running-config[interfaceinterface-id-list**| detailed**| brief]

Параметры
  • interfaceinterface-id-list - Specifies a list of interface IDs. The interface IDs can be one of the following types: Ethernet port, port-channel or VLAN.

  • detailed - Displays configuration with SSL and SSH keys.

  • brief - Displays configuration without SSL and SSH keys.

Конфигурация по умолчанию

All interfaces are displayed. If the detailedor briefkeyword is not specified, the briefkeyword is applied.

Режим использования

Привилегированный режим

Пример
FCS#show running-config 
config-file-header
FCS
v3.1.0.39 / RLINUX_930_214
CLI v1.0
@
!
unit-type-control-start
unit-type unit 1 network gi uplink te
unit-type unit 2 network gi uplink te
unit-type unit 3 network gi uplink te
unit-type unit 4 network gi uplink te
unit-type unit 5 network gi uplink te
unit-type unit 6 network gi uplink te
unit-type unit 7 network gi uplink te
unit-type unit 8 network gi uplink te
unit-type-control-end
!
time-range PORT-WORKING-TIME
periodic list 06:00 to 20:00 all
exit
vlan database
vlan 2-3,6,10,13
exit
hostname FCS
clock timezone MOS +3
sntp server ntp1.vniiftri.ru poll
sntp server ntp2.vniiftri.ru poll
sntp server ntp3.vniiftri.ru poll
!
interface vlan 10
name VLANTEN
!
interface GigabitEthernet1/0/1
authentication open
spanning-tree portfast
!
interface GigabitEthernet1/0/3
spanning-tree portfast
switchport access vlan 2
!
interface GigabitEthernet1/0/4
spanning-tree portfast
switchport access vlan 2
!
interface GigabitEthernet1/0/5
switchport access vlan 2
!
interface GigabitEthernet1/0/6
switchport access vlan 2
!
interface GigabitEthernet1/0/7
switchport access vlan 2
!
interface GigabitEthernet1/0/8
switchport access vlan 2
!
interface GigabitEthernet1/0/9
spanning-tree portfast
switchport access vlan 2
!
interface GigabitEthernet1/0/10
spanning-tree portfast
switchport access vlan 2
!
interface GigabitEthernet1/0/11
switchport access vlan 2
!
interface GigabitEthernet1/0/12
port security mode secure permanent
port security discard-shutdown
!
interface GigabitEthernet1/0/24
spanning-tree portfast
!
exit