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 this 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 }}
|
fcid
|
FC ID. The format is 0xhhhhhh.
|
|
network-mask
|
(Optional) Network mask of the FC ID. The format is 0x0 to 0xffffff.
|
|
interface
|
Specifies an interface.
|
|
fc
slot
/
port
|
Specifies a Fibre Channel interface and its slot number and port number.
|
|
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 from 1 to 239.
|
|
metric
number
|
Specifies the cost of the route. The range is from 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 from 1 to 4093.
|
None
Global configuration mode
|
Release
|
Modification
|
|
4.0(0)N1(1a)
|
This command was introduced.
|
Use this command to assign forwarding information to the switch and to activate a preferred path route map.
This example shows how to specify the Fibre Channel interface and the route for the domain of the next hop switch for VSAN 2:
This example shows how to specify the SAN port channel interface and the route for the domain of the next hop switch for VSAN 4:
This example shows how to specify the Fibre Channel interface, the route for the domain of the next hop switch, and the cost of the route for VSAN 1:
This example shows how to specify the Fibre Channel interface, the route for the domain of the next hop switch, the cost of the route, and configures the static route for a destination switch remotely connected for VSAN 3:
|
Command
|
Description
|
|---|---|
|
show fcroute
|
Displays Fibre Channel routes.
|
|
fcroute-map
|
Specifies a preferred path Fibre Channel route map.
|
|
show fcroute-map
|
Displays the preferred path route map configuration and status.
|
|
fcroute policy fcroute-map
|
Activates the preferred path Fibre Channel route map.
|