beautypg.com

32 ‘gimask show’ command – DSS Networks 8261-RTM User Manual

Page 47

background image

Gigabit Ethernet Metro-Switch

Board and Firmware Users Manual

DSS NETWORKS, INC.

Version: 1.14g

Page: 47

dword. The rightmost argument ‘d1’ is the least significant byte (bits 0 – 7) while the
leftmost ‘d3’ is the most significant byte (bits 24-31) of the 32-bit dword.

metro-sw> girule set <0xd4 0xd3 0xd2 0xd1>

Usage examples:

metro-sw> girule set 0 0 0 0 0 0 0xa0
midx: 00, eidx: 00

metro-sw> girule set 0 0 2 0 0 0 0x21
midx: 00, eidx: 02

metro-sw> girule set 0 0 5 0x08 0 0x45 0
midx: 00, eidx: 05

metro-sw> cfg save

FFP “GIRULE” table bit map description:


9.1.32 ‘GIMASK SHOW’ COMMAND


The ‘gimask show’ command is used to display the GIMASK tables for the FFP
processor. The command takes two numeric arguments. The first argument is the ‘link’
index (0-11) and the second argument is the ‘mask’ index (0-63).

FILTER(8)

FILTER(7)

FILTER(6)

FILTER(5)

FILTER(4)

FILTER(3)

FILTER(2)

FILTER(1)

RSVD(7)

PRI(3)

TOS_P(3)

FSEL(4)

EGRSMOD(5) | R(1)

EPORT(5)

PKTFMT(4)

RSVD(4)

METERID(6)

COUNTER(5)

DIFFSERV(6)

OUTPUT MOD 5

U

DST_PORT(5)

RSVD(5) CLASSIFICATION-TAG(16)

OUT_DSCP(6)

OUTACTIONS(5)

R VLANID(12)

ACTION(18)

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

ADDR-BASE 0x07g2.0000:table bit 0

ADDR-LIMIT 0x07g2.000B:table bit 383