N8406-023 1Gb Intelligent L3 Switch Command Reference Guide (ISCLI) 99
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 98 Port Configuration commands
Command
Description
interface gigabitethernet
<
port number>
Enter Interface Port configuration mode for the selected port.
Command mode
: Global configuration
dot1p <
0-7
>
Configures the port‘s 802.1p priority level.
Command mode
: Interface port
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
copper
Configures the port‘s transmission media as
copper
. This command is
available only for Ports 21-24.
Command mode
: Interface port
fiber
Configures the port‘s transmission media as
fiber
. This command is
available only for Ports 21-24.
Command mode
: Interface port
auto-mode
Configures the port‘s transmission media as
auto
. This command is
available only for Ports 21-24.
Command mode
: Interface port
[no] broadcast-threshold
<
0-262143>
Limits the number of broadcast packets per second to the specified value. If
disabled (
no
), the port forwards all broadcast packets.
Command mode
: Interface port
[no] multicast-threshold
<
0-262143>
Limits the number of multicast packets per second to the specified value. If
disabled (
no
), the port forwards all multicast packets.
Command mode
: Interface port
[no] dest-lookup-threshold
<
0-262143>
Limits the number of unknown unicast packets per second to the specified
value. If disabled (
no
), the port forwards all unknown unicast packets.
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