Fabric OS Command Reference
607
53-1001764-01
portCfg
2
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
Summary of Contents for Fabric OS v7.0.1
Page 1: ...53 1002447 01 15 December 2011 Fabric OS Command Reference Supporting Fabric OS v7 0 1 ...
Page 6: ...vi Fabric OS Command Reference 53 1002447 01 ...
Page 30: ...4 Fabric OS Command Reference 53 1002447 01 Using the command line interface 1 ...
Page 1132: ...1106 Fabric OS Command Reference 53 1002447 01 General Fabric OS commands and permissions A ...