Technical data

Fabric OS FCIP Administrator’s Guide 27
53-1002474-01
QoS, DSCP, and VLANs
2
To tag frames destined for a specific host address, you must create an entry with an exact
matching destination address in the table. Only frames destined for that address are tagged with
the associated VLAN ID. To tag frames destined for a specific network, you must create a
destination address entry for the network. For example; if a destination address of 192.168.100.0
is specified, then all frames destined for the 192.168.100.0 network are tagged with the
associated VLAN ID, assuming a network mask of 255.255.255.0. If frames are already VLAN
tagged, those tags take precedence over entries in this table.
NOTE
If you do not specify a destination IP address, the destination address defaults to 0.0.0.0, and all
frames are tagged with the associated VLAN tag.
1. Connect to the switch and log in using an account assigned to the admin role.
2. Enter the portCfg vlantag command to add or delete entries in the VLAN tag table. The general
syntax for the portCfg vlantag command is as follows:
portCfg vlantag add|delete ipif_addr vlan_id L2CoS [dst_IP_addr]
For full details on syntax and using this command, refer to the Fabric OS Command Reference
Manual.
The following example adds an entry that tags all frames from IP address 192.168.10.1
destined for IP address 192.168.20.1 with a VLAN ID of 100, and a L2CoS value of 3.
switch:admin> portcfg vlantag 8/ge0 add 192.168.10.1 100 3 192.168.20.1
NOTE
To add entries with crossport addresses to the VLAN tag table, refer to “Configuring VLAN tags with
crossports” on page 14.
For more details on using the portCfg vlantag command, refer to the Fabric OS Command
Reference Manual.