beautypg.com

11 ‘eereg set’ command – DSS Networks 8261-RTM User Manual

Page 32

background image

Gigabit Ethernet Metro-Switch

Board and Firmware Users Manual

DSS NETWORKS, INC.

Version: 1.14g

Page: 32

The following table shows the encoding of the data bytes comprising the 32-bit longword
argument:


Bits

Name

Description


30:28

FrameType

001 = Ethernet II

010 = 802.3 LLC/SNAP

100 = LLC

(Only one bit set per entry)


Frame type to match

Bits

Name

Description


27:12

EtherType (i.e. 0x0800 for

IPv4)

Ether type field which

determines the protocol

Bits

Name

Description


11:00

VLAN ID

Vlan ID for this entry

9.1.11 ‘EEREG SET’ COMMAND


The ‘eereg set’ command is used to set

and enable certain features of the switch

functionality. For example

:

metro-sw> eereg set 1 0x24 1 1 00 10 00 40


The parameters for the eereg set command are interpreted as follows:

metro-sw> eereg set


To show (display) all existing ‘eereg set’ entries:

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


To clear out (erase) all existing ‘eereg set’ entries:

metro-sw> eereg set 0


Note: ‘eereg set’ commands are provided as a basic capability to set and enable certain
features of the switch functionality. Please contact our technical support department
regarding the setting of any additional features not shown in this document. The switch
must be reset after all reg-set commands have been entered in order to take effect.