Fabric OS FCIP Administrators Guide v6.4.0 (53-1001766-01, November 2010)
70 Fabric OS FCIP Administrator’s Guide
53-1001766-01
Managing the VLAN tag table
3
Deleting an IP interface (IPIF)
The following command deletes an IP interface.
portcfg ipif [slot/]ge0|ge1 delete ipaddr
NOTE
You cannot delete an IP interface until after the tunnel and route have been removed,
Managing the VLAN tag table
The VLAN tag table is used by ingress processing to filter inbound VLAN tagged frames. If a VLAN
tagged frame is received from the network and there is no entry in the VLAN tag table for the VLAN
ID, the frame is discarded.
The table is used to determine how to tag a frame that is not already tagged. 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 an entry contains a destination address of 0.0.0.0, all frames
are tagged with the associated VLAN ID. 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.
FCIP and ipPerf create and maintain entries in the VLAN tag table through their own configuration
procedures. Manual entries are needed on both the local and remote sides for portCmd ping and
portCmd traceroute commands when they are used to test and trace routes across a VLAN when
no FCIP tunnel is active.
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 syntax
for the portCfg vlantag command is as follows:
portCfg vlantag add|delete ipif_addr vlan_id L2CoS [dst_IP_addr]
Where:
ipif_addr The locally defined IP address.
vlan_id The VLAN tag used for this tag (range 1-4094).
L2CoS Layer 2 class of service (range 0-7)
dst_IP_addr The destination IP address. All frames destined for this IP address will be
tagged with the specified vlan_id and L2 CoS. If a destination IP address is
not specified, all frames not already tagged will be tagged.
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 L2 CoS value of 3.
switch:admin> portcfg vlantag 8/ge0 add 192.168.10.1 100 3 7 192.168.20.1