Command Reference Guide
Command Reference Guide (ISCLI) Command Reference Guide (ISCLI) 79
Port configuration
Use the port configuration commands to configure settings for individual switch ports.
NOTE: Port 19 is reserved for switch management interface.
The following table describes the Port Configuration commands. The following sections provide more detailed
information and commands.
Table 83 Port Configuration commands
Command
Description
interface gigabitethernet
<port number>
Enter Interface Port configuration mode for the selected port.
Command mode: Global configuration
pvid <1-4095>
Sets the default VLAN number which will be used to forward frames which
are not VLAN tagged. The default number for all ports except Port 19 is 1.
Note: VLAN 4095 is reserved for switch management interface.
Command mode: Interface port
name <1-64 characters>
Sets a name for the port (maximum 64 characters). The assigned port
name displays next to the port number on some information and statistics
screens.
Command mode: Interface port
[no] rmon
Enables or disables Remote Monitoring for the port. The default is disabled.
RMON must be enabled for any RMON configurations to function.
Command mode: Interface port
[no] tagging
Disables or enables VLAN tagging for this port. It is disabled by default.
Command mode: Interface port
[no] tag-pvid
Disables or enables VLAN tag persistence. When disabled, the VLAN tag is
removed from packets whose VLAN tag matches the port PVID. The default
value is enabled.
Command mode: Interface port
no shutdown
Enables the port.
Command mode: Interface port
shutdown
Disables the port. To temporarily disable a port without changing its
configuration attributes, see the ―Temporarily disabling a port‖ section later
in this chapter.
Command mode: Interface port
show interface
gigabitethernet <port
number>
Displays current port parameters.
Command mode: All
Temporarily disabling a port
To temporarily disable a port without changing its stored configuration attributes, enter the following command at
any prompt:
Switch# interface gigabitethernet <port number> shutdown
Because this configuration sets a temporary state for the port, you do not need to perform a save operation. The
port state reverts to its original configuration when the switch is reloaded.