The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco NX-OS Fibre Channel, virtual Fibre Channel, and Fibre Channel over Ethernet (FCoE) commands that begin with R.
To specify a preferred host to receive Registered Link Incident Report (RLIR) frames, use the rlir preferred-cond fcid command. To remove a preferred host, use the no form of this command.
rlir preferred-cond fcid fc-id vsan vsan-id
no rlir preferred-cond fcid fc-id vsan vsan-id
fcid fc-id |
Specifies the FC ID. The format is 0xhhhhhh. |
vsan vsan-id |
Specifies a VSAN ID. The range is from 1 to 4093. |
By default, the switch sends RLIR frames to one of the hosts in the Virtual SAN (VSAN) with the register function set to "conditionally receive" if no hosts have the register function set to "always receive."
Global configuration mode
|
|
---|---|
4.0(0)N1(1a) |
This command was introduced. |
The switch sends RLIR frames to the preferred host only if it meets the following conditions:
•No host in the VSAN is registered for RLIR with the registration function set to "always receive." If one or more hosts in the VSAN are registered as "always receive," then RLIR sends only to these hosts and not to the configured preferred host.
•The preferred host is registered with the registration function set to "conditionally receive." If all registered hosts have the registration function set to "conditionally receive," then the preferred host receives the RLIR frames.
You can specify only one RLIR preferred host per VSAN.
This example shows how to specify the FCID 0x654321 as the RLIR preferred host for VSAN 2:
switch(config)# rlir preferred-cond fcid 0x654321 vsan 2
This example shows how to remove the FCID 0x654321 as the RLIR preferred host for VSAN 2:
switch(config)# no rlir preferred-cond fcid 0x654321 vsan 2
To configure a registered state change notification (RSCN), which is a Fibre Channel service that informs N ports about changes in the fabric, use the rscn command.
rscn {multi-pid | suppress domain-swrscn} vsan vsan-id
None
Global configuration mode
|
|
4.0(0)N1(1a) |
This command was introduced. |
This example shows how to configure RSCNs in multi-PID format:
switch(config)# rscn multi-pid vsan 1
|
|
---|---|
show rscn src-table |
Displays the state change registration table. |
show rscn statistics |
Displays RSCN statistics. |
To cancel a Registered State Change Notification (RSCN) configuration on a Virtual SAN (VSAN), use the rscn abort command. To reverse the cancellation, use the no form of this command.
rscn abort vsan vsan-id
no rscn abort vsan vsan-id
vsan vsan-id |
Specifies a VSAN where the RSCN configuration should be canceled. The ID of the VSAN is from 1 to 4093. |
None
Global configuration mode
|
|
---|---|
4.0(0)N1(1a) |
This command was introduced. |
This example shows how to cancel an RSCN configuration on VSAN 1:
switch(config)# rscn abort vsan 1
To apply a pending Registered State Change Notification (RSCN) configuration, use the rscn commit command. To discard a pending RSCN configuration, use the no form of this command.
rscn commit vsan vsan-id
no rscn commit vsan vsan-id
vsan vsan-id |
Specifies a VSAN where the RSCN configuration should be committed. The ID of the VSAN is from 1 to 4093. |
None
Global configuration mode
|
|
---|---|
4.0(0)N1(1a) |
This command was introduced. |
If you commit the changes made to the active database, the configuration is committed to all the switches in the fabric. On a successful commit, the configuration change is applied throughout the fabric and the lock is released.
This example shows how to commit an RSCN configuration on VSAN 1:
switch(config)# rscn commit vsan 1
To enable distribution of a Registered State Change Notification (RSCN) configuration, use the rscn distribute command. To disable the distribution, use the no form of this command.
rscn distribute
no rscn distribute
This command has no arguments or keywords.
RSCN timer distribution is disabled.
Global configuration mode
|
|
---|---|
4.0(0)N1(1a) |
This command was introduced. |
The RSCN timer configuration must be the same on all switches in the Virtual SAN (VSAN). Cisco Fabric Service (CFS) automatically distributes the RSCN timer configuration to all switches in a fabric. Only the RSCN timer configuration is distributed.
This example shows how to enable the distribution of an RSCN configuration:
switch(config)# rscn distribute
To configure an event timeout value for a Registered State Change Notification (RSCN) on a specified Virtual SAN (VSAN), use the rscn event-tov command. To cancel the event timeout value and restore the default value, use the no form of this command.
rscn event-tov timeout vsan vsan-id
no rscn event-tov timeout vsan vsan-id
timeout |
Event timeout value in milliseconds. The range is from 0 to 2000. |
vsan vsan-id |
Specifies a VSAN where the RSCN event timer should be used. The ID of the VSAN is from 1 to 4093. |
The default timeout values are 2000 milliseconds for Fibre Channel VSANs.
Global configuration mode
|
|
---|---|
4.0(0)N1(1a) |
This command was introduced. |
Before changing the timeout value, you must enable RSCN configuration distribution using the rscn distribute command.
The RSCN timer is registered with Cisco Fabric Services (CFS) during initialization and switchover.
This example shows how to configure an RSCN event timeout value on VSAN 1:
switch(config)# rscn event-tov 20 vsan 1