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

Page 733

Advertising
background image

Fabric OS Command Reference

703

53-1003131-01

portCfg

2

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

ge0 2000::1:250 / 128 * U H L

ge0 2010:: / 64 2000::1:250 U G S

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

---

Flags: U=Usable G=Gateway H=Host C=Created(Interface)

S=Static L=LinkLayer X=Crossport

To create an IP route for a failover crossport on a Brocade FX8-24:

1.

Configure the iproute for the local XGE port (xge0).

switch:admin> portcfg iproute 8/xge0 create 2.2.2.0 \

netmask 255.255.255.0 192.168.11.250

Operation Succeeded

2.

Configure the interface for the nonlocal XGE port (xge1).

switch:admin> portcfg ipif 8/xge1 create 1.1.1.0 \

netmask 255.255.255.0 192.168.11.250 -x

Operation Succeeded

3.

The IP route will be available for circuits on VE ports 22-31. The output from portshow iproute for
the same route shows the crossport tag.

switch:admin> portshow iproute 8/xge0

Port IP Address / Pfx Gateway Flags

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

---

8/xge0 192.168.0.0 / 24 * U C

8/xge0 192.168.0.111 / 32 * U H L

8/xge0 192.168.1.0 / 24 * U C X

8/xge0 192.168.1.111 / 32 * U H L X

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

---

Flags: U=Usable G=Gateway H=Host C=Created(Interface)

S=Static L=LinkLayer X=Crossport

To delete the crossport IP route:

switch:admin> portcfg iproute 8/xge1 delete \

1.1.1.0 netmask 255.255.255.0 -x

Operation Succeeded

To delete a static IP route using an IPv4 address:

switch:admin> portcfg iproute ge0 delete \

172.16.0.0 netmask 255.255.0.0

Operation Succeeded

Advertising