
Configuring Ethernet Ports
Configuring Ethernet Port Parameters
OmniSwitch AOS Release 7 Network Configuration Guide
June 2013
page 1-5
Setting Interface Line Speed
command is used to set the line speed on a specific port, a range of ports, or all ports
on an entire slot.
For example:
-> interfaces 2/1 speed 100
-> interfaces 2/2-5 speed 1000
-> interfaces 3 speed auto
Configuring Duplex Mode
command is used to configure the duplex mode on a specific port, a range of ports,
or all ports on a slot to
full, half, or auto
. (The
auto
option causes the switch to advertise all available
duplex modes (half/full/both) for the port during autonegotiation.) In full duplex mode, the interface trans-
mits and receives data simultaneously. In half duplex mode, the interface can only transmit or receive data
at a given time.
For example:
-> interfaces 2/1 duplex half
-> interfaces 2/2-5 duplex auto
-> interfaces 3 duplex full
Setting Trap Port Link Messages
command can be used to enable or disable trap port link messages on a specific
port, a range of ports, or all ports on a slot. When enabled, a trap message is sent to a Network Manage-
ment Station (NMS) whenever the port state has changed.
For example:
-> interfaces 2/3 link-trap enable
-> interfaces 2/3-5 link-trap enable
-> interfaces 2 link-trap enable
Resetting Statistics Counters
clear interfaces l2-statistics
command is used to reset all Layer 2 statistics counters on a specific
port, a range of ports, or all ports on a slot. For example:
-> clear interfaces 2/3 l2-statistics
-> clear interfaces 2/1-3 l2-statistics
-> clear interfaces 2 l2-statistics
This command also includes an optional
cli
parameter. When this parameter is specified, only those statis-
tics that are maintained by the switch CLI are cleared; SNMP values are not cleared and continue to main-
tain cumulative totals. For example:
-> clear interfaces 2/1-3 l2-statistics cli
Note that when the
cli
parameter is not specified both CLI and SNMP statistics are cleared.