
Examples
# Switch the operating mode of the switch from standalone to IRF mode.
<Sysname> system-view
[Sysname] chassis convert mode irf
The device will switch to IRF mode and reboot. You are recommended to save the current
running configuration and specify the configuration file for the next startup. Continue?
[Y/N]:y
Do you want to convert the content of the next startup configuration file flash:/startup.cfg
to make it available in IRF mode? [Y/N]:y
Please wait...
Saving the converted configuration file to the main board succeeded.
Slot 1:
Saving the converted configuration file succeeded.
Now rebooting, please wait...
# When the switch operates in IRF mode, switch the operating mode of the switch to standalone mode.
<Sysname> system-view
[Sysname] undo chassis convert mode
The device will switch to stand-alone mode and reboot. You are recommended to save the
current running configuration and specify the configuration file for the next startup.
Continue? [Y/N]:y
Do you want to convert the content of the next startup configuration file flash:/startup.cfg
to make it available in stand-alone mode? [Y/N]:y
Please wait...
Saving the converted configuration file to the main board succeeded.
Chassis 2 Slot 1:
Saving the converted configuration file succeeded.
Now rebooting, please wait...
display irf
Syntax
display irf
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
View
Any view
Default level
1: Monitor level
Parameters
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see
Fundamentals Configuration Guide
.
begin
: Displays the first line that matches the specified regular expression and all lines that follow.
exclude
: Displays all lines that do not match the specified regular expression.
include
: Displays all lines that match the specified regular expression.
regular-expression
: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
2