HPE FlexNetwork HSR6800, MSR1002-4, MSR954, MSR958, MSR1003-8S Command Reference Manual

...
HPE FlexNetwork HSR6800 Routers
Comware 7 Virtual Technologies Command Reference
Part number: 5200-3522 Software version: HSR6800-CMW710-R7607 Document version: 6W100-20170412
© Copyright 2017 Hewlett Packard Enterprise Development LP The information contained herein is subject to change without notice. The only warranties for Hewlett Packard
Enterprise products and services are set forth in the express warranty statements acco mpanying such products and services. Nothing herein should be construed as constituting an additional warranty. Hewlett Packard Enterprise shall not be liable for technical or editorial errors or omissions co ntained herein.
Confidential computer software. V alid license from Hewlett Packard Enterprise required for possession, use, or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software Documentation, and T e chnical Data for Commercial Items are licensed to the U.S. Government under vendor’s standard commercial license.
Links to third-party websites take you outside the Hewlett Packard Enterprise website. Hewlett Packard Enterprise has no control over and is not responsible for information outside the Hewlett Packard Enterprise website.
Acknowledgments
Intel®, Itanium®, Pentium®, Intel Inside®, and the Intel Inside logo are trademarks of Intel Corporation in the United States and other countries.
Microsoft® and Windows® are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
Adobe® and Acro bat® are trademarks of Adobe Systems Incorporated. Java and Oracle are registered trademarks of Oracle and/or its affiliates. UNIX® is a registered trademark of The Open Group.
i
Contents
IRF commands ················································································ 1
chassis convert mode irf ······································································································· 1 display irf ··························································································································· 2 display irf configuration ········································································································· 3 display irf link ······················································································································ 4 display irf topology ··············································································································· 5 display irf-port load-sharing mode ··························································································· 6 display mad ························································································································ 7 easy-irf ······························································································································ 8 irf auto-merge enable ········································································································· 10 irf auto-update enable ········································································································ 11 irf domain ························································································································ 12 irf link-delay ······················································································································ 13 irf mac-address persistent ··································································································· 13 irf member ······················································································································· 14 irf member description ········································································································ 15 irf member priority ············································································································· 16 irf member renumber ·········································································································· 16 irf priority ························································································································· 17 irf-port ····························································································································· 18 irf-port global load-sharing mode ·························································································· 19 irf-port-configuration active ·································································································· 20 mad bfd enable ················································································································· 21 mad enable ······················································································································ 22 mad exclude interface ········································································································ 23 mad ip address ················································································································· 23 mad restore ······················································································································ 24 port group interface ············································································································ 25
Document conventions and icons ······················································ 27
Conventions ··························································································································· 27 Network topology icons ············································································································· 28
Support and other resources ···························································· 29
Accessing Hewlett Packard Enterprise Support ·············································································· 29 Accessing updates ··················································································································· 29
Websites ························································································································· 30 Customer self repair ··········································································································· 30 Remote support ················································································································ 30 Documentation feedback ···································································································· 30
Index ··························································································· 32
1
IRF commands
chassis convert mode irf
Use chassis convert mode irf to enable IRF mode. Use undo chassis convert mode to restore the default.
Syntax
chassis convert mode irf undo chassis convert mode
Default
The device operates in standalone mode.
Views
System view
Predefined user roles
network-admin
Usage guidelines
To set up an IRF fabric, place all member devices in IRF mode after you configure member IDs, priorities, and IRF port settings for the member devices. In standalone mode, a device cannot form an IRF fabric with other devices.
IRF generates packets on a device in IRF mode even if the device does not form an IRF fabric with any other devices. To conserve system resources, set a device to standalone mode after removing it from an IRF fabric.
Examples
# Enable 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 Now rebooting, please wait...
# Restore 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 Now rebooting, please wait...
2
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 Slot Role Priority CPU-Mac Description *+1 0 Master 1 0000-0066-1600 --­ 1 1 Standby 1 0000-0066-1601 ---
-------------------------------------------------­ * indicates the device is the master. + indicates the device through which the user logs in.
The bridge MAC of the IRF is: 0023-89b6-e58a Auto upgrade : yes Mac persistent : always Domain ID : 0 Auto merge : yes
Table 1 Command output
Field Description
MemberID
IRF member ID:
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.
Slot MPU slot number.
Role
Role of the MPU in the IRF fabric:
Standby—Standby MPU for the global active MPU.
Master—Global active MPU.
Loading—Standby MPU for the global active MPU. The standby
MPU is loading software images. Priority IRF member priority. CPU-MAC MAC address of the CPU on the MPU.
3
Field Description
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.
Auto upgrade
Status of the software auto-update feature:
yes—Enabled.
no—Disabled.
MAC persistent
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.
Auto merge
State of the auto-merge feature:
yes—Enabled. The IRF fabric automatically reboots its member devices when it fails in the master election during an IRF fabric merge.
no—Disabled. Manual reboot is required to complete an IRF fabric merge.
Related commands
display irf configuration display irf topology
display irf configuration
Use display irf configuration to display basic IRF settings, including each member's current member ID, new member ID, and physical interfaces bound to the IRF ports. The new member IDs take effect at reboot.
Syntax
display irf configuration
Views
Any view
Predefined user roles
network-admin network-operator
Examples
# (In standalone mode.) Display the basic IRF settings of the device.
<Sysname> display irf configuration MemberID Priority IRF-Port1 IRF-Port2 1 1 disable disable
# (In IRF mode.) Display basic IRF settings for all members.
4
<Sysname> display irf configuration MemberID NewID IRF-Port1 IRF-Port2 1 1 Ten-GigabitEthernet1/3/1/0 disable Ten-GigabitEthernet1/3/1/1 2 2 disable Ten-GigabitEthernet2/2/1/0 Ten-GigabitEthernet2/2/1/1
Table 2 Command output
Field Description
MemberID Current member ID of the device.
Priority
Member priority. This field is available when the device is operating in standalone mode.
NewID
Member ID assigned to the device. This member ID takes effect at reboot. This field is available when the device is operating in IRF mode.
IRF-Port1
Physical interfaces bound to IRF-port 1. This field displays
disable
if no physical interfaces are bound to the IRF port.
IRF-Port2
Physical interfaces bound to IRF-port 2. This field displays
disable
if no physical interfaces are bound to the IRF port.
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 network-operator
Examples
# Display IRF link information.
<Sysname> display irf link Member 1 IRF Port Interface Status 1 disable -­ 2 GigabitEthernet1/2/1/1 UP Member 2 IRF Port Interface Status 1 GigabitEthernet2/2/1/1 UP 2 disable --
5
Table 3 Command output
Field Description
Member ID IRF member ID.
IRF Port
IRF port number:
1—IRF-port 1.
2—IRF-port 2.
Interface
Physical interfaces bound to the IRF port. This field displays
disable
if no
physical interfaces have been bound to the IRF port.
Status
Link state of the IRF physical interface:
UP—The link is up.
DOWN—The link is down.
ADM—The interface has been manually shut down by using the
shutdown command.
ABSENT—Interface module that hosts the interface is not present.
display irf topology
Use display irf topology to display IRF fabric topology information, including the member IDs, IRF port state, adjacencies of IRF ports, and CPU MAC address of the master.
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 0000-0066-1600 2 UP 1 DOWN --- 0000-0066-1600
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.
6
Field Description
Link
Link state of the IRF port:
UP—The IRF link is up.
DOWN—The IRF link is down because the port does not have a
reachable physical link or has not been activated by the irf-port-configuration active command.
DIS—No physical interfaces have been bound to the IRF port.
TIMEOUT—IRF hello interval has timed out.
ISOLATE—The device is isolated from the IRF fabric. This issue might be
caused by the following reasons:
{ The IRF fabric does not support the device model. { The maximum number of member devices has exceeded the upper
limit.
neighbor
IRF member ID of the device connected to the IRF port. This field displays three hyphens (---) if no device is connected to the port.
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 information.
Syntax
display irf-port load-sharing mode
Views
Any view
Predefined user roles
network-admin network-operator
Examples
# Display IRF link load sharing mode information for IRF links. In this example, because no user-defined IRF link load sharing mode has been configured, the default load sharing mode applies.
<Sysname> display irf-port load-sharing mode irf-port Load-Sharing Mode: Layer 3 traffic: destination-ip address source-ip address Layer 4 traffic: destination-port source-port
# Display IRF link load sharing mode for IRF links. In this example, because a link load sharing mode based on source and destination MAC addresses has been configured, the configured mode applies.
<Sysname> display irf-port load-sharing mode irf-port Load-Sharing Mode: destination-mac address source-mac address
7
Table 5 Command output
Field Description
irf-port Load-Sharing Mode
IRF link load sharing mode:
If no IRF link load sharing mode has been configured, the default load sharing mode applies.
If a user-defined load sharing mode has been configured, the configured mode applies.
Layer 3 traffic: destination-ip address, source-ip address
Default load sharing mode for non-TCP/-UDP IP packets. By default, this type of traffic is distributed based on source and destination IP addresses.
Layer 4 traffic: destination-port, source-port
Default load sharing mode for TCP/UDP packets. By default, this type of traffic is distributed based on source and destination port numbers.
destination-mac address source-mac address
User-defined load sharing mode. Traffic is distributed based on source and destination MAC addresses.
display mad
Use display mad to display MAD status and settings.
Syntax
display mad [ verbose ]
Views
Any view
Predefined user roles
network-admin network-operator
Parameters
verbose: Displays detailed MAD information. If you do not specify this keyword, the command only
displays whether a MAD mechanism is enabled or disabled.
Examples
# Display brief MAD information.
<Sysname> display mad MAD ARP disabled. MAD ND disabled. MAD LACP disabled. MAD BFD enabled.
# Display detailed MAD information.
<Sysname> display mad verbose Multi-active recovery state: No Excluded ports(user-configured): Ten-GigabitEthernet2/2/1/2 Ten-GigabitEthernet2/2/1/3 Excluded ports(system-configured): Ten-GigabitEthernet2/2/1/1 Ten-GigabitEthernet3/2/1/1
8
MAD ARP disabled. MAD ND disabled. MAD LACP enabled interface: Route-Aggregation2 MAD status : Normal Member ID Port MAD status 1 Ten-GigabitEthernet1/2/1/1 Normal 2 Ten-GigabitEthernet2/2/1/1 Normal MAD BFD enabled interface: Route-Aggregation2 MAD status : Normal Member ID MAD IP address Neighbor MAD status 1 192.168.1.1/24 2 Normal 2 192.168.1.2/24 1 Normal
Table 6 Command output
Field Description
MAD ARP disabled. Status of ARP MAD. This field is not supported in the current software version. MAD ND disabled. Status of ND MAD. This field is not supported in the current software version.
Multi-active recovery state
Whether the IRF fabric is in Recovery state:
Yes—The IRF fabric is in Recovery state. When MAD detects that an IRF fabric has split into multiple IRF fabrics, it allows one fabric to forward traffic. All the other IRF fabrics are set to the Recovery state. In Recovery state, MAD shuts down all service interfaces in the fabric except for the following service interfaces:
{ IRF physical interfaces. { Service interfaces configured to not shut down.
No—The IRF fabric is not in Recovery state. It is active and can forward traffic.
Excluded ports(user-configured)
Service interfaces manually configured to not shut down when the IRF fabric transits to the Recovery state.
Excluded ports(system-configured)
Service interfaces set to not shut down by default when the IRF fabric transits to the Recovery state. These service interfaces are not user configurable.
MAD status
MAD operating status:
Normal—The MAD mechanism is operating correctly.
Faulty—The MAD mechanism is not operating correctly. Check the
interface or port for connectivity or configuration problems. For example, verify that all member devices have member ports used for LACP MAD.
N/A—MAD link status cannot be detected.
Member ID IRF member ID of the local device. Port Member ports of the aggregate interface used for LACP MAD. Neighbor IRF member ID of the neighbor member device.
easy-irf
Use easy-irf to bulk-configure basic IRF settings for an IRF member device in IRF mode.
Syntax
easy-irf [ member member-id [ renumber new-member-id ] domain domain-id [ priority priority ] [ irf-port1 interface-list1 ] [ irf-port2 interface-list2 ] ]
Loading...
+ 24 hidden pages