Reference Guide

630 Brocade Fabric OS Command Reference
53-1004112-02
portCfg
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.169.0.20 netmask 255.255.255.0 mtu 1500
Operation Succeeded
2. Configure the interface for the nonlocal XGE port (xge1).
switch:admin> portcfg ipif 8/xge1 create \
192.169.0.20 netmask 255.255.255.0 -x
Operation Succeeded
3. The IP address 192.168.11.20 will be available for circuits on VE_Ports 22-31 on the Brocade FX8-24
extension blade. The output from portshow ipif for the same address shows the crossport tag.
switch:admin> portshow ipif 8/xge0
Port IP Address / Pfx MTU VLAN Flags
--------------------------------------------------------------------------------
8/xge0 192.168.10.20 / 24 1500 n/a U R M
8/xge0 192.168.11.21 / 24 1500 n/a U R M X
--------------------------------------------------------------------------------
Flags: U=Up B=Broadcast D=Debug L=Loopback P=Point2Point R=Running
N=NoArp PR=Promisc M=Multicast S=StaticArp LU=LinkUp X=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 netmask 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 IP Address / Pfx Gateway Flags
--------------------------------------------------------------------------------
ge0 192.168.0.0 / 24 * U C
ge0 2000:: / 64 * U C
ge0 2000::10 / 128 * U H L