Brocade Fabric OS Command Reference (Supporting Fabric OS v7.3.0) User Manual

Page 732

Advertising
background image

702

Fabric OS Command Reference

53-1003131-01

portCfg

2

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 IP Address / Pfx MTU VLAN Flags

-----------------------------------------------------------------------------

---

ge0 192.180.0.20 / 24 1500 n/a U R M

ge0 192.168.0.21 / 24 1500 n/a U R M

ge0 2000::10 / 64 1500 n/a 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 X=Crossport

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.0.0.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.0.0.0 -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 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

Advertising