beautypg.com

9 setting default vlan, 10 setting untagged vlan id’s – DSS Networks 8261-RTM User Manual

Page 30

background image

Gigabit Ethernet Metro-Switch

Board and Firmware Users Manual

DSS NETWORKS, INC.

Version: 1.14g

Page: 30

metro-sw> eereg set 1 0x24 1 1 0x00 0x10 0x00 0x40

In this command, the arguments are interpreted as follows:

metro-sw> eereg set


metro-sw> eereg show

reg idx: 01, rclass: 01 (reg set cmd)
base: 24, strt/incr: 01, end/cnt: 01
data: 00 10 00 40

In the example above, the last two data bytes (0x00 0x40) specify the layer 2 ARL age timeout
in seconds (i.e. 0x00 0x40 hexidecimal equals 64 seconds).



9.1.9 SETTING DEFAULT VLAN


The ‘eereg set’ command is used to set the default VLAN id for a port or range of ports as in the
following example:

metro-sw> eereg set 3 0x21 0 1 0x00 0x00 0x00 0x01

In this command, the arguments are interpreted as follows:

metro-sw> eereg set


metro-sw> eereg show

reg idx: 02, rclass: 03 (reg set cmd)
base: 21, strt/incr: 00, end/cnt: 01
data: 00 00 00 01

In the example above, the last two data bytes (0x00 0x01) specify the default VLAN id for the
port range starting at zero and ending at 1 (port 0 and port1). Any port range (i.e. 0 – 11) may
be specified with this command.


9.1.10 SETTING UNTAGGED VLAN ID’s


The ‘eereg set’ command is used to set up to seven (7) default VLAN ID’s per port. This
command can operate on a single port or range of ports as in the following example:

metro-sw> metro-sw> eereg set 3 0x22 0 0 0x01 0x08 0x00 0x01

In this command, the arguments are interpreted as follows:

metro-sw> eereg set