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 ~ 26).

 

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-nois in the valid range. (1 ~ 26)

 

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 ~ 26).

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-nois in the valid range. (1 ~ 26)

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 ~ 26).

 

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-nois in the valid range. (1 ~ 24)

(Revised 2010-7-2)

page 108 of 145

Page 108
Image 108
N-Tron 9000 user manual Port Manager Commands, Get the link state of a given port, Get admin status of the port