Brocade Fabric OS Command Reference Manual Supporting Fabric OS v7.0.0 (April 2011)

604 Fabric OS Command Reference
53-1001764-01
portCfg
22
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
To delete an IP interface for a failover crossport:
switch:admin> portcfg ipif 8/xge0 delete 192.168.11.20 -x
Operation Succeeded
To create a static IP route using an IPv4 destination address, a netmask, and a gateway address:
switch:admin> portcfg iproute ge0 create \
192.42.0.0 255.255.255.0 192.168.0.250
Operation Succeeded
To create a static IP route using IPv6:
switch:admin> portcfg iproute ge0 create \
2010::/64 2000::1:250
Operation Succeeded
switch:admin> portshow iproute ge0
Port: ge0
IP Address Mask Gateway Metric Flags
-------------------------------------------------------------
192.42.0.0 255.255.255.0 192.168.0.250 0 U G
192.168.0.0 255.255.255.0 * 0 U C
192.168.0.10 255.255.255.255 * 0 U H L
192.168.0.11 255.255.255.255 * 0 U H L
192.168.0.21 255.255.255.255 * 0 U C
192.168.0.250 255.255.255.255 * 0 U H L
IPv6 Address Len Gateway Metric Flags
------------------------------------------------------------
2000:: 64 * 0 U C
2000::10 128 * 0 U H L