21
Related commands:
irf member priority
.
Examples
# Assign IRF member priority 32 to the device in standalone mode.
<Sysname> system-view
[Sysname] irf priority 32
irf switch-to
Syntax
irf switch-to chassis
chassis-number
slot
slot-number
View
System view
Default level
3: Manage level
Parameters
chassis
chassis-number
slot
slot-number
: Specifies a standby MPU. The
chassis-number
argument
represents the member ID of the device that has this MPU, and the
slot-number
argument represents the
slot number of the MPU. You can display the member ID and slot number with the
display device
command.
Description
Use
irf switch-to
to log in to a standby MPU in the IRF fabric.
When you log in to an IRF fabric, you are placed at the CLI of the global active MPU, regardless of at
which member device you are logged in. After that, you can access the CLI of a standby MPU to execute
the following maintenance commands:
•
display
•
quit
•
return
•
system-view
•
debugging
•
terminal debugging
•
terminal logging
•
terminal monitor
•
terminal trapping
When you log in to a standby MPU's CLI, you are placed in the standby MPU's user view and the
command prompt changes to
<Sysname-Slave#member-ID/slot-number>
, for example,
<Sysname-Slave#1/0>.
To return to the CLI of the global active MPU, use the
quit
command.
Examples
# Log in to the CLI of the standby MPU in slot 1 of IRF member 1.
[Sysname] irf switch-to chassis 1 slot 1
[Sysname-Slave#1/1]