Brocade Fabric OS Command Reference - Supporting Fabric OS v7.0.1 (53-1002447-01, March 2012)

608 Fabric OS Command Reference
53-1001764-01
portCfg
22
2000::11 128 * 0 U H L
2000::1:250 128 * 0 U H L
2001:: 64 2000::1:250 0 U G
fe80:: 64 * 0 U C
ff01:: 32 * 0 U C
ff02:: 32 * 0 U C
Flags: U=Usable G=Gateway H=Host C=Created(Interface) S=Static
L=LinkLayer(Arp)
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 \
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 \
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: 8/xge0
IP Address Mask Gateway Metric Flags
-------------------------------------------------------------
2.2.2.0 255.255.255.128 192.168.10.251 0 U G S
2.2.2.0 255.255.255.0 192.168.10.250 0 U G S
192.168.10.0 255.255.255.0 * 0 U C
192.168.10.250 255.255.255.255 * 0 U H L
192.168.10.251 255.255.255.255 * 0 U H L
1.1.1.0 255.255.255.0 192.168.11.250 0 U G S (crossport)
192.168.11.0 255.255.255.0 * 0 U C (crossport)
192.168.11.250 255.255.255.255 * 0 U H L (crossport)
To delete the crossport IP route:
switch:admin> portcfg iproute 8/xge1 delete \
1.1.1.0 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 255.255.0.0
Operation Succeeded
To create a network-wide permanent VLAN tag entry with a VLAN ID of 200 and an L2 CoS value of 5 (no
destination address):
switch:admin> portcfg vlantag ge2 add \
192.168.2.10 200 5
Operation Succeeded