![N-Tron 7014TX User Manual & Installation Manual Download Page 112](http://html1.mh-extra.com/html/n-tron/7014tx/7014tx_user-manual-and-installation-manual_3170293112.webp)
(Revised 2011-07-21)
page 112 of 152
Port Manager Commands
Get the link state of a given port
Command Name
port get linkstate
Description
This command is used to get the present link state of a given port.
Whenever there is an active connection, link state (operational state) is
up; else link state is down.
Syntax
port get linkstate
<
port-no
>
Parameters
port-no
Port number. (1 ~ 14).
Examples
N-TRON/Admin#[1]> port get linkstate 3
Link state of [3] port is: [down]
N-TRON/Admin#[2]> port get linkstate 1
Link state of [1] port is: [up]
NOTES
Check whether
port
-
no
is in the valid range. (1 ~ 14)
Get admin status of the port
Command Name
port get adminstatus
Description
This command is used to the get present adminstatus of a given port.
Adminstatus is used to enable or disable the port operations even though
there are active connections.
Syntax
port get adminstatus
<
port-no
>
Parameters
port-no
Port number. (1 ~ 14).
Examples
N-TRON/Admin#[1]> port get adminstatus 4
Admin state of [4] port is: [enable]
N-TRON/Admin#[2]> port get adminstatus 9
Admin state of [9] port is: [disable]
NOTES
Check whether
port
-
no
is in the valid range. (1 ~ 14)
Set admin status of a port
Command Name
port set adminstatus
Description
This command is used to set the adminstatus of a given port to enable or
disable. If the adminstatus is disabled, the port cannot process the received
packets.
Syntax
port set adminstatus
<
port-no><enable | disable
>
Parameters
1. port-no
Port number. (1 ~ 14).
2. adminstatus
adminstatus is either enable or disable.
Examples
N-TRON/Admin#[1]> port set adminstatus 4 enable
N-TRON/Admin#[2]> port set adminstatus 8 disable
NOTES
Check whether
port
-
no
is in the valid range. (1 ~ 14)