Brocade Fabric OS Command Reference Manual Supporting Fabric OS v6.3.0 (53-1001337-01, July 2009)

Fabric OS Command Reference 579
53-1001337-01
portCfg
2
portcfg iproute [slot/][ge]port option arguments
Valid options and arguments for iproute are:
create dest_ipaddr [gateway_router] metric
Creates an IP route. Specify the following
dest_ipaddr Specifies the destination IP address in either IPv6 or IPv4 format:
dest_IPv6_addr/prefix_len
Specifies the destination IPv6 address of the virtual port, if IPv6 is used.
The address must be an IPv6 global, unicast address, followed by a
prefix. This is used for IPv6 addresses instead of a netmask. The
prefix_len operand is required.
dest_IPv4_addr netmask
Specifies the destination IPv4 address of the virtual port, if IPv4 is used.
If an IPv4 address is used, the subnet mask must be specified as well.
Use a.b.c.d. format.
gateway_router Specifies the IP address of an IP router that can route packets to the
destination virtual port IP address. The gateway address must be on the
same IP subnet as one of the port IP addresses. This operand is optional
with IPv6 addresses. If not specified, the gateway_router learned from
the Neighbor Discovery protocol is used.
metric Specifies the link metric associated with the route. Valid values are
0-255. The default value is 0. A low value encourages the use of the
route, and a high value discourages the use of the route. This operand is
valid only on the Brocade 7500/7500E/FR4-18i platforms.
This operand is not valid on the Brocade 7800 and FX8-24.
delete ipaddr Deletes IP routes for a specified IPv4 or IPv6 address.
ipaddr Specifies IP address in either IPv6 or IPv4 format:
IPv6_addr/prefix_len
Specifies the IPv6 address of the virtual port, if IPv6 is used. The address
must be an IPv6 global, unicast address, followed by a prefix. The
prefix_len operand is required.
dest_IPv4_addr netmask
Specifies the destination IPv4 address of the virtual port, if IPv4 is used.
If an IPv4 address is used, the subnet mask must be specified as well.
Use a.b.c.d. format.
Examples To create an IP interface using IPv4:
switch:admin> portcfg ipif 4/ge0 create 11.81.0.110. 255.0.0.0 1500
Operation Succeeded
switch:admin> portshow ipif 4/ge0
Port: ge0
Interface IP Address NetMask MTU
---------------------------------------
0 11.81.0.110 255.0.0.0 1500