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

Fabric OS Command Reference 597
53-1001337-01
portCfg
2
routeadd destination netmask [gateway]
Adds a route to the management station for an existing CP or GbE port (CP or
GbE designation is made automatically). You must specify the destination IP
address and the subnet mask when adding a management route. You must
create the IP addresses for the CP and the GbE port interfaces before you can
add a route to the routing table. Use portshow iproute to display existing
routes. Use portshow inbandmgmt to display the management interface
status and IP addresses.
routedel destination netmask
Deletes a management route from an internal CP or a GbE port interface. You
must specify the destination and the subnet mask when deleting a
management route.
destination Specifies the destination for the route. This is the IP address of the
management station. This operand is required when adding or deleting a
route.
netmask Specifies the subnet mask. This operand is required when adding or
deleting a route.
gateway Specifies the gateway IP address. This operand is optional if the
destination is in the same subnet as one of the IP interface addresses. If
the destination is not part of the same subnet, you must specify a
gateway IP address.
Examples To configure the internal addresses for the CP and GbE port inband management interfaces:
switch:admin> portcfg inbandmgmt ge0 ipaddrset cp 192.168.255.1 255.255.255.0
switch:admin> portcfg inbandmgmt ge0 ipaddrset ge 192.168.255.2 255.255.255.0
To add a route to a management station that is on the same subnet as the management interface
IP addresses in the previous example:
switch:admin> portcfg inbandmgmt ge0 routeadd 192.168.3.0 255.255.255.0
To configure a route for a management station that is on a different subnet (note the added
gateway IP address):
switch:admin> portcfg inbandmgmt ge0 routeadd 192.168.3.0 255.255.255.0 192.168.1.250
See Also portCfgShow, portCmd, portShow, switchShow, configure, fastWriteCfg