beautypg.com

42 mirror control regs command, 43 mirror control clear command, 44 egress mask (block mask) set command – DSS Networks 8261-RTM User Manual

Page 54

background image

Gigabit Ethernet Metro-Switch

Board and Firmware Users Manual

DSS NETWORKS, INC.

Version: 1.14g

Page: 54

DSTmap: Destination bitmap binary value [hex value]

9.1.42 MIRROR CONTROL REGS COMMAND


The ‘mirctl regs’ command is used to display the actual values of the port mirror control
registers currently used by the switch. It has the same output format as the ‘mirctl show’
command.

metro-sw> mirctl regs


Usage example:


metro-sw> mirctl regs all
Mirror Control Register
link reg fmt mtp DSTmap

0x00 0x00000000 0x0 0x00 0000 0000 0000 [0x000]
0x01 0x0014000c 0x1 0x00 0000 0000 1100 [0x00c]
0x02 0x00000000 0x0 0x00 0000 0000 0000 [0x000]
0x03 0x00140ff0 0x1 0x00 1111 1111 0000 [0xff0]
0x04 0x00000000 0x0 0x00 0000 0000 0000 [0x000]
0x05 0x00000000 0x0 0x00 0000 0000 0000 [0x000]
0x06 0x00000000 0x0 0x00 0000 0000 0000 [0x000]
0x07 0x00000000 0x0 0x00 0000 0000 0000 [0x000]
0x08 0x00000000 0x0 0x00 0000 0000 0000 [0x000]
0x09 0x00000000 0x0 0x00 0000 0000 0000 [0x000]
0x0a 0x00000000 0x0 0x00 0000 0000 0000 [0x000]
0x0b 0x000487ff 0x0 0x02 0111 1111 1111 [0x7ff]


9.1.43 MIRROR CONTROL CLEAR COMMAND


The ‘mirctl clr’ command clears the mirror control register for the specified link.

metro-sw> mirctl clr


9.1.44 EGRESS MASK (BLOCK MASK) SET COMMAND


The ‘egrmask set’ command is used to set the per-port egress mask (blocking mask).
Each port allows a blocking of packets on egress, specified by the egress mask. A ‘0’
indicates no blocking, a ‘1’ indicates blocking of packets.

metro-sw> egrmask set

Link index for which the egress mask is to be set.

12 bit value of egress mask, each bit representing a port. ‘0’ do not block, ‘1’
block (default value is ‘0’).