User's Manual
183
To browse the state of an interface, run the above-mentioned command.
Initializing and deleting the port
Closing and restarting the port
22.3.1 Browsing the State of an Interface
Our switches support those commands to display interface information, including the version ID of hardware
and software, and the interface state. The following table presents you some port monitor commands: For
more details, please refer to the "Interface Configuration Command".
Run the following commands:
Command Purpose
show interface
[
type
[slot|port]] Displays the state of a port.
show running-config
Displays the current settings.
show version
Displays the memory configuration, the software
version and the startup mirror.
22.3.2 Initializing and Deleting the Port
The logic interface can be dynamically created and deleted. So it is with the sub-interface and the channelized
interface. The physical interface which cannot be deleted dynamically can return to the default setting of the
interface. In global configuration mode, run the following command to initialize and delete an interface:
Command Purpose
no interface
[
type
[slot|port]] Initializes a physical interface or deletes a virtual
interface.
22.3.3 Closing and Restarting the Port
You can disable the interface, so that all functions on this interface can be disabled, and then all monitor
commands will label this interface as unavailable. This information can be transmitted to other devices through
the dynamic routing protocol. The modification on any route will not affect this port.
Run the following commands in interface configuration mode to shut down an interface and then restart it.
Command Purpose
shutdown
Disable the interface.
no shutdown
Restarting the interface
To check whether an interface is shut down, you can run show interface and show running-config. After the
show interface command is run, a disabled interface will be presented as “administratively down”. For more
examples, please refer to "Interface Shutdown Example".
22.4 Setting the Ethernet Interface
In this section the procedure of setting the Enthernet interface will be described. The detailed configuration
includes the following steps, among which step 1 is obligatory while other steps are optional.