mac

Commands for Show
579
Function: Display the current active configuration parameters for the switch.
Default: If the active configuration parameters are the same as the default operating
parameters, nothing will be displayed.
Command mode: Admin Mode
Usage Guide: When the user finishes a set of configuration and needs to verify the
configuration, show running-config command can be used to display the current active
parameters.
Example:
Switch#show running-config
59.20 show startup-config
Command: show startup-config
Function: Display the switch parameter configurations written into the Flash memory at
the current operation; those are usually also the configuration files used for the next
power-up.
Default: If the configuration parameters read from the Flash are the same as the default
operating parameter, nothing will be displayed.
Command mode: Admin Mode
Usage Guide: The show running-config command differs from show startup-config
in that when the user finishes a set of configurations, show running-config displays the
added-on configurations whilst show startup-config won’t display any configurations.
However, if write command is executed to save the active configuration to the Flash
memory, the displays of show running-config and show startup-config will be the
same.
59.21 show switchport interface
Command: show switchport interface [ethernet <IFNAME>]
Function: Show the VLAN port mode, VLAN number and Trunk port messages of the
VLAN port mode on the switch.
Parameter: <IFNAME> is the port number.
Command mode: Admin mode
Example: Show VLAN messages of port ethernet 1/1.
Switch#show switchport interface ethernet 1/1
Ethernet1/1