Reference (Supporting Fabric OS v7.3.0) Owner manual

Table Of Contents
704 Fabric OS Command Reference
53-1003131-01
portCfg
2
To create a network-wide permanent VLAN tag entry with a VLAN ID of 200 and an L2 CoS value of 5 (no
destination address):
switch:admin> portcfg vlantag ge2 add \
192.168.2.10 200 5
Operation Succeeded
To display the VLAN tag configuration (for an explanation of the flags, refer to portShow):
switch:admin> portshow vlantag ge2
Port: ge2
Interface Address VlanId L2CoS Flags
Destination Address
-------------------------------------------------------------
192.168.2.10 200 5 Perm Net
0.0.0.0
192.168.0.20 100 0 Perm
192.168.0.10
192.168.0.21 200 0 Perm
192.168.0.11
2000::20 300 0 Perm
2000::10
2000::21 400 0 Perm
2000::11
To create a VLAN tag entry for a failover crossport interface with a VLAN ID of 200 and an L2 CoS value
of 1 and to display the configuration:
switch:admin> portcfg vlantag 8/xge0 add 192.168.11.20 200 1 -x
Operation Succeeded
switch:admin> portshow vlantag 8/xge0
Port: 8/xge0
Interface Address VlanId L2CoS Flags
Destination Address
----------------------------------------------------------
192.168.11.20 200 1 Perm Net (crossport)
0.0.0.0
To delete a VLAN tag entry:
switch:admin> portcfg vlantag ge2 delete 192.168.2.10 200
Operation Succeeded
To delete a VLAN tag entry for a crossport:
switch:admin> portcfg vlantag 8/xge0 delete 192.168.11.20 200 -x
Operation Succeeded
To create an IPsec policy for the Brocade 7840 switch:
switch:admin> portcfg ipsec-policy myPolicy1 create -k "some test key"
Operation Succeeded