H3C S6520-SI Series, S5000-EI Series, S6520X-SI Series, MS4600 Series Command Reference Manual

S5000-EI & MS4600 Switch Series
Virtual Technologies Command Reference
"H3C S6520X-SI Switch Series" "H3C S6520-SI Switch Series" "H3C S5000-EI Switch Series" "H3C MS4600 Switch Series"
Software version: Release 1110 Document version: 6W100-20180821
H3C S6520X-SI & S6520-SI &
Copyright © 2018, New 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 New H3C Technologies Co., Ltd.
Trademarks
H3C, , H3CS, H3CIE, H3CNE, Aoly nk, , H
3
Care, , IRF, NetPilot, Netflow, SecEngine, SecPath, SecCenter, SecBlade, Comware, ITCMM and HUASAN are trademarks of New 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. All contents in this document, including statements, information, and recommendations, are believed to be accurate, but they are presented without warranty of any kind, express or implied. H3C shall not be liable for technical or editorial errors or omissions contained herein.

Preface

This command reference describes IRF configuration commands for setting up and maintaining an IRF fabric, including:
Commands for IRF port binding configuration.
Commands for IRF member ID and priority configuration.
Commands for detecting IRF splits and maintaining the IRF fabric.
This preface includes the following topics about the documentation:
Audience.
Conventions.
Documentation feedback.

Audience

This documentation is intended for:
Network planners.
Field technical support and servicing engineers.
Network administrators.

Conventions

The following information describes the conventions used in the documentation.

Command conventions

Convention Description
Boldface Bold
[ ] Square brackets enclose syntax choices (keywords or arguments) that are optional.
{ x | y | ... }
[ x | y | ... ]
{ x | y | ... } *
[ x | y | ... ] *
text represents commands and keywords that you enter literally as shown.
Italic text represents arguments that you replace with actual values.
Braces enclose a set of required syntax choices separated by vertical bars, from which you select one.
Square brackets enclose a set of optional syntax choices separated by vertical bars, from which you select one or none.
Asterisk marked braces enclose a set of required syntax choices separated by vertical bars, from which you select a minimum of one.
Asterisk marked square brackets enclose optional syntax choices separated by vertical bars, from which you select one choice, multiple choices, or none.
&<1-n>
# A line that starts with a pound (#) sign is comments.
The argument or keyword and argument combination before the ampersand (&) sign can be entered 1 to n times.

GUI conventions

Convention Description
Boldface
>

Symbols

Convention Description
WARNING!
Window names, button names, field names, and menu items are in Boldface. For
.
New User
window opens; click OK.
File
>
Create
>
example, the Multi-level menus are separated by angle brackets. For example,
Folder
An alert that calls attention to important information that if not understood or followed can result in personal injury.
CAUTION:
IMPORTANT:
NOTE:
TIP:

Network topology icons

Convention Description
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.
An alert that calls attention to essential information. An alert that contains additional or supplementary information.
An alert that provides helpful information.
Represents a generic network device, such as a router, switch, or firewall.
Represents a routing-capable device, such as a router or Layer 3 switch.
Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supports Layer 2 forwarding and other Layer 2 features.
Represents an access controller, a unified wired-WLAN module, or the access controller engine on a unified wired-WLAN switch.
Represents an access point.
T
T
T
T
Represents a wireless terminator unit.
Represents a wireless terminator.
Represents a mesh access point.
Represents omnidirectional signals.
Represents directional signals. Represents a security product, such as a firewall, UTM, multiservice security
gateway, or load balancing device.
Convention Description
Represents a security module, such as a firewall, load balancing, NetStream, SSL VPN, IPS, or ACG module.

Examples provided in this document

Examples in this document might use devices that differ from your device in hardware model, configuration, or software version. It is normal that the port numbers, sample output, screenshots, and other information in the examples differ from what you have on your device.

Documentation feedback

You can e-mail your comments about product documentation to info@h3c.com. We appreciate your comments.

Contents

IRF commands ················································································ 1
display irf ··························································································································· 1 display irf configuration ········································································································· 2 display irf link ······················································································································ 3 display irf topology ··············································································································· 4 display mad ························································································································ 5 easy-irf ······························································································································ 8 irf auto-update enable ········································································································ 10 irf domain ························································································································ 11 irf link-delay ······················································································································ 11 irf mac-address ················································································································· 12 irf mac-address persistent ··································································································· 13 irf member description ········································································································ 14 irf member priority ············································································································· 14 irf member renumber ·········································································································· 15 irf-port ····························································································································· 16 irf-port-configuration active ·································································································· 17 mad arp enable ················································································································· 18 mad bfd enable ················································································································· 19 mad enable ······················································································································ 21 mad exclude interface ········································································································ 22 mad ip address ················································································································· 23 mad nd enable ·················································································································· 24 mad restore ······················································································································ 25 port group interface ············································································································ 26
Index ··························································································· 27
i

IRF commands

display irf

Use display irf to display IRF fabric information.
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 Description
IRF member ID:
MemberID
Role
Priority IRF member priority. CPU-MAC MAC address of the CPU in the device.
ID of the master is prefixed with an asterisk (*) sign.
ID of the device where you are logged in is prefixed with a plus (+) sign.
Role of the member device in the IRF fabric:
Standby—Subordinate device.
Master—Master device.
Loading—The device is loading software images.
1
Field Description
Description you have configured for the member device.
If no description is configured, this field displays a dashed line (-----).
Description
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
Status of the software auto-update feature:
Auto upgrade
MAC persistent
yes—Enabled.
no—Disabled.
IRF bridge MAC persistence setting:
6 min—Bridge MAC address of the IRF fabric remains unchanged for 6 minutes after the address owner leaves.
always—Bridge MAC address of the IRF fabric does not change after the address owner leaves.
no—Bridge MAC address of the current master replaces the original bridge MAC address as soon as the owner of the original address leaves.
command.
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 for each member device.
Syntax
display irf configuration
Views
Any view
Predefined user roles
network-admin network-operator
Examples
# Display basic IRF settings for all members.
<Sysname> display irf configuration MemberID NewID IRF-Port1 IRF-Port2 1 1 Ten-GigabitEthernet2/0/5 Ten-GigabitEthernet1/0/6 2 2 Ten-GigabitEthernet2/0/5 Ten-GigabitEthernet2/0/6 Ten-GigabitEthernet2/0/7 Ten-GigabitEthernet2/0/8 4 4 Ten-GigabitEthernet4/0/5 Ten-GigabitEthernet4/0/6 Ten-GigabitEthernet4/0/7 Ten-GigabitEthernet4/0/8
2
Table 2 Command output
Field Description
MemberID Current member ID of the device. NewID Member ID assigned to the device. This member ID takes effect at reboot.
IRF-Port1
IRF-Port2
Related commands
display irf display irf topology

display irf link

Use display irf link to display IRF link information.
Syntax
display irf link
Views
Any view
Predefined user roles
network-admin
Physical interfaces bound to IRF-port 1. This field displays
Physical interfaces bound to IRF-port 2. This field displays
disable
disable
if no physical interfaces are bound to the IRF port.
if no physical interfaces are bound to the IRF port.
network
Examples
# Display IRF link information.
<Sysname> display irf link Member 1 IRF Port Interface Status 1 disable -­ 2 Ten-GigabitEthernet1/0/1 UP Ten-GigabitEthernet1/0/2 ADM Ten-GigabitEthernet1/0/3 DOWN Member 2 IRF Port Interface Status 1 Ten-GigabitEthernet2/0/1 UP Ten-GigabitEthernet2/0/2 DOWN Ten-GigabitEthernet2/0/3 ADM 2 disable --
Table 3 Command output
-operator
Field Description
Member ID IRF member ID.
3
Field Description
IRF port number:
IRF Port
1—IRF-port 1.
2—IRF-port 2.
Interface
Status

display irf topology

Use display irf topology to display IRF fabric topology information.
Syntax
display irf topology
Views
Any view
Predefined user roles
network-admin
Physical interfaces bound to the IRF port. This field displays physical interfaces have been bound to the IRF port.
Link state of the IRF physical interface:
UP—The link is up.
DOWN—The link is down.
ADM—The interface has been manually shu t down by using the
disable
if no
shutdown command.
ABSENT—Expansion interface card that hosts the interface is not present.
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 DIS --- 000f-cbb8-1a82
Table 4 Command output
Field Description
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.
4
Loading...
+ 23 hidden pages