beautypg.com

14 link command – DSS Networks 8261-RTM User Manual

Page 34

background image

Gigabit Ethernet Metro-Switch

Board and Firmware Users Manual

DSS NETWORKS, INC.

Version: 1.14g

Page: 34

9.1.14 LINK COMMAND


metro-sw> link show int 0xb

phy link = 11, link up = 1
reg(0x0): 1140
reg(0x1): 796d
reg(0x1c-68): 69bf
reg(0x1c-7c): 7cec

metro-sw> link show ext 4

iphy link = 4, link up = 1
reg(0x01): 0004 reg(0x00): 0140
reg(0x05): 0000 reg(0x06): 0000
reg(0x0b): 0004 reg(0x0c): 180c
reg(0x0e): 0000 reg(0x0f): 0000
reg(0x10): 0400 reg(0x14): 001d


The ‘link stat’ command shows a summary table of the link state (down/up) and link
speed.

An argument ‘all’ or ‘-1’ shows a brief summary of all links. A numeric argument
between 0-11 shows a summary of the specified link.

Usage example:



metro-sw> linkst all

Link Up Spd
---- -- ----
0 1 1000
1 1 1000
2 0 0
3 0 0
4 1 1000
5 0 0
6 0 0
7 0 0
8 0 0
9 0 0
10 1 1000
11 1 1000

metro-sw> link stat 4

phy link = 4, link up = 1, speed = 1000
link state: 1
ed state: 1
sd state: 0
sgmii state: 1
mac state: 1
lk down cnt: 5
lk up cnt: 1
lk cfg cnt: 2
ed down cnt: 0
ed up cnt: 1
sd down cnt: 0