3 vlan table show command – DSS Networks 8261-RTM User Manual
Page 28

Gigabit Ethernet Metro-Switch
Board and Firmware Users Manual
DSS NETWORKS, INC.
Version: 1.14g
Page: 28
Usage example:
metro-sw> vlan set 3 0x04 0x1ff 0x3ff
The arguments to the Vlan set command are as follows:
vlan set
Where:
Id = vlan id
stg = Spanning tree group
vlan_port_map = port bitmap of vlan member ports
egr_map_untagged = port bitmap of egress ports (sent w/o tags)
Note: The port bit map is a 12-bit mask shown as hexadecimal value. For example to
enable ports 0, 3 and 11 the mask would be set to:
0x809 (bits 0, 3 and 11 set).
To display VLAN id 3 as set in the example above:
metro-sw> vlan show 3
vlan id = 3
vlan[0x000000]: 9 # value is (stg << 1) | valid_bit
vlan[0x000001]: 1ff #
egr_mapped_tagged port bitmap
vlan[0x000002]: 3ff #
egr_mapped_untagged port bitmap
metro-sw>
Note(1): To remove an existing VLAN, use the ‘vlan set’ command specifying both a
‘egr_mapped_tagged’ and egr_map_untagged with a value of zero as in the following example:
vlan set 1 1 0 0
Note(2): Once the vlan configurations have been made, you must use the ‘cfg save’ command
to save the configuration to flash eeprom. Changes will take effect upon reset of the switch.
9.1.3 VLAN TABLE SHOW COMMAND
The vlan table show command can be used to display the VLAN table entries by vlan_id as
shown in the following example:
metro-sw> vlan show 3
vlan id = 3
stg : 9 # spanning tree group
port map: 1ff #
egress_mapped_tagged port bitmap
egr map: 3ff #
egress_mapped_untagged port bitmap