Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)

Send comments to nx5000-docfeedback@cisco.com
8-63
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 8 Fibre Channel Commands
fcroute
fcroute
To configure Fibre Channel routes and to activate policy routing, use the fcroute command. To remove
a configuration or revert to factory defaults, use the no form of the command.
fcroute {fcid [network-mask] interface {fc slot/port | san-port-channel port | vfc vfc-id} domain
domain-id {metric number | remote | vsan vsan-id}}
no fcroute {fcid network-mask interface {fc slot/port | san-port-channel port | vfc vfc-id} domain
domain-id {metric number | remote | vsan vsan-id}}
Syntax Description
Command Default None
Command Modes Configuration mode
Command History
Usage Guidelines Use this command to assign forwarding information to the switch and to activate a preferred path route
map.
Examples The following example specifies the Fibre Channel interface and the route for the domain of the next hop
switch for VSAN 2:
switch(config)# fcroute 0x111211 interface fc3/1 domain 3 vsan 2
The following example specifies the SAN port channel interface and the route for the domain of the next
hop switch for VSAN 4:
switch(config)# fcroute 0x111211 interface san-port-channel 1 domain 3 vsan 4
fcid Specifies the FC ID. The format is 0xhhhhhh.
network-mask Specifies the network mask of the FC ID. The format is 0x0 to 0xffffff.
interface Specifies an interface.
fc slot/port Specifies a Fibre Channel interface.
san-port-channel port Specifies a SAN port channel interface.
vfc vfc-id Specifies a virtual Fibre Channel interface.
domain domain-id Specifies the route for the domain of the next hop switch. The range is 1 to
239.
metric number Specifies the cost of the route. The range is 1 to 65535. Default cost is 10.
remote Configures the static route for a destination switch remotely connected.
vsan vsan-id Specifies a VSAN ID. The range is 1 to 4093.
Release Modification
4.0(0)N1(1a) This command was introduced.