H3C S9500E Series Command Reference Manual

Category
Network switches
Type
Command Reference Manual
H3C S9500E Series Routing Switches
IRF Command Reference
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Software version: S9500E-CMW520-R1725
Document version: 6W170-20111118
Copyright © 2011, Hangzhou H3C Technologies Co., Ltd. and its licensors
All rights reserved
No part of this manual may be reproduced or transmitted in any form or by any means without prior
written consent of Hangzhou H3C Technologies Co., Ltd.
Trademarks
H3C, , Aolynk, , H
3
Care, , TOP G, , IRF, NetPilot, Neocean, NeoVTL,
SecPro, SecPoint, SecEngine, SecPath, Comware, Secware, Storware, NQA, VVG, V
2
G, V
n
G, PSPT,
XGbus, N-Bus, TiGem, InnoVision and HUASAN are trademarks of Hangzhou H3C Technologies Co.,
Ltd.
All other trademarks that may be mentioned in this manual are the property of their respective owners
Notice
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute the warranty of any kind, express or implied.
Preface
The H3C S9500E documentation set includes 14 command references, which describe the commands
and command syntax options available for the H3C S9500E Series Routing Switches.
The IRF Command Reference describes Intelligent Resilient Framework (IRF) configuration commands.
This preface includes:
Audience
Conventions
About the H3C S9500E documentation set
Obtaining documentation
Technical support
Documentation feedback
Audience
This documentation is intended for:
Network planners
Field technical support and servicing engineers
Network administrators working with the S9500E series
Conventions
This section describes the conventions used in this documentation set.
Command conventions
Convention Descri
p
tion
Boldface Bold text represents commands and keywords that you enter literally as shown.
Italic Italic text represents arguments that you replace with actual values.
[ ] Square brackets enclose syntax choices (keywords or arguments) that are optional.
{ x | y | ... }
Braces enclose a set of required syntax choices separated by vertical bars, from which
you select one.
[ x | y | ... ]
Square brackets enclose a set of optional syntax choices separated by vertical bars, from
which you select one or none.
{ x | y | ... } *
Asterisk marked braces enclose a set of required syntax choices separated by vertical
bars, from which you select at least one.
[ x | y | ... ] *
Asterisk marked square brackets enclose optional syntax choices separated by vertical
bars, from which you select one choice, multiple choices, or none.
&<1-n>
The argument or keyword and argument combination before the ampersand (&) sign can
be entered 1 to n times.
# A line that starts with a pound (#) sign is comments.
Symbols
Convention Descri
p
tion
WARNING
An alert that calls attention to important information that if not understood or followed can
result in personal injury.
CAUTION
An alert that calls attention to important information that if not understood or followed can
result in data loss, data corruption, or damage to hardware or software.
IMPORTANT
An alert that calls attention to essential information.
NOTE
An alert that contains additional or supplementary information.
TIP
An alert that provides helpful information.
Port numbering in examples
The port numbers in this document are for illustration only and might be unavailable on your switch.
About the H3C S9500E documentation set
The H3C S9500E documentation set includes:
Cate
g
or
y
Documents
Pur
p
oses
Product description and
specifications
Marketing brochures
Describe product specifications and benefits.
Technology white papers
Provide an in-depth description of software features
and technologies.
Card datasheets
Describe card specifications, features, and
standards.
Hardware specifications
and installation
Regulatory compliance
and safety information
Provides regulatory information and the safety
instructions that must be followed during installation.
Installation guide
Provides a complete guide to hardware installation
and hardware specifications.
H3C N68 Cabinet
Installation and Remodel
Introduction
Guides you through installing and remodeling H3C
N68 cabinets.
H3C Pluggable SFP
[SFP+][XFP] Transceiver
Modules Installation
Guide
Guides you through installing SFP/SFP+/XFP
transceiver modules.
H3C High-End Network
Products Hot-Swappable
Module Manual
Describes the hot-swappable modules available for
the H3C high-end network products, their external
views, and specifications.
Software configuration
Configuration guides
Describe software features and configuration
procedures.
Command references
Provide a quick reference to all available
commands.
Operations and
maintenance
System log messages
Explains the system log messages.
Trap messages Explains the trap messages.
Cate
g
or
y
Documents
Pur
p
oses
MIB Companion Describes the MIBs for the software release.
Release notes
Provide information about the product release,
including the version history, hardware and software
compatibility matrix, version upgrade information,
technical support information, and software
upgrading.
Obtaining documentation
You can access the most up-to-date H3C product documentation on the World Wide Web
at http://www.h3c.com
.
Click the links on the top navigation bar to obtain different categories of product documentation:
[Technical Support & Documents > Technical Documents]
– Provides hardware installation, software
upgrading, and software feature configuration and maintenance documentation.
[Products & Solutions]
Provides information about products and technologies, as well as solutions.
[Technical Support & Documents > Software Download]
– Provides the documentation released with the
software version.
Technical support
http://www.h3c.com
Documentation feedback
You can e-mail your comments about product documentation to info@h3c.com.
We appreciate your comments.
Contents
IRF configuration commands ······································································································································· 1
chassis convert mode irf ·········································································································································· 1
display irf ·································································································································································· 2
display irf configuration ··········································································································································· 4
display irf topology ·················································································································································· 5
display mad ······························································································································································ 6
display restricted port ·············································································································································· 8
irf auto-merge enable ··············································································································································· 9
irf auto-update enable ··········································································································································· 10
irf domain ······························································································································································· 10
irf link-delay ···························································································································································· 11
irf link-status detect enable ··································································································································· 12
irf link-status auto-recovery enable ······················································································································· 12
irf mac-address persistent ····································································································································· 13
irf member ······························································································································································ 14
irf member description ·········································································································································· 15
irf member priority ················································································································································· 16
irf member renumber ············································································································································· 16
irf mode enhanced ················································································································································ 18
irf priority ································································································································································ 19
irf switch-to ····························································································································································· 20
irf-port member-id/port-number···························································································································· 21
irf-port port-number ················································································································································ 22
mad arp enable ····················································································································································· 22
mad bfd enable ····················································································································································· 23
mad enable ···························································································································································· 24
mad exclude interface ·········································································································································· 24
mad ip address ······················································································································································ 25
mad restore ···························································································································································· 26
port group interface ·············································································································································· 27
set irf slot member-id ············································································································································· 28
Index ············································································································································································· 1
i
IRF configuration commands
chassis convert mode irf
Syntax
chassis convert mode irf
undo chassis convert mode
View
System view
Default level
3: Manage level
Parameters
None
Description
Use the chassis convert mode irf command to switch the operating mode of the switch to Intelligent
Resilient Framework (IRF) mode.
Use the undo chassis convert mode command to switch the operating mode of the switch to standalone
mode.
The switch operates in standalone mode when shipped. If the operating mode is switched, the switch
reboots automatically to make the new operating mode take effect. If the operating mode is not
switched, the switch operates in the same mode when it reboots.
Configure the operating mode of the switch according to the network requirements: when the operating
mode switches to IRF, an IRF fabric is formed even if there is only one member. A one-member IRF fabric
also needs to be managed and maintained, and thus consumes system resources. Therefore, if a switch
does not need to form an IRF fabric with other switches, you are recommended to configure its
operating mode as standalone mode.
Configure the operating mode of the switch according to the network requirements: when the operating
mode of the switch switches to IRF, an IRF fabric is formed even if there is only one member. A
one-member IRF fabric also needs to be managed and maintained, and thus consumes system
resources. Therefore, if a switch does not need to form an IRF fabric with other devices, H3C
recommends that you configure its operating mode as standalone mode.
As soon as you switch the operating mode, the switch automatically reboots to make the changes
effective. It is a good practice to save the running configuration before switching operating mode.
If the member ID of the device is not set, you must first set the member ID of the switch, and then
execute the chassis convert mode irf command. To display the member ID of the switch, use the
display irf configuration command. If the MemberID field is displayed as , the member ID of the
switch is not set yet.
To avoid member ID collision with other members when the switch is added into an IRF fabric, plan
the member ID of this switch when it operates in standalone mode.
For a switch operating in IRF mode, you cannot configure the system working mode to hybrid. For
more information about the system working mode, see Fundamentals Configuration Guide.
1
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
Description
Use the display irf command to display information about the IRF fabric.
Examples
# Display information about the IRF fabric.
<Sysname> display irf
Switch Slot Role Priority CPU-Mac Description
*+1 0 Master 1 00e0-fc0a-15e0 F1Num001
1 1 Slave 1 00e0-fc0f-8c02 F1Num002
------------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.
The Bridge MAC of the IRF is: 000f-e26a-58ed
Auto upgrade : no
Mac persistent : always
Domain ID : 30
Auto merge : No
Table 1 Output description
Field Descri
p
tion
Switch
Member ID.
The ID of the master is prefixed with an asterisk (*) sign.
The ID of the switch where you are logged in is prefixed with a plus (+)
sign.
Slot Number of the slot on which the active main processing unit (MPU) resides
Role
The role of a MPU of the IRF fabric, which may take the following values:
Slave—Standby MPU of the IRF fabric.
Master—Active MPU of the IRF fabric.
SlaveWait—Standby MPU of the IRF fabric. It is joining the IRF fabric.
Loading—Standby MPU of the IRF fabric. It is loading the system boot
file.
CPU-MAC Bridge MAC address of the CPU of the switch
Description
Description of the member switch (----- is displayed if the description of the
switch is not configured)
If the description of the member switch exceeds one line, … is displayed
at the end of the line and the reset information is not displayed. To view
the complete description, execute the display current-configuration
command.
Auto upgrade
Whether the auto upgrade of configuration files is enabled:
yes—Enabled
no—Disabled
3
Field Descri
p
tion
nt
c:Preservation information about the bridge MAC address of the IRF fabri
6 min—When the master leaves, the bridge MAC address does not
change for six minutes.
always—The br
MAC persiste
idge MAC address remains unchanged even if the
e IRF fabric.
no—As soon as the master leaves, the IRF fabric uses the bridge MAC
address of the newly elected master as its bridge MAC address.
master leaves th
Domain ID
Domain ID assigned to an IRF fabric
identify an IRF fabric when there are
. A domain ID is used to uniquely
multiple IRF fabrics in the network.
Auto merge
yes—Enabled
Whether the auto-reboot for IRF fabric merge is enabled:
no—Disabled
rf configuration
Syntax
lay irf configuration [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
Paramete
ressions, see Fundamentals Configuration Guide.
h the specified regular expression.
lude: Displays all lines that match the specified regular expression.
s a regular expression, a case-sensitive string of 1 to 256 characters.
Descripti
ers’ IRF configurations that take effect
Examples
, display all members’ IRF configurations that take
at take effect after
switch reboot.
<Sysname> display irf configuration
MemberID NewID IRF-Port1 IRF-Port2
display i
disp
1: Monitor level
rs
|: Filters command output by specifying a regular expression. For more information about regular
exp
begin: Displays the first line that matches the specified regular expression and all lines that follow.
lude: Displays all lines that do not matcexc
inc
regular-expression: Specifie
on
Use the display irf configuration command to display all memb
after switch reboot.
# When the switch operates in standalone mode
effect after switch reboot.
<Sysname> display irf configuration
MemberID Priority IRF-Port1 IRF-Port2
-- 1 disable disable
# When the switch operates in IRF mode, display all members’ IRF configurations th
4
1 1 Ten-GigabitEthernet1/8/0/1 disable
Ten-GigabitEthernet1/8/0/2
2 2 disable Ten-GigabitEthernet2/12/0/1
tEthernet2/12/0/2
T ut description
Field
Ten-Gigabi
able 2 Outp
Descri
p
tion
MemberID
r ID of this switch is not
Current mMember ID of the switch
If this field is displayed as --, it indicates that the membe
set.
Priority
Member priority
This field is displayed only when the switch operates in standalone mode.
New-ID
t The member ID configured for a switch after its reboo
This field is displayed only when the switch operates in IRF mode.
IRF-Port1
rts; If it is displayed as
disable, it indicates that the IRF port is not enabled.
Configuration of IRF–Port1. If it is displayed as multiple ports, it indicates that
the IRF port is aggregated from these physical IRF po
Configuration of IRF–Port2. If it is displayed as multiple ports, it indicates that
the IRF port is aggregated from these physical IRF ports; If it is displayed as
disable, it indicates that the IRF port is not enabled.
IRF-Port2
lay irf topology
Syntax
ay irf topology [ | { begin | exclude | include } regular-expression ]
View
view
Default le
1: Monitor level
Parameters
ormation about regular
lude: Displays all lines that do not match the specified regular expression.
gular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Descripti
y topology information about the IRF fabric.
Examples
disp
displ
Any
vel
|: Filters command output by specifying a regular expression. For more inf
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exc
include: Displays all lines that match the specified regular expression.
re
on
Use the display irf topology command to displa
# Display the topology information for the IRF fabric.
<Sysname> display irf topology
Topology Info
5
-------------------------------------------------------------------------
Link neighbor Link neighbor Belong To
UP 2 00e0-fc0f-8c0f
-- 00e0-fc0f-8c0f
T ve information show rt 2 of member switch 1 connects with IRF-port 1 of member
s
T tput description
IRF-Port1 IRF-Port2
Switch
1 DIS --
2 UP 1 DOWN
he abo s that IRF-po
witch 1.
able 3 Ou
Field Descri
p
tion
Switch Member ID
IRF-Port 1 tion of IRF-Port 1, including link (link state) and neighbor. Informa
IRF-Port 2 Information of the IRF-Port 2, including link and neighbor.
Link
Link state of the IRF port:
UP
DOWN
DIS—The IRF port is not bound to any physical IRF port.
TIMEOUT—The IRF packet has been timed out.
neighbor
The switch ID that connects to this IRF port
If the IRF port does not connect to any switch, -- is displayed.
The IRF fabric that the switch belongs to, represented by the CPU MAC address
of the master.
Belong To
lay mad
Syntax
ay mad [ verbose ] [ | { begin | exclude | include } regular-expression ]
View
view
Default le
Paramete
e
ation about regular
lude: Displays all lines that do not match the specified regular expression.
gular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
disp
displ
Any
vel
1: Monitor level
rs
verbose: Displays detailed information about the MAD detection. If this keyword is not provided, th
system displays brief information about the MAD detection.
|: Filters command output by specifying a regular expression. For more inform
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exc
include: Displays all lines that match the specified regular expression.
re
6
Descripti
ommand to display information about the MAD detection.
Examples
detection.
AD detection.
/2
not be configured):
port:
Bridge-Aggregation2
MAD BFD enabled interface:
Vlan-interface10
mad ip address 10.0.0.3 2
Table 4
on
Use the display mad c
# Display the enable status of MAD
<Sysname> display mad
MAD LACP enabled.
MAD BFD enabled.
# Display the detailed information about the M
<Sysname> display mad verbose
Current MAD status: Detect
Excluded ports(configurable):
GigabitEthernet 2/1/0
GigabitEthernet 2/1/0/3
Excluded ports(can
Ten-GigabitEthernet1/2/0/25
Ten-GigabitEthernet2/2/0/26
MAD enabled aggregation
mad ip address 10.0.0.2 255.255.0.0 member 1
55.255.0.0 member 2
Output description
Field Descri
p
tion
MAD LACP enabled
The LACP MAD is enabled (the output information depends on your
configuration).
MAD BFD enabled
The BFD MAD is enabled (the output information depends on your
configuration).
MAD ARP enabled. The ARP MAD is enabled.
MAD LACP disabled The LACP MAD disabled.
MAD BFD disabled The BFD MAD is disabled.
MAD ARP disabled The ARP MAD is disabled.
Current MAD status
Status of MAD detection, which can be:
Detect—The IRF fabric is normal.
Recovery—The IRF fabric is in recovery state. When detecting a
rts that are configured not to shut down.
very due to IRF fabric partition.
itioning from
red.
multi-active collision, MAD places the IRF fabric with higher master ID
in recovery state and shuts down all physical ports in the switch but the
IRF ports and the po
Detect to Recovery—The state of the IRF fabric is transitioning from
detect to reco
Recovery to Detect—The state of the IRF fabric is trans
recovery to detect when the failed IRF link is recove
Excluded ports (configurable)
s
to recovery state.
Ports manually configured not to shut down when the IRF fabric transition
7
Field Descri
p
tion
Excluded ports (can not be Ports set by default not to shut down when the IRF fabric transitions to
configured) recovery state.
MAD enabled aggregation port The aggregate interface where LACP MAD is enabled.
MAD BFD enabled interface The aggregate interface where BFD MAD is enabled.
Vlan-interface10
mad ip address 10.0.0.2
255.255.0.0 member 1
MAD IP addresses in the IRF fabric, including the Layer 3 interface on
which the MAD IP is configured, and the MAD IP address of each
member switch.
mad ip address 10.0.0.3
255.255.0.0 member 2
MAD ARP enabled interface The interface where ARP MAD is enabled.
display restricted port
Syntax
ay restricted port [ chassis chassis-number [ slot slot-number ] ] [ | { begin | exclude | include }
n ]
Default le
Parameters
ber
slot-number argument represents the
lay
information about regular
expressions, see Fundamentals Configuration Guide.
: Displays the first line that matches the specified regular expression and all lines that follow.
pression.
Descripti
ystem does not receive or forward multicast packets.
you do not provide the slot keyword, the command displays the restricted ports on all cards of the
mmand displays the restricted ports on all
F fabric.
displ
regular-expressio
View
Any view
vel
1: Monitor level
chassis chassis-number slot slot-number: Specifies a card on an IRF member switch. The chassis-num
argument represents the ID of the IRF member switch, and the
number of the slot that holds the card. You can display the member ID and slot number with the disp
device command.
|: Filters command output by specifying a regular expression. For more
begin
exclude: Displays all lines that do not match the specified regular ex
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.
on
Use the display restricted port command to display restricted ports.
A restricted port in the s
If
specified member switch.
If you do not provide the chassis and slot keywords, the co
cards in the IR
8
Examples
s on the card in slot 4 of the member switch 1.
[Sysname]display restricted port chassis 1 slot 4
Chassis: 1
s
estricted port:
igabitEthernet1/4/0/2e
Field Descri
# Display the restricted port
lot: 4
r
GigabitEthernet1/4/0/1 G
Table 5 Output description
p
tion
Chassis Member ID of the switch
irf auto-merge enable
Syntax
irf auto-merge enable
o irf auto-merge enable
View
em view
Default le
Paramete
Descripti
iguration of this
mmand will be lost when you change to the standalone mode, even if you have saved the
nfiguration.
erge that occurs when the IRF link recovers from a link
t the IRF physical ports of the member switches. It does not take effect for the
physical port to an IRF port in IRF mode.
bled on both IRF fabrics that are merging.
# Enable auto reboot for the IRF fabric merge.
w
enable
und
Syst
vel
3: Manage level
rs
None
on
Use the irf auto-merge enable command to enable auto reboot for IRF fabric merge. The function
enables an IRF fabric to automatically reboot its member switches when it is defeated in the master
election during an IRF fabric merge.
Use the undo irf auto-merge enable command to disable this function.
By default, this function is disabled. To complete an IRF fabric merge, you must manually reboot the IRF
fabric that has been defeated in the master election.
This command is available only when the switch is operating in IRF mode. The conf
co
co
The auto reboot function takes effect for an IRF m
failure, or when you connec
IRF merge that occurs when you bind a
This function can work only when it is ena
Examples
<Sysname> system-vie
[Sysname] irf auto-merge
9
irf auto-update enable
e
o irf auto-update enable
View
em view
Default level
Paramete
Descripti
hen you add a switch to the IRF fabric, the automatic boot file updating function compares the
ns of the switch and the IRF master. If the versions are different, the switch automatically
ot,
oin the IRF fabric.
g function cannot correctly work.
Syntax
irf auto-update enabl
und
Syst
3: Manage level
rs
None
on
Use the irf auto-update enable command to automatically synchronize the boot file of the master switch
to the switch you are adding to the IRF fabric.
Use the undo irf auto-update enable command to disable this function.
By default, this function is enabled.
This command is available in IRF mode.
W
software versio
downloads the boot file from the master, sets the downloaded file as the boot file for the next rebo
and automatically reboots with the new boot file to re-join the IRF fabric.
If this function is disabled, you must manually make sure that the joining switch uses the same boot file
as the master switch. If not, the new switch cannot j
PORTANT:
Make sure that the switch you are adding to the IRF fabric is compatible with the software version
running on the master switch. If not, the automatic boot file updatin
IM
After automatically loading the master’s boot file, a slave confi
g
ures the file as the boot file to be used
s efficient space for the new boot file.
F to standalone can cause the loss of the irf auto-update enable
command configuration, even if you have saved the configuration.
at the next boot and reboots automatically.
Check that the switch ha
Changing the operating mode from IR
Examples
# Enable the automatic boot file upgrading function on the IRF fabric.
ew
uto-update enable
omain
-id
<Sysname> system-vi
[Sysname] irf a
irf d
Syntax
irf domain domain
10
undo irf domain
View
em view
Default le
Paramete
Descripti
nd to restore the default.
ediate switch is in an IRF fabric,
u must assign this fabric a different domain ID than the LACP MAD-enabled fabric to avoid false
only when the switch operates in IRF mode. If you assign a domain ID for an
on, and then switch the operating mode of an IRF member switch to
standalone, this configuration loses effect even if you switch the operating mode of the switch to IRF
case, you need to re-assigned the domain ID as needed.
s
f the IRF fabric to 30.
<Sysname> system-view
ain 30
irf link
val
o irf link-delay
View
Parameters
Descripti
elay command to set the delay time for the link layer to report a link-down event of an
IRF fabric.
Syst
vel
3: Manage level
rs
domain-id: Specifies the domain ID assigned to an IRF fabric, ranging from 0 to 4294967295.
on
Use the irf domain command to assign a domain ID for an IRF fabric.
Use the irf domain comma
By default, the domain ID of an IRF fabric is 0.
You may deploy multiple IRF fabrics in one network for various networking applications. Domain IDs are
used to differentiate these IRF fabrics.
work that applies LACP MAD or ARP MAD detection, if the intermIn a net
yo
detection of IRF partition.
This command is available
IRF fabric, save the configurati
again. In this
Example
# Set the domain ID o
[Sysname] irf dom
-delay
Syntax
irf link-delay inter
und
System view
Default level
3: Manage level
interval: Delay time for the link layer to report a link-down event of an IRF fabric, ranging from 200 to
2000 milliseconds.
on
Use the irf link-d
11
Use the undo irf link-delay command to restore the default.
only when the switch is operating in IRF mode. The configuration of this
hange to the standalone mode, even if you have saved the
# Set the delay time for the link layer to report a link-down event of the IRF fabric to 300 milliseconds.
nk-status detect enable
Syntax
-status detect enable
t enable
tem view
3: Manage level
Parameters
Descripti
tion.
F link failure detection automatically checks the health of IRF links. Use this function when your IRF
only when the switch is operating in IRF mode.
ating mode switch. It is lost when you switch the
ou have saved the configuration.
# Disable IRF link failure detection.
t enable
nk-status auto-recovery enable
-status auto-recovery enable
undo irf link-status auto-recovery enable
By default, the delay time for the link layer to report a link-down event of an IRF fabric is 0 milliseconds.
This command is available
command will be lost when you c
configuration.
Examples
<Sysname> system-view
[Sysname] irf link-delay 300
irf li
irf link
undo ir
View
f link-status detec
Sys
Default level
None
on
Use the irf link-status detect enable command to enable IRF link failure detec
Use the undo irf link-status detect enable command to disable IRF link failure detection.
By default, IRF link failure detection is enabled.
IR
fabric has more than one IRF link.
This command is available
The undo form of the command cannot survive an oper
operating mode of the switch to standalone, even if y
Examples
<Sysname> system-view
[Sysname] undo irf link-status detec
irf li
Syntax
irf link
12
View
System view
Paramete
Descripti
able command to enable IRF link auto-recovery.
By default, IRF link auto-recovery is enabled.
n detected by
RF link failure detection function.
hen the switch is operating in IRF mode. You can enable the IRF link
the IRF link failure detection function is enabled.
ode switch. It is lost when you switch the
aved the configuration.
# Disable IRF link auto-recovery.
<Sysname> system-view
overy enable
ac-address persistent
Syntax
ac-address persistent { always | timer }
ess persistent
Default le
Description
mac-address persistent command to configure the preservation time of the bridge MAC
Default level
3: Manage level
rs
None
on
Use the irf link-status auto-recovery en
Use the undo irf link-status auto-recovery enable command to disable IRF link auto-recovery.
IRF link auto-recovery enables the switch to automatically recover a failed link that has bee
the I
This command is available only w
auto-recovery function only when
The undo form of the command cannot survive an operating m
operating mode of the switch to standalone, even if you have s
Examples
[Sysname] undo irf link-status auto-rec
irf m
irf m
undo irf mac-addr
View
System view
vel
3: Manage level
Parameters
always: Bridge MAC address preservation mode for an IRF fabric. With this keyword specified, the
bridge MAC address is preserved permanently.
timer: Bridge MAC address preservation mode for an IRF fabric. With this keyword specified, the
bridge MAC address is preserved for 6 minutes when the master leaves.
Use the irf
address of an IRF fabric.
Use the undo irf mac-address persistent command to configure the IRF fabric not to preserve the bridge
MAC address when the master leaves.
13
By default, the bridge MAC address of the IRF fabric remains unchanged, even if the master leaves the
IRF fabric.
Preserve for six minutes: When the master leaves, the bridge MAC address does not change
within six minutes. If the master does not come back when the preservation time expires, the IRF
ss.
t preserved: As soon as the master leaves, the IRF fabric uses the bridge MAC address of the
newly elected master as its bridge MAC address.
rsistent
d balancing function is enabled when the switch operates in IRF mode, you must
nfigure the preservation time of the IRF bridge MAC address as permanently preserved (which is the
de.
only when the switch is operating in IRF mode. The configuration of this
tandalone mode, even if you have saved the
# Configure the bridge MAC address of the IRF fabric to be preserved permanently.
<Sysname> system-view
dress persistent always
ember
Syntax
ember member-id
Paramete
Descripti
mode.
default.
fabric uses the bridge MAC address of the newly elected master as its bridge MAC addre
Preserve permanently: The bridge MAC address of the IRF fabric remains unchanged, even if the
master leaves the IRF fabric.
No
If IRF fabrics have the same bridge MAC address, they cannot be merged into one IRF fabric.
When you plan a network that uses ARP MAD and MSTP, use the undo irf mac-address pe
command to configure the bridge MAC address of the IRF fabric to change as soon as the master
leaves.
If the VRRP loa
co
default setting). For more information about VRRP, see High Availability Configuration Gui
This command is available
command will be lost when you change to the s
configuration.
Examples
[Sysname] irf mac-ad
irf m
irf m
undo irf member
View
System view
Default level
3: Manage level
rs
member-id: Sets an IRF member ID for the switch. The value is in the range of 1 to 4.
on
Use the irf member command to set a member ID for a switch in standalone
Use the undo irf member command to restore the
If the switch supports pre-configuration, it has no default ID in standalone mode. After it switches to the
IRF mode, it uses the member ID pre-configured in standalone mode by default.
If the switch does not support pre-configuration, its member ID defaults to 1.
The member ID functions in the following ways:
14
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36

H3C S9500E Series Command Reference Manual

Category
Network switches
Type
Command Reference Manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI