H3C S5830V2 series Irf Command Reference

Category
Networking
Type
Irf Command Reference

This manual is also suitable for

H3C S5830V2 & S5820V2 Switch Series
IRF Command Reference
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Software version: Release2108
Document version: 6W101-20120531
Copyright © 2012, 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 S5830V2 & S5820V2 documentation set includes 10 command references, which describe the
commands and command syntax options available for the H3C S5830V2 & S5820V2 Switch Series.
The IRF Command Reference describes IRF configuration commands for creating an IRF fabric. It covers
the commands for binding physical ports to an IRF port, configuring the member switch ID and priority,
and detecting and maintaining the IRF link.
This preface includes:
• Audience
• Release-over-release command differences
• Conventions
• About the H3C S5830V2 & S5820V2 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 S5830V2 & S5820V2 series
Release-over-release command differences
This documentation set is for Release 2108 and Release 2108P02. The following table describes the
command changes in Release 2108P02 over Release 2108:
Command reference Added and modified commands in Release 2108P02
IRF
The irf link-delay command is modified as follows:
• In Release 2108P2, the value range for the interval argument is 0
to 30000, and the default link down report delay is 4 seconds.
• In Release 2108, the value range for the interval argument is 200
to 2000 and by default, no link down report delay is set.
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.
GUI conventions
Convention Descri
p
tion
< > Button names are inside angle brackets. For example, click <OK>.
[ ]
Window names, menu items, data table and field names are inside square brackets. For
example, pop up the [New User] window.
/ Multi-level menus are separated by forward slashes. For example, [File/Create/Folder].
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.
About the H3C S5830V2 & S5820V2
documentation set
The H3C S5830V2&S5820V2 documentation set includes:
Cate
g
or
y
Documents
Pur
p
oses
Hardware specifications
and installation
Compliance and safety
manual
Provides regulatory information and the safety
instructions that must be followed during installation.
Installation quick start Provides basic installation instructions.
Installation guide
Provides a complete guide to hardware installation
and hardware specifications.
Fan assemblies
installation manual
Describes the appearance, specifications, and
installation and removal of hot-swappable fan
assemblies.
Power modules user
manual
Describes the appearance, specifications, and
installation and removal of hot-swappable power
modules.
Software configuration
Configuration guides
Describe software features and configuration
procedures.
Command references
Provide a quick reference to all available
commands.
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.
[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.
i
Contents
IRF commands ······························································································································································ 1
display irf ·································································································································································· 1
display irf configuration ··········································································································································· 2
display irf topology ·················································································································································· 3
display irf-port load-sharing mode ·························································································································· 4
display mad ······························································································································································ 5
irf auto-update enable ·············································································································································· 7
irf domain ·································································································································································· 7
irf link-delay ······························································································································································· 8
irf mac-address persistent ········································································································································ 9
irf member description ·········································································································································· 10
irf member priority ················································································································································· 10
irf member renumber ············································································································································· 11
irf-port ····································································································································································· 12
irf-port global load-sharing mode ························································································································ 13
irf-port load-sharing mode ···································································································································· 14
irf-port-configuration active ··································································································································· 15
mad arp enable ····················································································································································· 16
mad nd enable ······················································································································································ 17
mad enable ···························································································································································· 18
mad exclude interface ·········································································································································· 18
mad restore ···························································································································································· 19
port group interface ·············································································································································· 20
Index ··········································································································································································· 22
1
IRF commands
display irf
Use display irf to display IRF fabric information, including the member ID, role, priority, bridge MAC
address, and description of each IRF member.
Syntax
display irf
Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Display IRF fabric information.
<Sysname> display irf
MemberID Role Priority CPU-Mac Description
1 Loading 1 00e0-fcbe-3102 F1Num001
*+2 Master 1 00e0-fcb1-ade2 F1Num002
--------------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.
The Bridge MAC of the IRF is: 00e0-fc00-1000
Auto upgrade : yes
Mac persistent : always
Domain ID : 30
Table 1 Command output
Field Descri
p
tion
MemberID
IRF member ID:
• ID of the master is prefixed with an asterisk (*) sign.
• ID of the device where you have been logged in is prefixed with a plus (+) sign.
Role
Role of the member device in the IRF fabric:
• Slave—Subordinate device.
• Master—Master device.
• SlaveWait—The device is joining the IRF fabric.
• Loading—The device is loading software images.
Priority IRF member priority.
2
Field Descri
p
tion
CPU-MAC MAC address of the CPU in the device.
Description
Description you have configured for the member device.
• If no description is configured, this field displays a dashed line (-----).
• If the description exceeds the maximum number of characters that can be
displayed, an ellipsis (…) is displayed in place of the exceeding text. To display
the complete description, use the display current-configuration command.
The Bridge MAC of the
IRF is
Bridge MAC address of the IRF fabric.
Auto upgrade
Status the software auto-update function:
• yes—Enabled. The master automatically propagates its software images to the
device you are adding to the IRF fabric.
• no—Disabled. You must manually make sure the joining device uses the same
set of software images as the master. If not, the new device cannot join the IRF
fabric.
MAC persistent
IRF bridge MAC persistence setting:
• 6 min—Bridge MAC address of the IRF fabric persists for six minutes after the
master leaves.
• always—Bridge MAC address of the IRF fabric does not change after the master
leaves.
• no—Bridge MAC address of the new master replaces the original one as soon
as the old master leaves.
Domain ID
Domain ID of the IRF fabric. The domain ID you assign to an IRF fabric must uniquely
identify the fabric in a multi-IRF fabric network.
Related commands
• display irf configuration
• display irf topology
display irf configuration
Use display irf configuration to display basic IRF settings, including the current member ID, new member
ID, and physical ports bound to the IRF ports on each IRF member device. The new member IDs take
effect at reboot.
Syntax
display irf configuration
Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Display basic IRF settings.
<Sysname> display irf configuration
3
MemberID NewID IRF-Port1 IRF-Port2
2 2 Ten-GigabitEthernet2/0/25 Ten-GigabitEthernet2/0/26
5 5 Ten-GigabitEthernet5/0/25 Ten-GigabitEthernet5/0/26
Ten-GigabitEthernet5/0/27
Ten-GigabitEthernet5/0/28
10 10 Ten-GigabitEthernet10/0/25 Ten-GigabitEthernet10/0/26
Ten-GigabitEthernet10/0/27
Ten-GigabitEthernet10/0/28
Table 2 Command output
Field Descri
p
tion
MemberID Current member ID of the device.
NewID Member ID assigned to the device. This member ID takes effect at reboot.
IRF-Port1
Physical ports bound to IRF port 1. The bindings take effect at reboot.
If no physical port is bound to the IRF port, this field displays disable.
IRF-Port2
Physical ports bound to IRF port 2. The bindings take effect at reboot.
If no physical port is bound to the IRF port, this field displays disable.
Related commands
• display irf
• display irf topology
display irf topology
Use display irf topology to display the IRF fabric topology.
Command output includes the member IDs, IRF port state, and adjacencies of IRF ports.
Syntax
display irf topology
Views
Any view
Predefined user roles
network-admin
network-operator
Examples
# Display the IRF fabric topology.
<Sysname> display irf topology
Topology Info
-------------------------------------------------------------------------
IRF-Port1 IRF-Port2
MemberID Link neighbor Link neighbor Belong To
1 DOWN -- UP 2 000f-cbb8-1a82
2 UP 1 UP 3 000f-cbb8-1a82
3 UP 2 DIS -- 000f-cbb8-1a82
4
Table 3 Command output
Field Descri
p
tion
IRF-Port1 Information about IRF port 1, including its link state and neighbor.
IRF-Port2 Information about IRF port 2, including its link state and neighbor.
MemberID IRF member ID.
Link
Link state of the IRF port:
• UP—IRF link is up.
• DOWN—IRF link is down because the port has no physical link or has not
been activated by the irf-port-configuration active command.
• DIS—No physical ports have been bound to the IRF port. You must use the
port group interface command to bind at least one physical port to the IRF
port.
• TIMEOUT—IRF hello interval has timed out. You must examine the link for a
connection loss.
neighbor
IRF member ID of the device connected to the IRF port.
If no device is connected to the port, this field displays two hyphens (--).
Belong To
IRF fabric that has the device, represented by the CPU MAC address of the
master in the IRF fabric.
Related commands
• display irf
• display irf configuration
display irf-port load-sharing mode
Use display irf-port load-sharing mode to display IRF link load sharing mode.
Syntax
display irf-port load-sharing mode [ irf-port [ member-id/port-number ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
irf-port: Displays IRF port specific load sharing modes.
member-id/port-number: Specifies an IRF port number. The member-id argument represents an IRF
member ID. The port-number argument represents the index number (1 or 2) of the IRF port on the
member device.
Usage guidelines
To display the global load sharing mode for IRF links, execute this command without any keyword or
argument.
5
To display the load sharing mode used on each IRF port in the IRF fabric, specify the irf-port keyword but
not any IRF port.
To display the load sharing mode used on a specific IRF port, specify both the irf-port keyword and the
member-id/port-number argument.
Examples
# Display the global load sharing mode for IRF links. In this example, because no user-defined global
load sharing mode has been configured, the default global load sharing mode applies.
<Sysname> display irf-port load-sharing mode
irf-port Load-Sharing Mode:
Layer 2 traffic: destination-mac address, source-mac address
Layer 3 traffic: destination-ip address, source-ip address
# Display the load sharing mode of IRF port 1/1. In this example, because neither port-specific load
sharing mode nor user-defined global load sharing mode has been configured, the default global load
sharing mode applies.
<Sysname> display irf-port load-sharing mode irf-port 1/1
irf-port 1/1 Load-Sharing Mode:
Layer 2 traffic: destination-mac address, source-mac address
Layer 3 traffic: destination-ip address, source-ip address
# Display the load sharing mode of IRF port 1/1 after destination MAC-based load sharing is configured
on the port.
<Sysname> display irf-port load-sharing mode irf 1/1
irf-port1/1 Load-Sharing Mode:
destination-mac address
Table 4 Command output
Field Descri
p
tion
irf-port Load-Sharing Mode
Global load sharing mode for IRF links:
• If no global IRF link load sharing mode has been configured, the
default global load sharing mode applies.
• If a user-defined global load sharing mode has been
configured, the configured mode applies.
irf-port 1/1 Load-Sharing Mode
Link load sharing mode of IRF port 1/1:
• If you have not configured a port-specific load sharing mode,
the global IRF link load sharing mode applies.
• If you have configured a port-specific load sharing mode, the
configured mode applies.
Layer 2 traffic: destination-mac address,
source-mac address
Default load sharing mode for traffic that has no IP header. By
default, this type of traffic is distributed based on source and
destination MAC addresses.
Layer 3 traffic: destination-ip address,
source-ip address
Default load sharing mode for IP packets. By default, this type of
traffic is distributed based on source and destination IP addresses.
display mad
Use display mad to display MAD status and settings.
6
Syntax
display mad [ verbose ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
verbose: Displays detailed MAD information. If this keyword is not specified, the command only displays
whether a MAD mechanism is enabled.
Examples
# Display brief MAD information.
<Sysname> display mad
MAD ARP enabled.
MAD ND enabled.
MAD LACP disabled.
# Display detailed MAD information.
<Sysname> display mad verbose
Current MAD status: Detect
Excluded ports(configurable):
Excluded ports(can not be configured):
MAD ARP enabled interface:
Vlan-interface3
MAD ND enabled interface:
Vlan-interface3
MAD LACP disabled.
Table 5 Command output
Field Descri
p
tion
Current MAD status
MAD status:
• Detect—IRF fabric is integrated.
• Recovery—IRF fabric is in Recovery state. When detecting a multi-active
collision, MAD places the IRF fabric with higher master ID in Recovery state
and shuts down all physical ports in the fabric but IRF physical ports and ports
that are configured to not shut down.
• Detect to Recovery—State of the IRF fabric is transitioning from Detect to
Recovery, for example, as the result of an IRF split.
• Recovery to Detect—State of the IRF fabric is transitioning from Recovery to
Detect.
Excluded
ports(configurable)
Ports manually configured to not shut down when the IRF fabric transitions to the
Recovery state.
Excluded ports(can not be
configured)
Ports by default set to not shut down when the IRF fabric transitions to the
Recovery state.
7
irf auto-update enable
Use irf auto-update enable to enable the software auto-update function for propagating software
images of the master in an IRF fabric to all its members.
Use undo irf auto-update enable to disable the software auto-update function.
Syntax
irf auto-update enable
undo irf auto-update enable
Default
The software auto-update function is enabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
Before enabling software auto-update, make sure the device you are adding to the IRF fabric has
sufficient storage space for the new software images.
To join an IRF fabric, a device must use the same set of software images as the master in the fabric.
The software auto-update function automatically synchronizes the current software images of the master
in an IRF fabric to all its members.
When you add a device to the IRF fabric, the software auto-update function compares the startup
software images of the joining device with the current software images of the IRF master. If the two sets
of images are different, the device automatically downloads the current software images of the master,
sets the downloaded images as its main startup software images, and automatically reboots with the
new software images to re-join the IRF fabric.
If software auto-update is disabled, you must manually update the device with the software images of the
master before adding it to the IRF fabric.
Examples
# Enable the software auto-update function.
<Sysname> system-view
[Sysname] irf auto-update enable
irf domain
Use irf domain to assign a domain ID to the IRF fabric.
Use undo irf domain to restore the default IRF domain setting.
Syntax
irf domain domain-id
undo irf domain
Default
IRF domain ID is 0.
8
Views
Any view
Predefined user roles
network-admin
Parameters
domain-id: Specifies a domain ID for the IRF fabric. The value range is 0 to 4294967295.
Usage guidelines
One IRF fabric forms one IRF domain. IRF uses IRF domain IDs to uniquely identify IRF fabrics and prevent
IRF fabrics from interfering with one another.
If you use a member device in one IRF fabric as the intermediate device for performing LACP MAD, ARP
MAD, or ND MAD for another IRF fabric, you must assign the two IRF fabrics different domain IDs to
avoid false detection of IRF split.
Examples
# Set the IRF domain ID to 10.
<Sysname> system-view
[Sysname] irf domain 10
irf link-delay
Use irf link-delay to set a delay for the IRF ports to report a link down event.
Use undo irf link-delay to restore the default.
Syntax
irf link-delay interval
undo irf link-delay
Default
The IRF link down event report delay is 4 seconds.
Views
System view
Predefined user roles
network-admin
Parameters
interval: Sets the IRF link down report delay, in the range of 0 to 30000 milliseconds.
Usage guidelines
An IRF link down report delay helps avoid link flapping causing frequent IRF splits and merges during a
short time.
An IRF port handles link down and link up events, as follows:
• When the IRF link changes from up to down, the port does not immediately report the change to the
IRF fabric. If the IRF link state is still down when the delay time is reached, the port reports the
change to the IRF fabric.
9
• When the IRF link changes from down to up, the link layer immediately reports the event to the IRF
fabric.
Examples
# Set the IRF link down report delay to 300 milliseconds.
<Sysname> system-view
[Sysname] irf link-delay 300
irf mac-address persistent
Use irf mac-address persistent to configure IRF bridge MAC persistence so the IRF fabric continues using
the bridge MAC address of the old master as its bridge MAC address for a period of time after a master
re-election.
Use undo irf mac-address persistent to enable the IRF fabric to change its bridge MAC address as soon
as the master leaves.
Syntax
irf mac-address persistent { always | timer }
undo irf mac-address persistent
Default
After the master device leaves, the IRF fabric continues using its bridge MAC address as the IRF bridge
MAC address for six minutes. If the device does not re-join the IRF fabric before that time limit is reached,
the IRF fabric uses the bridge MAC address of the new master as the IRF bridge MAC address.
Views
Any view
Predefined user roles
network-admin
Parameters
always: Enables the IRF bridge MAC address to be permanent regardless of master re-election or leaving
of the master.
timer: Enables the IRF bridge MAC address to remain the same for six minutes after the master device
leaves. If the device re-joins the IRF fabric before the time limit is reached, the IRF bridge MAC address
does not change. If not, the IRF fabric uses the bridge MAC address of the new master as the IRF bridge
MAC address.
Usage guidelines
If ARP MAD is used, use the undo irf mac-address persistent command to disable IRF bridge MAC
persistence.
An IRF fabric by default uses the bridge MAC address of the master device as its bridge MAC address.
This bridge MAC address is used by Layer 2 protocols, for example, LACP, to identify the IRF fabric, and
must be unique on a switched LAN for proper communication.
To avoid duplicate bridge MAC addresses, an IRF fabric can automatically change its bridge MAC
address after its master leaves, but the change can cause temporary service interruption. Depending on
your network condition, you can enable the IRF fabric to preserve or change its bridge MAC address
after the master leaves.
If two IRF fabrics have the same bridge MAC address, they cannot merge.
10
Examples
# Enable the IRF bridge MAC address to persist forever.
<Sysname> system-view
[Sysname] irf mac-address persistent always
irf member description
Use irf member description to configure a description for an IRF member.
Use undo irf member description to restore the default.
Syntax
irf member member-id description text
undo irf member member-id description
Default
No description is configured for any IRF member.
Views
System view
Predefined user roles
network-admin
Parameters
member-id: Specifies the ID of an IRF member.
text: Configures the IRF member description, a string of 1 to 127 characters.
Usage guidelines
Configure a description to identify the physical location or purpose of an IRF member for easy
maintenance.
Examples
# Configure a description for IRF member 1.
<Sysname> system-view
[Sysname] irf member 1 description F1Num001
irf member priority
Use irf member priority to change the priority of an IRF member.
Use undo irf member priority to restore the default.
Syntax
irf member member-id priority priority
undo irf member member-id priority
Default
IRF member priority is 1.
Views
System view
11
Predefined user roles
network-admin
Parameters
member-id: Specifies an IRF member ID.
priority: Sets priority, in the range of 1 to 32. The greater the priority value, the higher the priority. A
member with higher priority is more likely to be the master.
Usage guidelines
Change member priority assignment to affect the maser election result.
To display the ID and priority settings of IRF members, use the display irf command.
Examples
# Display IRF member information and change the priority of the master.
<Sysname> display irf
MemberID Role Priority CPU-Mac
+1 Slave 29 00e0-fc00-1115
2 Slave 1 00e0-fc00-1615
*3 Master 32 00e0-fc00-1015
9 Slave 30 00e0-fc00-1515
--------------------------------------------------------
* indicates the device is the master.
+ indicates the device through which the user logs in.
The Bridge MAC of the IRF is: 00e0-fc00-1000
Auto upgrade : yes
Mac persistent : always
<Sysname> system-view
[Sysname] irf member 3 priority 16
# Set the priority of IRF member 2 to 32.
<Sysname> system-view
[Sysname] irf member 2 priority 32
irf member renumber
Use irf member renumber to change the IRF member ID of a device.
Use undo irf member renumber to restore the previous IRF member ID of the device.
Syntax
irf member member-id renumber new-member-id
undo irf member member-id renumber
Default
IRF member ID is 1.
Views
System view
Predefined user roles
network-admin
12
Parameters
member-id: Specifies the ID of an IRF member.
new-member-id: Assigns a new ID to the IRF member.
Usage guidelines
CAUTION:
Changing the IRF member ID of a device can cause losses of member ID related configurations, includin
g
settings on physical ports, at reboot.
To have the new ID take effect, you must reboot the IRF member.
When adding a device into an IRF fabric, you must assign a unique IRF member ID to the device. If its IRF
member ID has been used in the IRF fabric, the device cannot join the IRF fabric.
Plan your IRF member ID assignment before setting up an IRF fabric, and change member IDs before
making any other configuration.
Interchanging member IDs between IRF member devices might cause undesirable configuration changes
and even data loss. For example, the IRF member IDs of Device A and Device B are 2 and 3. After you
interchange their member IDs, their port settings also interchange.
After an IRF fabric is formed, make sure you understand the impact of the member ID change on your
network.
Examples
# Change the ID of an IRF member from 1 to 3.
<Sysname> display irf
[Sysname] irf member 1 renumber 3
Warning: Renumbering the member ID may result in configuration change or loss.
Continue?[Y/N]:Y
irf-port
Use irf-port to enter IRF port view.
Use undo irf-port to remove all port bindings on an IRF port.
Syntax
irf-port member-id/port-number
undo irf-port member-id/port-number
Views
System view
Predefined user roles
network-admin
Parameters
member-id/port-number: Specifies an IRF port on an IRF member. The member-id argument represents
the ID of the IRF member. The port-number argument represents the IRF port index and must be 1 or 2.
13
Usage guidelines
To set up an IRF link between two devices, you must enter IRF port view to bind physical ports to the IRF
port used by each device for IRF connection.
Before removing all port bindings on an IRF port, shut down all its physical ports.
Examples
# Bind Ten-GigabitEthernet 3/0/48 to IRF port 3/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 3/0/48
[Sysname-Ten-GigabitEthernet3/0/48] shutdown
[Sysname-Ten-GigabitEthernet3/0/48] quit
[Sysname] irf-port 3/1
[Sysname-irf-port 3/1] port group interface ten-gigabitethernet 3/0/48
[Sysname-irf-port 3/1] quit
[Sysname] interface ten-gigabitethernet 3/0/48
[Sysname-Ten-GigabitEthernet3/0/48] undo shutdown
Related commands
port group interface
irf-port global load-sharing mode
Use irf-port global load-sharing mode to set the global load sharing mode for IRF links.
Use undo irf-port global load-sharing mode to restore the default.
Syntax
irf-port global load-sharing mode { destination-ip | destination-mac | source-ip | source-mac } *
undo irf-port global load-sharing mode
Default
Packets are automatically distributed across IRF member links based on their packet types.
Views
System view
Predefined user roles
network-admin
Parameters
destination-ip: Distributes traffic across IRF member links based on destination IP address.
destination-mac: Distributes packets across IRF member links based on destination MAC address.
source-ip: Distributes packets across IRF member links based on source IP address.
source-mac: Distributes packets across IRF member links based on source MAC address.
Usage guidelines
The global IRF link load sharing mode applies to all IRF ports in the IRF fabric. You can configure the
global IRF link load sharing mode to include a combination of multiple criteria, for example, source MAC
address and destination MAC address, for making traffic distribution decisions. If a criterion
combination is not supported on your device, the system displays an error message.
14
If you configure the global load sharing mode multiple times, the last configuration takes effect.
You can also configure a port-specific load sharing mode for an IRF port in IRF port view.
An IRF port preferentially uses the port-specific load sharing mode. If no port-specific load sharing mode
is available, it uses the global load sharing mode.
Examples
# Configure the global IRF link load sharing mode to distribute traffic based on destination MAC
address.
<Sysname> system-view
[Sysname] irf-port global load-sharing mode destination-mac
Related commands
irf-port load-sharing mode
irf-port load-sharing mode
Use irf-port load-sharing mode to configure a port-specific load sharing mode for an IRF port to
distribute traffic across its physical links.
Use undo irf-port load-sharing mode to restore the default.
Syntax
irf-port load-sharing mode { destination-ip | destination-mac | source-ip | source-mac } *
undo irf-port load-sharing mode
Default
The global IRF link load sharing mode applies.
Views
IRF port view
Predefined user roles
network-admin
Parameters
destination-ip: Distributes traffic across IRF member links based on destination IP address.
destination-mac: Distributes packets across IRF member links based on destination MAC address.
source-ip: Distributes packets across IRF member links based on source IP address.
source-mac: Distributes packets across IRF member links based on source MAC address.
Usage guidelines
To successfully configure a port-specific load sharing mode for an IRF port, make sure you have bound
at least one physical port to the IRF port.
You can configure an IRF port-specific load sharing mode to include a combination of multiple criteria,
for example, source MAC address and destination MAC address, for making traffic distribution decisions.
If a criterion combination is not supported on your device, the system displays an error message.
If you configure the port-specific load sharing mode multiple times on an IRF port, the last configuration
takes effect.
  • 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

H3C S5830V2 series Irf Command Reference

Category
Networking
Type
Irf Command Reference
This manual is also suitable for

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

Finding information in a document is now easier with AI