N-Tron 9000 Series User Manual

Page 103

Advertising
background image

5/17/2007 page 103 of 138

Show port statistics

Command Name

port show stats

Description

This command is used to get the port statistics of a given port for all
available counters.

Syntax

port show stats <port-no>

Parameters

port-no

Port number. (1 ~ 26).

Examples

N-TRON/Admin#[1]> port show stats 5
--------------------------------------------
COUNTER TYPE :[]
--------------------------------------------
COUNTER NAME COUNTER VALUE
--------------------------------------------
byteFrames 28072
64 byte Frames 272
64-127 byte Frames 24
128-255 byte Frames 43
256-511 byte Frames 43
512-1023 byte Frames 0
1024-1518 byte Frames 0
1519-1522 byte Frames 0

… … … …

NOTES

Check whether port-no is in the valid range. (1 ~ 26)

Get total number of good frames received

Command Name

port get totalgoodframes

Description

Gets the total number of good frames received on the switch.

Syntax

port get totalgoodframes

Parameters

None

Examples

eg.1

N-TRON/Admin#[1]> port get totalgoodframes
Total no of good frames: [12456]

NOTES

Get port speed

Command Name

port get speed

Description

Gets the port speed in megabits.

Syntax

port get speed <port-no>

Parameters

port-no
Port number. (1 ~ 26).

Examples

N-TRON/Admin#[1]> port get speed 4
port speed of port no [4] is : [10]
N-TRON/Admin#[2]> port get speed 5
port speed of port no [5] is : [100]

NOTES

Check whether port-no is in the valid range. (1 ~ 26)

Set Port Speed

Command Name

port set speed

Description

Sets the port speed of a given port.

Syntax

port set speed <port-no><speed>

Parameters

port-no
Port number. (1 ~ 26)
speed

Speed of the port. Speed must either 10, 100, 1000 megabits per sec.

Examples

N-TRON/Admin#[1]> port set speed 5 10

N-TRON/Admin#[2]> port set speed 9 100

NOTES


Get the port duplex mode

Command Name

port get duplexmode

Description

Gets the port Duplex mode (FULL_DUPLEX / HALF_DUPLEX ) for a
given port number .

Syntax

port get duplexmode <port-no>

Advertising