beautypg.com

45 egress mask (block mask) show command, 44 egress mask (block mask) regs command, 45 egress mask (block mask) clear command – DSS Networks 8261-RTM User Manual

Page 55

background image

Gigabit Ethernet Metro-Switch

Board and Firmware Users Manual

DSS NETWORKS, INC.

Version: 1.14g

Page: 55


Usage example:


metro-sw> egrmask set 7 0xffe

Port 7 allows only packets to be forwarded which have destination port 0. All other
incoming packets on port 7 are being blocked.

9.1.45 EGRESS MASK (BLOCK MASK) SHOW COMMAND


The ‘egrmask show’ command is used to display the value of the modified per-port
egress mask.

metro-sw> egrmask show


Usage example:


metro-sw> egrmask show 7
link egress mask
0x07 1111 1111 1110 [0xffe]

9.1.44 EGRESS MASK (BLOCK MASK) REGS COMMAND


The ‘egrmask regs’ command is used to display the value of the actual per-port egress
mask currently used by the switch.

metro-sw> egrmask regs


Usage example:


metro-sw> egrmask regs 7
link egress mask
0x07 1111 1111 1110 [0xffe]


9.1.45 EGRESS MASK (BLOCK MASK) CLEAR COMMAND


The ‘egrmask clr’ command clears the egress mask for the specified link.

metro-sw> egrmask clr