Utility Commands
386
ProSAFE M7100 Managed Switches
Note: If you use a text-based configuration file, the show
running-config command will only display configured physical
interfaces, that is, if any interface only contains the default
configuration, that interface will be skipped from the show
running-config command output. This is true for any configuration
mode that contains nothing but default configuration. That is, the
command to enter a particular config mode, followed immediately by
its ‘exit’ command, are both omitted from the show
running-config command output (and hence from the
startup-config file when the system configuration is saved.)
If all the flags in a particular group are enabled, the command displays trapflags <group
name> all.
If some, but not all, of the flags in that group are enabled, the command displays trapflags
<groupname> <flag-name>.
show running-config interface
This command shows the current configuration on a particular interface. The interface can be a
physical interface, a LAG interface, a loopback interface, a tunnel interface, or a VLAN interface.
The output captures the running configuration, that is, the output shows how the configuration
differs from the factory default value.
show startup-config
This command displays the content of a text-based startup configuration file that contains the
switch configuration in the form of CLI commands. This file is saved in flash memory in
compressed format but is uncompressed for the output of the command.
When you save the configuration, the switch creates a startup configuration file and saves the
running configur
ation to the startup configuration.You can also copy the configuration from the
backup configuration file to the startup configuration file.
Format show running-config [all | <scriptname>]
Mode Privileged EXEC
Format show running-config interface {<interface> | lag {<lag-intf-num>} |
loopback {<loopback-id>} | tunnel {<tunnel-id>} | vlan {<vlan-id>}}
Mode Privileged EXEC
Format show startup-config
Mode Privileged EXEC