
(Revised 2010-7-2) page 110 of 145
port get duplexmode <port-no>
port-no
Port number. (1 ~ 26)
N-TRON/Admin#[1]> port get duplexmode 4
Duplex mode of [4] port is: [half]
N-TRON/Admin#[2]> port get duplexmode 23
Duplex mode of [23] port is: [full]
Check whether port-no is in the valid range. (1 ~ 26)
Set the port duplex mode
Sets the port duplex mode (HALF_DUPLEX / FULL_DUPLEX) for a
given port number.
port set duplexmode <port-no> <full | half>
port-no
Port number. (1~24)
full | half
Duplex mode of the port. Duplex mode must be either
FULL_DUPLEX or HALF_DUPLEX.
N-TRON/Admin#[1]> port set duplexmode 4 full
N-TRON/Admin#[2]> port set duplexmode 4 half
Check whether port-no is in the valid range. (1 ~ 24)
Set the Lockstate of a given port
Sets the lock state of a given port to either enable or disable. If the port lock
is enabled, the switch can process the data packets only from locked MAC
addresses. Other data packets will not be processed.
port set lockstate <port-no> <enable | disable>
port-no
port number (1 ~ 26)
enable | disable
Lock enable or disable
N-TRON/Admin#[1]> port set lockstate 5 disable
N-TRON/Admin#[2]> port set lockstate 8 enable
Once the port is locked, all the MACs that are learned on that port are
treated as static MACs. This means the switch can process the packets
from those MACs only. It will discard all packets from other MACs.
Because the MAC is set for that port, it will only be addressable via that
port.
Get Lock State
Gets the lock state for a given port.
port get lockstate <port-no>
port-no
port number (1 ~ 26).
N-TRON/Admin#[1]> port get lockstate 6
LockState : [enable]
N-TRON/Admin#[2]> port get lockstate 24
LockState : [disable]
Check whether port-no is in the valid range. (1 ~ 26)
Get Auto-negotiation State
Gets the auto negotiation mode for a given port.
port get autonego<port-no>