show running-config
show running-config[interface[ethernetunit/slot/port[tounit/slot/port|[ethernetunit/slot/porttounit/slot/port|ethernetunit/slot/port][laglag-idtolag-id|laglag-id]...]|loopbackloopback-port-num|managementmgmt-port-num|tunneltunnel-port-num|veve-port-num]]show running-config[interface[laglag-d[tolag-id|[laglag-idtolag-id|laglag-id][ethernetunit/slot/porttounit/slot/port|ethernetunit/slot/port]...]show running-config[vlanvlan-id]show running-config[vrf]- tounit/slot/port
- Specifies the range of the Ethernet interface for which to display the running configuration.
- loopbackloopback-port-num
- Displays the running configuration information for the specified loopback interface.
- managementmgmt-port-num
- Displays the running configuration information for the specified management interface.
- tunneltunnel-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
show running-config command,
and includes infomration for router advertisement (RA) route information configurations.
device> show running config interface ve 300 ... ipv6 nd ra-route-info-option 3::2000/120 300 high ipv6 nd ra-route-info-option 3::1000/120 300 high ipv6 nd ra-route-info-option 5:503::/120 120 high ipv6 nd ra-route-info-option 5:502::/120 120 high ipv6 nd ra-route-info-option 5:501::/120 100 low
| Release version | Command history |
|---|---|
| 08.0.61 | This command was modified to add laglag-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 |
Please confirm The
command was modified so that information is displayed for router advertisement (RA)
route
information configurations. |