ZyXEL Communications ZyXEL Dimension ES-2024 User Manual

Page 156

Advertising
background image

Dimension ES-2024 Ethernet Switch

25-6

Introduction to CLI

The following commands are system switch commands; all are preceded with

sys sw

Table 25-2 Command Summary: sys sw

COMMAND DESCRIPTION

garp status

Shows the GARP timer status.

timer

<join

timer(ms)><leave

timer(ms)><leave all timer<ms>

Sets the GARP timer’s Join
Timer, Leave Timer and Leave
All Timer.

gvrp trace

Sets GVRP trace level.

status

Shows the GVRP status.

enable

Enables GVRP.

disable

Disables GVRP.

pktcnt <port

1-26>

Display port statistic counter.

pktcntclear <port 1-26>

Reset port statistic counter.

port

<portID> <enable | disable> <Speed> <FlowCtrl> Port setup.

portstatus

Displays current port status and
settings.

phyread <portID>

[<phyAddr>]

Reads PHY register.

phywrite

<portID> <phyAddr> <data>

Writes PHY register.

qos

defpri

<port> [<0:none | 1:low | 2:high>] Sets the default ingress User

Priority for a port.

map

<0..7> [<0:low | 1:high>]

Maps a User Priority to a Traffic
Class.

method

<0:FCFS | 1:Strict | 2:WRR [high

weight] [low weight]>

Sets the QoS method.

showmethod

Displays the QoS method.

vlan1q

All “sys sw vlan1q” commands
relate to IEEE 802.1Q Tagged
VLAN configuration. Use “config
save” to save your configuration
changes.

port

status

<port>

Shows a port’s VLAN information.

defaultVID

<port><vid>

Sets the default VLAN ID of a
port.

accept <port> <all|tagged|untagged> Sets the type of frames that a

port accepts.

gvrp <port> <enable|disable>

Enables/disables GVRP on the
specified port.

svlan

cpu <vlan id>

Sets the VLAN ID of the
management VLAN (CPU).

setentry<name><vid><port><adctl>

<tagctl>

Applies a static VLAN (name,
admin control tag, tag control) to
a port.

Advertising