Brocade Fabric OS Command Reference v7.1.0 (53-1002746-01, March 2013)

Fabric OS Command Reference 635
53-1002746-01
portCfg
2
-m | --mgmt
Specifying this parameter applies the VLAN tag to the inband management
interface.
EXAMPLES To create an IP interface using IPv4:
switch:admin> portcfg ipif ge0 create \
192.168.0.20 255.0.0.0 1500
Operation Succeeded
To create an IP interface using IPv6 with a prefix:
switch:admin> portcfg ipif ge0 create 2000::22/64 1500
Operation Succeeded
switch:admin> portshow ipif ge0
Port: ge0
Interface IPv4 Address NetMask Effective MTU Flags
----------------------------------------------------------
0 192.168.0.20 255.255.255.0 1500 U R M
1 192.168.0.21 255.255.255.0 1500 U R M
Interface IPv6 Address Len Effective MTU Flags
---------------------------------------------------------------
2 fe80::205:1eff:fec3:e6b2 64 1500 U R M
3 2000::20 64 1500 U R M
4 2000::21 64 1500 U R M
5 2000::22 64 1500 U R M
Flags: U=Up B=Broadcast D=Debug L=Loopback P=Point2Point R=Running
N=NoArp PR=Promisc M=Multicast S=StaticArp LU=LinkUp
To create an interface for a failover crossport on a Brocade FX8-24:
1. Configure the interface for the local XGE port (xge0).
switch:admin> portcfg ipif 8/xge0 create 192.168.10.20 \
255.255.255.0 1500
Operation Succeeded
2. Configure the interface for the nonlocal XGE port (xge1).
switch:admin> portcfg ipif 8/xge1 create 192.168.11.20 \
255.255.255.0 1500 -x
Operation Succeeded
3. The IP address 192.168.11.20 will be available for circuits on VE_Ports 22-31. The output from
portshow ipif for the same address shows the crossport tag.
switch:admin> portshow ipif 8/xge0
Port: 8/xge0
Interface IPv4 Address NetMask Effective MTU Flags
--------------------------------------------------------------
0 192.168.10.20 255.255.255.0 1500 U R M
3 192.168.11.20 255.255.255.0 1500 U R M (crossport)
To delete an IP interface:
switch:admin> portcfg ipif ge0 delete 192.168.10.20
Operation Succeeded