show
running-config
show running-config
[
interface
[
ethernet
unit/slot/port
[
to
unit/slot/port
|
[
ethernet
unit/slot/port
to
unit/slot/port
|ethernet
unit/slot/port
]
[
lag
lag-idto
lag-id
|
lag
lag-id
]...
]
|
loopback
loopback-port-num
|
management
mgmt-port-num
|
tunnel
tunnel-port-num
|
ve
ve-port-num
]
]show running-config
[
interface
[
lag
lag-d
[
to
lag-id
|
[
lag
lag-id
to
lag-id
|
lag
lag-id
]
[
ethernet
unit/slot/port
to
unit/slot/port
|
ethernet
unit/slot/port
]...
]show running-config
[
vlan
vlan-id
]show running-config
[
vrf
]- to unit/slot/port
- Specifies the range of the Ethernet interface for which to display the running configuration.
- loopback loopback-port-num
- Displays the running configuration information for the specified loopback interface.
- management mgmt-port-num
- Displays the running configuration information for the specified management interface.
- tunnel tunnel-port-num
- Displays the running configuration information for the specified tunnel interface.
User EXEC mode
Use this command to display the configuration that is currently active on the local switch but which is not saved persistently.
The following example displays sample output of
the show running-config
command when the vlan keyword is used.
device(config)# show running-config vlan 100 vlan 502 by port tagged lag 1 ethe 1/2/5 router-interface ve 502
The following example of the
show running-config command displays information on configured LAGs in sequential order by LAG ID.
device(config)# show running-config Current configuration: ! ! lag lag1 dynamic id 1 ! lag lag2 dynamic id 2 ! lag lag3 dynamic id 3 ! lag lag14 dynamic id 14 ! lag lag25 dynamic id 25 ! lag lag100 dynamic id 100 ! lag dyn-MgM-MCT dynamic id 112 ports ethe 1/2/1 to 1/2/2 ethe 1/2/5 to 1/2/6 !
The following example is sample output from the
show running-config command for a switch, including dynamically obtained DHCP options.
device# show running-config Current configuration: ! ver 08.0.61b1T211 ! stack unit 1 module 1 icx7250-24-port-management-module module 2 icx7250-sfp-plus-8port-80g-module ! ! ! vlan 1 name DEFAULT-VLAN by port ! ! ! hostname TestHostName dynamic ip address 10.10.10.2 255.255.255.0 dynamic ip dns domain-list ManualDomain.com ip dns domain-list testStaticDomain.com ip dns domain-list testDomain.com dynamic ip dns server-address 20.20.20.8 20.20.20.9 20.20.20.5 10.10.10.5(dynamic) ip default-gateway 10.10.10.1 dynamic ! ! ! interface ethernet 1/1/21 disable ! interface ethernet 1/2/2 speed-duplex 1000-full ! interface ethernet 1/2/4 speed-duplex 1000-full ! interface ethernet 1/2/5 speed-duplex 1000-full ! interface ethernet 1/2/6 speed-duplex 1000-full ! interface ethernet 1/2/7 speed-duplex 1000-full ! interface ethernet 1/2/8 speed-duplex 1000-full ! ! ! lldp run ! ! end
| Release version | Command history |
|---|---|
| 08.0.61 | This command was modified to add lag lag-id options. This command was modified to include information about dynamically obtained DHCP options. |
| 08.0.92 | This command was modified to display LAG information ordered sequentially by LAG ID, rather than alphabetically by name. |
| 08.0.95 | The command was modified so that information is displayed for router advertisement (RA) route information configurations. |
| 09.0.00 |
Please confirm This
command was modified so that information is displayed for RESTCONF configurations. |