No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
SVF Commands

SVF Commands

NOTE:

Only some switch models support the SVF function. For details, see "Licensing Requirements and Limitations for SVF" in the Virtualization Configuration Guide - SVF Configuration.

description (fabric port view)

Function

The description command configures the description of a fabric port.

The undo description command deletes the description of a fabric port.

By default, a fabric port does not have a description.

Format

description description

undo description

Parameters

Parameter Description Value
description Specifies the description. The value is a string of 1 to 242 case-sensitive characters with spaces supported.

Views

Fabric port view

Default Level

2: Configuration level

Usage Guidelines

To facilitate fabric port management and identification, you can configure descriptions for fabric ports. For example, you can describe the ID of a leaf switch that connects to a fabric port.

Example

# Configure the description of a fabric port.

<HUAWEI> system-view
[~HUAWEI] interface fabric-port 1
[~HUAWEI-Fabric-Port1] description To_101
Related Topics

device exclude leaf-type

Function

The device exclude leaf-type command prevents a CE5810EI from joining an SVF system as a leaf switch.

The undo device exclude leaf-type command allows a CE5810EI to join an SVF system as a leaf switch.

By default, a CE5810EI can join an SVF system as a leaf switch.

Format

device exclude leaf-type ce5810ei

undo device exclude leaf-type [ ce5810ei ]

Parameters

Parameter Description Value
ce5810ei

Specifies the model of a leaf switch.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

By default, a CE5810EI can join an SVF system as a leaf switch. However, if the SVF system has leaf switches of the CE6810-48S4Q-EI, CE6810-48S4Q-LI, or CE6810-32T16S4Q-LI model, splitting the last 40GE interface of CE6810-48S4Q-EI, CE6810-48S4Q-LI, or CE6810-32T16S4Q-LI is not allowed. If the last 40GE interface of a CE6810-48S4Q-EI, CE6810-48S4Q-LI, or CE6810-32T16S4Q-LI needs to be split, prevent a CE5810EI from joining the SVF system as a leaf switch.

Example

# Prevent a CE5810EI from joining an SVF system as a leaf switch.

<HUAWEI> system-view
[~HUAWEI] device exclude leaf-type ce5810ei

display interface fabric-port

Function

The display interface fabric-port command displays the running status and statistics on a fabric port.

Format

display interface fabric-port [ port-id ]

Parameters

Parameter Description Value
port-id

Displays the running status and statistics on a specified fabric port.

If no port ID is specified, the running status and statistics on all fabric ports are displayed.

The value is an integer that ranges from 1 to 24.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

When monitoring the fabric port status or locating faults on a fabric port, you can run the display interface fabric-port command to obtain the running status and statistics on the fabric port. You can collect traffic statistics and locate faults on the fabric port according to the command output.

Example

# Display the running status and statistics about packets received and sent on a specified fabric port.

<HUAWEI> display interface fabric-port 1
Fabric-Port1 current state : UP (ifindex: 81)
Line protocol current state : DOWN
Description:
Fabric Port, Hash arithmetic : According to SIP-XOR-DIP, The Maximum Frame Length is 12288
Internet protocol processing : disabled
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 0025-9e95-7c21
Current system time: 2014-03-14 17:06:45
Physical is FABRIC_PORT
    Last 300 seconds input rate 525 bits/sec, 0 packets/sec
    Last 300 seconds output rate 9170 bits/sec, 2 packets/sec
    Input:  1181020 packets,450462942 bytes
            1133223 unicast,6 broadcast,4655 multicast
            43135 errors,0 drops
    Output: 73557820274 packets,5885674066128 bytes
            9227658729 unicast,64329846393 broadcast,122698 multicast
            0 errors,1421148100 drops
    Last 300 seconds input utility rate:  0.00%    
    Last 300 seconds output utility rate:  0.00%
---------------------------------------------
PortName                      Status
---------------------------------------------
10GE1/0/35                    down
---------------------------------------------
The Number of Ports in Fabric-Port : 1
The Number of UP Ports in Fabric-Port : 0

Table 4-13  Description of the display interface fabric-port command output

Item

Description

Fabric-Port1 current state

Physical status of the interface:
  • UP: The physical status of the interface is Up.

  • DOWN: The physical status of the interface is Down.

  • Administratively Down: The administrator has run the shutdown command on the interface.

Line protocol current state

Link layer protocol status of the interface.
  • UP: The link layer protocol status of the interface is Up.

  • DOWN: The link layer protocol status of the interface is Down or no IP address is assigned to the interface.

Description

Description of the interface.

Hash arithmetic

Load balancing mode of the interface.

The Maximum Frame Length

Maximum frame length allowed by the interface.

Internet protocol processing

Internet protocol processing status. The value disabled indicates that the network protocol is disabled.

IP Sending Frames' Format

Encapsulation format of IP packets, which can be PKTFMT_ETHNT_2, Ethernet_802.3, or Ethernet_SNAP.

Hardware address

MAC address of the interface.

Current system time

Current system time.

Last 300 seconds input rate

Packet receiving rate (bits per second and packets per second) in the last 5 minutes.

Last 300 seconds output rate

Packet sending rate (bits per second and packets per second) in the last 5 minutes.

Input

Total number of packets and bytes received by the interface.

Output

Total number of packets and bytes sent by the interface.

packets

Total number of packets received or sent by the interface.

bytes

Total number of bytes received or sent by the interface.

unicast

Number of unicast packets received or sent by the interface.

broadcast

Number of broadcast packets received or sent by the interface.

multicast

Number of multicast packets received or sent by the interface.

errors

Number of error packets detected at the physical layer.

drops

Number of packets discarded at the physical layer.

Last 300 seconds input utility rate

Inbound bandwidth usage in the last 5 minutes.

Last 300 seconds output utility rate

Outbound bandwidth usage in the last 5 minutes.

PortName

Name of the member port.

Status

Status of the member port.

The Number of Ports in Fabric-Port

Number of member ports.

The Number of UP Ports in Fabric-Port

Number of member ports in Up state.

display stack upgrade fast group

Function

The display stack upgrade fast group command displays fast SVF upgrade group information.

Format

display stack upgrade fast group [ group-id ]

Parameters

Parameter Description Value
group-id

Specifies a group ID.

The value is 1 or 2.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display stack upgrade fast group command to view fast SVF upgrade group information.

Example

# Display fast SVF upgrade group information.

<HUAWEI> display stack upgrade fast group
Grouping Information:
-----------------------------------------------------
GroupID  MemberID Role             DeviceType
-----------------------------------------------------
1        1        Master           CE6850-48S4Q-EI
-----------------------------------------------------
--:The member is offline.
Table 4-14  Description of the display stack upgrade fast group command output

Item

Description

GroupID

Group ID.

MemberID

Member switch ID.

Role

Switch role:
  • Master
  • Standby
  • Leaf

DeviceType

Device model.

display stack forwarding-model

Function

The display stack forwarding-model command displays the forwarding model of leaf switches in an SVF system.

Format

display stack forwarding-model [ member member-id ]

Parameters

Parameter Description Value
member member-id

Displays the forwarding model of a specified leaf switch.

The value is an integer that ranges from 101 to 254.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

This command enables you to check the forwarding model that is configured for an SVF system and the forwarding model that has taken effect in the SVF system.

Example

# Display the forwarding model of leaf switches in an SVF system.

<HUAWEI> display stack forwarding-model
System Forwarding Model:
---------------------------------
Operation          Configuration
---------------------------------
distributed        distributed
---------------------------------

Leaf Forwarding Model:
------------------------------------------------
MemberID     DeviceType         Operation-Model
------------------------------------------------
101          CE5810-48T4S-EI    distributed
------------------------------------------------
Total Leaf Number : 1
Table 4-15  Description of the display stack forwarding-model command output

Item

Description

System Forwarding Model

Forwarding mode information in the SVF system.

Operation

Forwarding mode that has taken effect in the SVF system, which can be:
  • distributed
  • centralized
  • hybrid

Configuration

Forwarding mode that will take effect in the SVF system after next startup, which can be:
  • distributed
  • centralized
  • hybrid

Leaf Forwarding Model

Forwarding mode of leaf switches.

MemberID

ID of a leaf switch.

DeviceType

Model of a leaf switch.

Operation-Model

Forwarding mode of a leaf switch.

fabric-port

Function

The fabric-port command adds a port to a fabric port.

The undo fabric-port command deletes a port from a fabric port.

By default, ports on a switch do not belong to any fabric port.

Format

fabric-port port-id

undo fabric-port [ port-id ]

Parameters

Parameter Description Value
port-id

Specifies the number of a fabric port.

The value is an integer that ranges from 1 to 24.

Views

10GE interface view, 40GE interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After creating a fabric port, you need to add member ports to the fabric port. One or more member ports can be added to a fabric port to improve SVF link bandwidth and reliability.

You can add member ports to a fabric port using either of the following methods:

Prerequisites

A fabric port has been created using the interface fabric-port command.

Precautions

  • A fabric port can have a maximum of eight member ports.

  • When services conflicting with SVF have been configured on a port, this port cannot be added to a fabric port. The system displays an error message "Error: Some conflicting configuration exists.". You can delete the conflicting service configuration from the port and then add the port to a fabric port.

  • After a 10GE port on the CE6850EI, CE6810EI is directly added to a fabric port, the four 10GE ports in the same range of 4N+1 to 4N+4 (N = 0, 1, 2, 3...) are automatically configured as physical stack member ports, but the other three 10GE ports are not added to the fabric port. For example, after you add 10GE1/0/1 to a fabric port, ports 10GE1/0/1 to 10GE1/0/4 are all configured as physical stack member ports, but only 10GE1/0/1 is added to the fabric port.

Example

# Add service port 10GE1/0/1 to fabric port 1.

<HUAWEI> system-view
[~HUAWEI] interface fabric-port 1
[*HUAWEI-Fabric-Port1] quit
[*HUAWEI] interface 10ge 1/0/1
[*HUAWEI-10GE1/0/1] fabric-port 1

interface fabric-port

Function

The interface fabric-port command creates a fabric port or displays the fabric port view.

The undo interface fabric-port command deletes a fabric port.

By default, no fabric port exists in the system.

Format

interface fabric-port port-id

undo interface fabric-port port-id

Parameters

Parameter Description Value
port-id

Specifies the number of a fabric port.

The value is an integer that ranges from 1 to 24.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

To set up an SVF system, create fabric ports on the parent switches to allow leaf switches to connect to the parent switches.

Example

# Create a fabric port and enter the fabric port view.

<HUAWEI> system-view
[~HUAWEI] interface fabric-port 1
[*HUAWEI-Fabric-Port1]

leaf description

Function

The leaf description command configures the description of a leaf switch.

The undo leaf description command deletes the description of a leaf switch.

By default, no description is configured for a leaf switch.

Format

leaf member member-id description description

undo leaf member member-id description [ description ]

Parameters

Parameter Description Value
member member-id

Specifies the ID of a leaf switch.

The value is an integer that ranges from 101 to 254.

description

Specifies the description.

The value is a string of 1 to 80 case-sensitive characters with spaces supported.

Views

Stack management view

Default Level

2: Configuration level

Usage Guidelines

To facilitate management and identification of a leaf switch in an SVF system, configure the description of the leaf switch.

Example

# Configure the description of a leaf switch.

<HUAWEI> system-view
[~HUAWEI] stack
[~HUAWEI-stack] leaf member 101 description To_SwitchA

leaf negotiation disable

Function

The leaf negotiation disable command disables auto-negotiation on a fabric port.

The undo leaf negotiation disable command enables auto-negotiation on a fabric port.

By default, auto-negotiation is enabled on a fabric port.

Format

leaf negotiation disable

undo leaf negotiation disable

Parameters

None

Views

Fabric port view

Default Level

2: Configuration level

Usage Guidelines

To prevent the switch connected to a fabric port from connecting to the SVF system mistakenly, you can disable auto-negotiation on the fabric port. After auto-negotiation is disabled, the unconfigured switch connected to the fabric port cannot join the SVF system through auto-negotiation. However, the switch configured to work in Leaf mode can still join the SVF system.

Example

# Disable auto-negotiation on a fabric port.

<HUAWEI> system-view
[~HUAWEI] interface fabric-port 1
[~HUAWEI-Fabric-Port1] leaf negotiation disable
Related Topics

leaf serial-number

Function

The leaf serial-number command configures the serial number for leaf switches that join an SVF system.

The undo leaf serial-number command restores the default setting.

By default, no serial number is configured for leaf switches that join an SVF system. That is, all the devices that can function as leaf switches can join an SVF system.

Format

leaf member member-id serial-number serial-number

undo leaf member member-id serial-number [ serial-number ]

Parameters

Parameter Description Value
member member-id

Specifies the ID of a leaf switch.

The value is an integer that ranges from 101 to 254.

serial-number

Specifies the serial number of a device.

The value is a string of 1 to 50 case-sensitive characters without spaces. When double quotation marks are used around the string, spaces are allowed in the string.

NOTE:

You can obtain the serial number from the serial number label on the power supply side or using the display sn command.

Views

Stack management view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To prevent devices from incorrectly joining an SVF system and ensure SVF security, run the leaf serial-number command to configure the serial number for a leaf switch that can join an SVF system. When the serial number of a leaf switch is consistent with the configured serial number, the leaf switch can join the SVF system. Otherwise, the leaf switch cannot join the SVF system.

By default, all the devices that can function as leaf switches can join an SVF system.

Precautions

When a leaf switch has joined an SVF system, it leaves the SVF system if the changed serial number is inconsistent with the configured serial number.

Example

# Set the serial number of leaf switch 101 in an SVF system to 210235527210D4000028.

<HUAWEI> system-view
[~HUAWEI] stack
[~HUAWEI-stack] leaf member 101 serial-number 210235527210D4000028
Warning: The operation may cause the leaf switch reboot.  [Y/N]: y

leaf single-homed alarm enable

Function

The leaf single-homed alarm enable command enables the single-homing alarm function for leaf switches.

The undo leaf single-homed alarm enable command disables the single-homing alarm function for leaf switches.

By default, the single-homing alarm function is disabled.

Format

leaf single-homed alarm enable

undo leaf single-homed alarm enable

Parameters

None

Views

Stack management view

Default Level

2: Configuration level

Usage Guidelines

On a network requiring high reliability, each leaf switch needs to connect to multiple parent switches. After the single-homing alarm function is enabled, the SVF system generates an alarm if a leaf switch connects to only one parent switch.

Example

# Enable the single-homing alarm function for leaf switches.

<HUAWEI> system-view
[~HUAWEI] stack
[~HUAWEI-stack] leaf single-homed alarm enable

leaf type

Function

The leaf type command configures the device type for leaf switches that can join an SVF system.

The undo leaf type command restores the default setting.

By default, no device type is configured for leaf switches that can join an SVF system. That is, all the devices that can function as leaf switches can join an SVF system.

Format

leaf member member-id type type

undo leaf member member-id type [ type ]

Parameters

Parameter Description Value
member member-id

Specifies the ID of a leaf switch.

The value is an integer that ranges from 101 to 254.

type

Specifies the device type.

The value is of enumerated type. You can enter a question mark (?) and select a value from the displayed value range.

Views

Stack management view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To prevent devices from incorrectly joining an SVF system and ensure SVF security, run the leaf type command to configure the device type of leaf switches that can join an SVF system. When the device type of a leaf switch is consistent with the configured device type, the leaf switch can join the SVF system. Otherwise, the leaf switch cannot join the SVF system.

By default, all the devices that can function as leaf switches can join an SVF system.

Precautions

When a leaf switch has joined an SVF system, it leaves the SVF system if the changed device type is inconsistent with the configured device type.

Example

# Set the device type of leaf switch 101 that can join an SVF system to CE5810-48T4S-EI.

<HUAWEI> system-view
[~HUAWEI] stack
[~HUAWEI-stack] leaf member 101 type ce5810-48t4s-ei
Warning: The operation may cause the leaf switch reboot.  [Y/N]: y

load-balance (fabric port view)

Function

The load-balance command configures a load balancing mode for a fabric port.

The undo load-balance command restores the default load balancing mode of a fabric port.

By default, the load balancing mode for a fabric port is src-dst-ip.

Format

load-balance { dst-ip | dst-mac | src-dst-ip | src-dst-mac | src-ip | src-mac | enhanced profile profile-name }

undo load-balance [ dst-ip | dst-mac | src-dst-ip | src-dst-mac | src-ip | src-mac | enhanced profile profile-name ]

Parameters

Parameter Description Value
dst-ip

Indicates that member ports of the fabric port load balance traffic based on destination IP addresses.

-

dst-mac

Indicates that member ports of the fabric port load balance traffic based on destination MAC addresses.

-

src-dst-ip

Indicates that member ports of the fabric port load balance traffic based on source and destination IP addresses.

-

src-dst-mac

Indicates that member ports of the fabric port load balance traffic based on source and destination MAC addresses.

-

src-ip

Indicates that member ports of the fabric port load balance traffic based on source IP addresses.

-

src-mac

Indicates that member ports of the fabric port load balance traffic based on source MAC addresses.

-

enhanced profile profile-name Indicates that member ports of the fabric port load balance traffic based on a load balancing profile.

The load balancing profile must already exist.

Views

Fabric port view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can run the load-balance command to configure a load balancing mode for a fabric port.

Prerequisites

The load-balance profile profile-name command has been executed to create a load balancing profile before the load-balance enhanced profile profile-name command is executed. The default load balancing profile name is default.

Example

# Set the load balancing mode for a fabric port to dst-ip.

<HUAWEI> system-view
[~HUAWEI] interface fabric-port 1
[~HUAWEI-Fabric-Port1] load-balance dst-ip
Related Topics

port bind member

Function

The port bind member command binds a leaf ID to a fabric port.

The undo port bind member command unbinds a leaf ID from a fabric port.

By default, no leaf ID is bound to a fabric port.

Format

port bind member member-id

undo port bind member [ member-id ]

Parameters

Parameter Description Value
member-id

Specifies a leaf ID to be bound to the fabric port.

The value is an integer that ranges from 101 to 254.

Views

Fabric port view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Leaf IDs are used to identify and manage leaf switches in an SVF system. Each leaf switch has a unique leaf ID. Leaf IDs are bound to fabric ports. When a leaf switch connects to the parent switch, it obtains its leaf ID from the parent switch.

Precautions

  • Each fabric port can have only one leaf ID bound to it, and each leaf ID can be bound to only one fabric port.

  • If you change or delete the leaf ID bound to a fabric port, the leaf switch connected to the fabric port will restart.

Example

# Bind leaf ID 101 to fabric port 1.

<HUAWEI> system-view
[~HUAWEI] interface fabric-port 1
[~HUAWEI-Fabric-Port1] port bind member 101
Related Topics

port holdtime

Function

The port holdtime command sets the heartbeat timeout interval for SVF links.

The undo port holdtime command restores the default heartbeat timeout interval of SVF links.

By default, the heartbeat timeout interval of SVF links is 40 seconds.

Format

port holdtime hold-time

undo port holdtime [ hold-time ]

Parameters

Parameter Description Value
hold-time

Specifies the heartbeat timeout interval.

The value is an integer that ranges from 10 to 60, in seconds.

Views

Fabric port view

Default Level

2: Configuration level

Usage Guidelines

In an SVF system, the parent and leaf switches exchange heartbeat packets to maintain link connections between them. If no heartbeat packet is transmitted on an SVF link within the timeout interval, the SVF link is considered abnormal. If SVF links are unstable, you can increase the heartbeat timeout interval of SVF links to maintain SVF system stability. If SVF links are stable, you can shorten the heartbeat timeout interval of SVF links to ensure that traffic can be switched in a timely manner in case of link failures.

Example

# Set the heartbeat timeout interval of SVF links to 20 seconds.

<HUAWEI> system-view
[~HUAWEI] interface fabric-port 1
[~HUAWEI-Fabric-Port1] port holdtime 20
Related Topics

port member-group (fabric port view)

Function

The port member-group command adds member ports to a fabric port.

The undo port member-group command deletes member ports from a fabric port.

By default, a fabric port has no member port.

Format

port member-group interface interface-type { interface-number1 [ to interface-number2 ] } &<1-8>

undo port member-group interface interface-type { interface-number1 [ to interface-number2 ] } &<1-8>

Parameters

Parameter Description Value
interface interface-type { interface-number1 [ to interface-number2 ] }
Specifies the interface type and number.
  • interface-type specifies the interface type.

  • interface-number1 specifies the start interface number.

  • interface-number2 specifies the end interface number.

-

Views

Fabric port view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After creating a fabric port, you need to add member ports to the fabric port. One or more member ports can be added to a fabric port to improve SVF link bandwidth and reliability.

You can add member ports to a fabric port using either of the following methods:
  • Run the port mode stack or port mode stack interface command to configure service ports as physical stack member ports, and then run the fabric-port or port member-group command to add them to the fabric port.

  • Run the fabric-port or port member-group command to add service ports to the fabric port directly. Then the service ports can be automatically configured as physical member ports.

Precautions

  • A fabric port can have a maximum of eight member ports.

  • When services conflicting with SVF have been configured on a port, this port cannot be added to a fabric port. The system displays an error message "Error: Some conflicting configuration exists.". You can delete the conflicting service configuration from the port and then add the port to a fabric port.

  • After a 10GE port on the CE6850EI, CE6810EI is directly added to a fabric port, the four 10GE ports in the same range of 4N+1 to 4N+4 (N = 0, 1, 2, 3...) are automatically configured as physical stack member ports, but the other three 10GE ports are not added to the fabric port. For example, after you add 10GE1/0/1 to a fabric port, ports 10GE1/0/1 to 10GE1/0/4 are all configured as physical stack member ports, but only 10GE1/0/1 is added to the fabric port.

Example

# Add ports 10GE1/0/1 to 10GE1/0/4 to fabric port 1.
<HUAWEI> system view
[~HUAWEI] interface fabric-port 1
[~HUAWEI-Fabric-Port1] port member-group interface 10ge 1/0/1 to 1/0/4

reset stack upgrade fast group

Function

The reset stack upgrade fast group command clears fast SVF upgrade groups.

Format

reset stack upgrade fast group { group-id | all }

Parameters

Parameter Description Value
group-id

Specifies a group ID.

The value is 1 or 2.

all Clears all groups. -

Views

Stack management view

Default Level

3: Management level

Usage Guidelines

After you run the reset stack upgrade fast group command to clear fast SVF upgrade groups, all member switches leave the groups.

Example

# Clear fast SVF upgrade groups.

<HUAWEI> system-view
[~HUAWEI] stack
[~HUAWEI-stack] reset stack upgrade fast group all

stack forwarding-model

Function

The stack forwarding-model command sets a forwarding model for an SVF system.

The undo stack forwarding-model command restores the default forwarding model of an SVF system.

By default, the forwarding model of leaf switches in an SVF system depends on the model of the parent switch:
  • When the parent switch is a CE6850EI/CE6810EI/CE7850EI, the CE6810LI leaf switches use the hybrid forwarding model and the leaf switches of other models use the distributed forwarding model.

  • When the parent switch is another model, the leaf switches use the hybrid forwarding model.

Format

stack forwarding-model { centralized | distributed | hybrid }

undo stack forwarding-model [ centralized | distributed | hybrid ]

Parameters

Parameter Description Value
centralized

Sets the forwarding model to centralized forwarding.

-

distributed

Sets the forwarding model to distributed forwarding.

-

hybrid

Sets the forwarding model to hybrid forwarding.

-

Views

Stack management view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Leaf switches in an SVF system support the following forwarding models:
  • Centralized forwarding: Leaf switches send all traffic to the parent switch for forwarding.

  • Distributed forwarding: Leaf switches first look up local forwarding entries for traffic forwarding. If they fail to find the matching entries, they discard Layer 3 traffic and broadcast Layer 2 traffic in the SVF system.

  • Hybrid forwarding: Leaf switches learn only local ARP and MAC address entries. (Only service ports learn entries, while ports connecting to the parent switch do not learn entries). They send broadcast and multicast traffic to the parent switch for forwarding and forward unicast traffic based on local ARP and MAC address entries preferentially. If they fail to find the matching entries, they send unicast traffic to the parent switch for forwarding.

    CE6810LI switches without Layer 3 forwarding capability learn only MAC address entries.

Precautions

  • The forwarding model configured for an SVF system takes effect only after you restart the SVF system.

  • CE6810LI switches do not support the distributed forwarding model when they function as leaf switches.

Example

# Set the forwarding model for an SVF system to centralized forwarding.

<HUAWEI> system-view
[~HUAWEI] stack
[~HUAWEI-stack] stack forwarding-model centralized

stack upgrade fast group

Function

The stack upgrade fast group command divides member switches in an SVF system into groups during a fast upgrade.

By default. member switches in an SVF system are not divided into groups during a fast upgrade.

Format

stack upgrade fast group group-id { add | delete } member { member-id1 [ to member-id2 ] } &<1-26>

Parameters

Parameter Description Value
group-id Specifies a group ID.

The value is 1 or 2.

add Adds member switches to groups. -
delete Deletes member switches from groups. -
member { member-id1 [ to member-id2 ] } Specifies the ID of a member switch.

The value is an integer that ranges from 1 to 4 or 101 to 254.

Views

Stack management view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

During a fast SVF system upgrade, all member switches must be divided into two groups. The master parent switch and some leaf switches belong to one group, and the standby parent switch as well as other leaf switches belong to the other group. The group to which the standby parent switch belongs will be upgraded first, followed by the group to which the master parent switch belongs.

Precautions

  • The master and standby parent switches must belong to different groups.

  • All the member switches in an SVF system must be divided into groups; otherwise, the SVF system cannot be fast upgraded.

  • If a leaf switch connects to only the master parent switch, this leaf switch must belong to the same group as the master parent switch.

Example

# Divide member switches in an SVF system into groups during a fast upgrade.

<HUAWEI> system-view
[~HUAWEI] stack
[~HUAWEI-stack] stack upgrade fast group 1 add member 1

switch mode

Function

The switch mode command sets the working mode of a switch.

By default, the working mode of a switch is auto-negotiation.

NOTE:

This command can be run on leaf or parent switches, but takes effect only on leaf switches.

Format

switch mode { leaf | stack | auto-negotiation } member { member-id | all }

Parameters

Parameter Description Value
leaf

Indicates the leaf mode. A switch working in this mode functions as a leaf switch.

-

stack

Indicates the stack mode. A switch working in this mode functions as an independent switch.

-

auto-negotiation

Indicates the auto-negotiation mode. That is, a switch determines its working mode through auto-negotiation.

-

member member-id

Sets the working mode of a specified member switch.

The value is an integer that ranges from 1 to 9 or 1 to 16 on a leaf switch or ranges from 101 to 254 on a parent switch. You can enter a question mark (?) and select a value from the displayed value range.

all

Sets the working mode of all the member switches.

-

Views

Stack management view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

By default, a switch that can function as a leaf switch determines its working mode (leaf or stack) through auto-negotiation after it is powered on. You can also set the working mode of a switch using the switch mode command. This command configures the switch to work in a fixed mode after every start.

Precautions

The configured working mode takes effect after the switch restarts.

Example

# Configure the working mode of a switch to the leaf mode.

<HUAWEI> system-view
[~HUAWEI] stack
[~HUAWEI-stack] switch mode leaf member 1
Warning: The switch will run in leaf mode after reboot. Continue? [Y/N]: y
Translation
Download
Updated: 2019-03-21

Document ID: EDOC1000166501

Views: 43652

Downloads: 330

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next