1 help command, 2 vlan table set command – DSS Networks 8261-RTM User Manual
Page 27

Gigabit Ethernet Metro-Switch
Board and Firmware Users Manual
DSS NETWORKS, INC.
Version: 1.14g
Page: 27
9.1.1 HELP COMMAND
metro-sw> h
CLI cmds:
link [show | stat | regs] [int | ext |
stats [show | clr]
eeprom [show | init | test] [read |
eereg [show | set | clr]
mmu regs
arl regs
vlan [show | set | regs]
stg [show]
gimask [show | set | regs]
girule [show | set | regs]
gffp-ctr [show | clr]
gffp-pkt [show | clr]
cmic show
cfg [save | clr]
switch reset
gmac [stat | clr | regs]
gpic regs
sgmii [show | regs] ext
portctl [show | set | regs]
mirctl [show | set | regs | clr]
egrmask [show | set | regs | clr]
help
h
metro-sw>
Note: Many commands use a “link index” (linkIdx) for addressing one of 12-ports in the
supplied range of 0 to 11.
The help command is invoked by either typing ‘h’ or ‘help’. It lists the available
commands with their respective options and arguments. The general command format
is ‘command option
‘
on the arguments, please see the corresponding entry below.
9.1.2 VLAN TABLE SET COMMAND
The vlan table set command can be used to add or delete VLAN table entries
specifying member ports. There are two port maps specified. The ‘vlan port map’
bitmask identifies the member ports for this VLAN ID (VID). If the incoming packet is
tagged, the VID of the incoming packet is used to index into the VLAN table to get the
tagged VLAN port members. If the incoming packet is untagged, then the VID is picked
up from the PRTABLE (port default vlan tables) for this port and the VID is used to index
into the VLAN table to get the member ports for this VLAN.
All packets inside of the switch will then contain a VID tag. The ‘egr map_untagged’ port
bit map specified in the vlan set command simple tells the switch whether to leave the
tag on or strip of the tag when transmitting the packet out the egress port.