Configuring Ethernet Ports Configuring Ethernet Port Parameters
OmniSwitch AOS Release 8 Network Configuration Guide December 2017 page 1-4
Configuring Duplex Mode
The interfaces duplex 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
transmits 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
The interfaces link-trap 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
Management 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
The clear interfaces 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
statistics that are maintained by the switch CLI are cleared; SNMP values are not cleared and continue to
maintain 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.
Enabling and Disabling Interfaces
The interfaces command is used to enable or disable a specific port, a range of ports, or all ports on an
entire slot.
-> interfaces 2/3 admin-state disable
-> interfaces 2/1-3 admin-state disable
-> interfaces 2 admin-state disable