User guide
B
LACK
D
IAMOND
U
SER
G
UIDE
3-5
P
ORT
C
OMMANDS
Table 3-1:
Port Commands
Command Description
enable learning port <slot:portlist> Enables MAC address learning on one or more
ports. The default setting is enabled.
enable port <slot:portlist> Enables a port.
enable sharing <slot:master_port> grouping
<slot:portlist>
Defines a load-sharing group of ports. The ports
specified in <
slot:portlist
> are grouped to
the master port.
config port <slot:portlist> auto on Enables autonegotiation for the particular port
type; 802.3u for 10/100 Mbps ports or 802.3z for
Gigabit Ethernet ports.
config port [<slot:portlist> | all] auto off
{speed [10 | 100]} duplex [half | full]
Changes the configuration of a group of ports.
Specify the following:
■
auto off
— The port will not autonegotiate
the settings
■
speed
— The speed of the port (for 10/100
Mbps ports only)
■
duplex
— The duplex setting (half- or
full-duplex)
config port <slot:portlist> qosprofile
<qosname>
Configures one or more ports to use a particular
QoS profile.
config slot <slot> module [f32t | f32f | g4x |
g6x]
Configures a slot for a particular I/O module card.
disable learning port <slot:portlist> Disables MAC address learning on one or more
ports for security purposes. If MAC address
learning is disabled, only broadcast traffic and
packets destined to a permanent MAC address
matching that port number are forwarded. The
default setting is enabled.
disable port <slot:portlist> Disables a port. Even when disabled, the link is
available for diagnostic purposes.
disable sharing <slot:master_port> Disables a load-sharing group of ports.
clear slot <slot> module Clears a slot of a previously assigned module
type.
show port {<slot:portlist>} collisions Displays real-time collision statistics.