EVB commands -- bandwidth

Use bandwidth to set the expected bandwidth of an interface.

Use undo bandwidth to restore the default.

Syntax

bandwidth bandwidth-value

undo bandwidth

Default

The expected bandwidth of an interface is the default maximum bandwidth of the physical port to which the interface belongs.

Views

S-channel interface view

S-channel aggregate interface view

VSI interface view

VSI aggregate interface view

Predefined user roles

network-admin

mdc-admin

Parameters

bandwidth-value: Specifies the expected bandwidth in the range of 1 to 400000000 kbps.

Usage guidelines

The expected bandwidth is an informational parameter used only by higher-layer protocols for calculation. You cannot adjust the actual bandwidth of an interface by using this command.

Examples

# Set the expected bandwidth to 2000000 kbps for S-Channel 1/0/1:10.

<Sysname> system-view

[Sysname] interface s-channel 1/0/1:10

[Sysname–S-Channel1/0/1:10] bandwidth 2000000

# Set the expected bandwidth to 2000000 kbps for Schannel-Aggregation1:10.

<Sysname> system-view

[Sysname] interface schannel-aggregation 1:10

[Sysname–Schannel-Aggregation1:10] bandwidth 2000000

# Set the expected bandwidth to 2000000 kbps for S-Channel 1/0/1:10.1.

<Sysname> system-view

[Sysname] interface s-channel 1/0/1:10.1

[Sysname–S-Channel1/0/1:10.1] bandwidth 2000000

# Set the expected bandwidth to 2000000 kbps for Schannel-Aggregation1:10.1.

<Sysname> system-view

[Sysname] interface schannel-aggregation 1:10.1

[Sysname–Schannel-Aggregation1:10.1] bandwidth 2000000

EVB commands -- default

Use default to restore the default settings for an interface.

Syntax

default

Views

S-channel interface view

S-channel aggregate interface view

VSI interface view

VSI aggregate interface view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

| CAUTION: The default command might interrupt ongoing network services. Make sure you are fully aware of the impacts of this command when you execute it on a live network.

This command might fail to restore the default settings for some commands for reasons such as command dependencies and system restrictions. Use the display this command in interface view to identify these commands. Then use their undo forms or follow the command reference to individually restore their default settings. If your restoration attempt still fails, follow the error message instructions to resolve the problem.

Examples

# Restore the default settings for S-Channel 1/0/1:10.

<Sysname> system-view

[Sysname] interface s-channel 1/0/1:10

[Sysname–S-Channel1/0/1:10] default

# Restore the default settings for Schannel-Aggregation1:10.

<Sysname> system-view

[Sysname] interface schannel-aggregation 1:10

[Sysname–Schannel-Aggregation1:10] default

# Restore the default settings for S-Channel 1/0/1:10.1.

<Sysname> system-view

[Sysname] interface s-channel 1/0/1:10.1

[Sysname–S-Channel1/0/1:10.1] default

# Restore the default settings for Schannel-Aggregation1:10.1.

<Sysname> system-view

[Sysname] interface schannel-aggregation 1:10.1

[Sysname–Schannel-Aggregation1:10.1] default

EVB commands -- description

Use description to configure the description of an interface.

Use undo description to restore the default.

Syntax

description text

undo description

Default

The default description for an interface is interface name Interface. The following table shows examples of interfaces and their default descriptions:

Interface | Description
S-channel interface S-Channel 1/0/1:10 | S-Channel 1/0/1:10 Interface
S-channel aggregate interface Schannel-Aggregation 1:10 | Schannel-Aggregation 1:10 Interface
VSI interface S-Channel 1/0/1:10.1 | S-Channel 1/0/1:10.1 Interface
VSI aggregate interface Schannel-Aggregation 1:10.1 | Schannel-Aggregation 1:10.1 Interface

Views

S-channel interface view

S-channel aggregate interface view

VSI interface view

VSI aggregate interface view

Predefined user roles

network-admin

mdc-admin

Parameters

text: Specifies a description for the interface, a case-sensitive string of 1 to 255 characters.

Examples

# Set the description to S-Channel to lab for S-Channel 1/0/1:10.

<Sysname> system-view

[Sysname] interface s-channel 1/0/1:10

[Sysname–S-Channel1/0/1:10] description S-Channel to lab

# Set the description to Schannel-Aggregation to lab for Schannel-Aggregation 1:10.

<Sysname> system-view

[Sysname] interface schannel-aggregation 1:10

[Sysname–Schannel-Aggregation1:10] description Schannel-Aggregation to lab

# Set the description to VSI to lab for S-Channel 1/0/1:10.1.

<Sysname> system-view

[Sysname] interface s-channel 1/0/1:10.1

[Sysname–S-Channel1/0/1:10.1] description VSI to lab

# Set the description to VSI-Aggregation to lab for Schannel-Aggregation 1:10.1.

<Sysname> system-view

[Sysname] interface schannel-aggregation 1:10.1

[Sysname–Schannel-Aggregation1:10.1] description VSI-Aggregation to lab

EVB commands -- display evb cdcp

Use display evb cdcp to display CDCP negotiation information.

Syntax

display evb cdcp [ interface interface-type interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

interface interface-type interface-number: Specifies an interface (Layer 2 Ethernet interface or Layer 2 aggregate interface) by its type and number. If you do not specify an interface, this command displays CDCP negotiation information for all interfaces with EVB enabled.

Examples

# Display CDCP negotiation information for all interfaces with EVB enabled.

<Sysname> display evb cdcp

---------------------------Bridge-Aggregation1---------------------

S-component capability : Local-supported/Remote-not supported

Supported S-Channel numbers per-port : Local-167/Remote-0

SVID range : 2-4094

SCID requested from remote :

SCID/SVID pair list allocated :

<1, 1>

---------------------------GigabitEthernet1/0/1---------------------

S-component capability : Local-supported/Remote-supported

Supported S-Channel numbers per-port : Local-167/Remote-167

SVID range : 2-4094

SCID requested from remote :

1, 2, 3, 4, 6, 10, 11, 12, 34, 35, 67

SCID/SVID pair list allocated :

<1, 1>, <2, 3>, <3, 2>, <4, 5>, <6, 4>,

<10, 9>, <11, 6>, <12, 7>, <34, 23>, <35, 35>,

<67, 67>

Table 1 Command output

Field | Description
S-component capability | Port-mapping S-VLAN component capability on the EVB bridge and the EVB station: supported or not supported.
Supported S-channel numbers per-port | Number of S-channels supported by the EVB bridge and the EVB station.
SVID range | SVID range on the EVB bridge.
SCID requested from remote | SCIDs requested by the EVB station in ascending order.
SCID/SVID pair list allocated | List of (SCID, SVID) pairs allocated by the EVB bridge.

EVB commands -- display evb evb-tlv

Use display evb evb-tlv to display S-channel EVB TLV negotiation information.

Syntax

display evb evb-tlv [ interface interface-type { interface-number | interface-number:channel-id } ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

interface: Specifies an interface. If you do not specify an interface, this command displays EVB TLV negotiation information for all interfaces with EVB enabled.

interface-type { interface-number | interface-number:channel-id }: Specifies a Layer 2 Ethernet interface, Layer 2 aggregate interface, S-channel interface, or an S-channel aggregate interface by its type and number. The interface-number argument specifies a Layer 2 Ethernet interface or Layer 2 aggregate interface. The interface-number:channel-id argument specifies an S-channel interface or S-channel aggregate interface.

Examples

# Display EVB TLV negotiation information for GigabitEthernet 1/0/1.

<Sysname> display evb evb-tlv interface gigabitethernet 1/0/1

S-Channel1/0/1:1

EVB mode : Local-bridge/Remote-station

BGID status : Supported

Local RR capability : Supported

Local RR status : Disabled

Remote SGID status : Not supported

Remote RR request status : Not requested

Remote RR status : Unknown

Max ECP retry time : Local-3/Remote-NA/Operative-3

ULPDU retransmission exponent : Local-16/Remote-NA/Operative-16

Resource wait-delay exponent : Local-20/Remote-NA/Operative-20

Reinit Keep-alive exponent : Local-25/Remote-NA/Operative-25

S-Channel1/0/1:100

EVB mode : Local-bridge/Remote-station

BGID status : Supported

Local RR capability : Supported

Local RR status : Disabled

Remote SGID status : Not supported

Remote RR request status : Not requested

Remote RR status : Unknown

Max ECP retry time : Local-3/Remote-NA/Operative-3

ULPDU retransmission exponent : Local-16/Remote-NA/Operative-16

Resource wait-delay exponent : Local-20/Remote-NA/Operative-20

Reinit keep-alive exponent : Local-25/Remote-NA/Operative-25

Table 2 Command output

Field | Description
EVB mode | EVB mode: · bridge—EVB bridge. · station—EVB station.
BGID status | Support for Group ID on the EVB bridge: Supported or Not supported.
Local RR capability | Support for the RR mode on the EVB bridge: Supported or Not supported.
Local RR status | RR status on the EVB bridge after EVB TLV negotiation.
Remote SGID status | Support for Group ID on the EVB station: Supported or Not supported.
Remote RR request status | Whether or not the EVB station has requested the RR mode: Requested or Not requested.
Remote RR status | Whether or not the EVB station has enabled the RR mode after EVB TLV negotiation: Enabled, Disabled, or Unknown.
Max ECP retry time | Maximum ECP retransmission times in this format: Local negotiation value/Remote negotiation value/Operative value. NA means no value is set on the remote EVB station.
ULPDU retransmission exponent | ECP retransmission exponent in this format: Local negotiation value/Remote negotiation value/Operative value. NA means no value is set on the remote EVB station.
Resource wait-delay exponent | VDP resource-wait-delay exponent in this format: Local negotiation value/Remote negotiation value/Operative value. NA means no value is set on the remote EVB station.
Reinit keep-alive exponent | VDP keepalive exponent in this format: Local negotiation value/Remote negotiation value/Operative value. NA means no value is set on the remote EVB station.

EVB commands -- display evb s-channel

Use display evb s-channel to display S-channel information.

Syntax

display evb s-channel [ interface interface-type interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

interface interface-type interface-number: Specifies an interface (Layer 2 Ethernet interface or Layer 2 aggregate interface) by its type and number. If you do not specify an interface, this command displays S-channel information for all interfaces with EVB enabled.

Examples

# Display S-channel information for GigabitEthernet 1/0/1.

<Sysname> display evb s-channel interface gigabitethernet 1/0/1

RR status: D -- Disabled, E -- Enabled

MAC learning: A -- Allowed, F -- Forbidden

S-Channel SVID Uptime RR MAC VSI

interface yyyy/mm/dd hh:mm:ss status learning number

S-Ch1/0/1:1 1 2012/12/17 03:43:13 D A 0

S-Ch1/0/1:100 100 2012/12/17 03:43:14 D A 2

Table 3 Command output

Field | Description
S-Channel interface | S-channel interface name.
Uptime | Time when the S-channel was created.
VSI number | Number of VSI interfaces created on the S-channel.

EVB commands -- display evb summary

Use display evb summary to display brief EVB information.

Syntax

display evb summary

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Examples

# Display brief EVB information.

<Sysname> display evb summary

Default manager ID: 192.168.1.1

Port number: 80

Interface S-Channel number VSI number

GE1/0/1 2 2

Table 4 Command output

Field | Description
Default manager ID | Address or name of the default VSI manager.
Port number | Port number of the default VSI manager.
Interface | Name of the interface with EVB enabled.
S-channel number | Number of S-channels.
VSI number | Number of VSI interfaces.

EVB commands -- display evb vsi

Use display evb vsi to display VSI interface information.

Syntax

display evb vsi [ verbose ] [ interface interface-type { interface-number | interface-number:channel-id | interface-number:channel-id.vsi-

local-id } ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

verbose: Displays detailed VSI interface information. If you do not specify this keyword, the command displays brief VSI interface information.

interface: Specifies an interface. If you do not specify an interface, this command displays VSI interface information for all interfaces with EVB enabled.

interface-type { interface-number | interface-number:channel-id | interface-number:channel-id.vsi-local-id }: Specifies a Layer 2 Ethernet interface , Layer 2 aggregate interface, S-channel interface, S-channel aggregate interface, VSI interface, or a VSI aggregate interface by its type and number.

· The interface-number argument specifies a Layer 2 Ethernet interface or Layer 2 aggregate interface.

· The interface-number:channel-id argument specifies an S-channel interface or S-channel aggregate interface.

· The interface-number:channel-id.vsi-local-id argument specifies a VSI interface or VSI aggregate interface.

Examples

# Display brief VSI interface information for GigabitEthernet 1/0/1.

<Sysname> display evb vsi interface gigabitethernet 1/0/1

Status: A -- Association, P -- Pre-association

VSI VTID Type Instance Status

interface version ID

S-Ch1/0/1:100.0 NA NA NA P

S-Ch1/0/1:100.1 NA NA NA A

# Display detailed VSI interface information for GigabitEthernet 1/0/1.

<Sysname> display evb vsi verbose interface gigabitethernet 1/0/1

S-Channel1/0/1:100

S-Channel1/0/1:100.0

VSI local-ID: 0 VSI type ID: NA VSI type version: NA

VSI instance ID: NA

VSI manager ID: NA

Current VDP status: Pre-association

Filter type: VID

Filter info:

<100>

S-Channel1/0/1:100.1

VSI local-ID: 1 VSI type ID: 100 VSI type version: 0

VSI instance ID: 11:2233:4455:6677:8899:1234:5678:9010

VSI manager ID: NA

Current VDP status: Association

Filter type: MAC/VID

Filter info:

<0011-2233-4455, 1000>

Table 5 Command output

Field | Description
VSI interface | Name of the VSI interface.
VTID/VSI type ID | VSI type ID. NA indicates no ID is specified.
Type version/VSI type version | VSI type version number. NA indicates no version is specified.
Instance ID/VSI instance ID | VSI instance ID. NA indicates no instance ID is specified.
Status | Current status of the VSI interface: · A—Association property. · P—Pre-association property.
VSI manager ID | Address of the VSI manager. NA indicates no VSI manager is specified.
Current VDP status | Current status of the VSI interface: · Association—Association property. · Pre-association—Pre-association property.
Filter type | VSI filter type: · GroupID/VID—Group ID values and VID values. · GroupID/MAC/VID—Group ID values, MAC addresses, and VID values. · VID—VLAN ID. · MAC/VID—MAC addresses and VID values.
Filter info | VSI filters.

EVB commands -- display flex10

Use display flex10 to display S-channel information and remote S-channel state for the specified Flex10-enabled interface.

Syntax

display flex10 [ interface { interface-type interface-number | s-channel interface-number:channel-id } ]

Views

Any view

Predefined user roles

network-admin

mdc-admin

Parameters

interface: Displays information about the specified interface or S-channel interface. If you do not specify this keyword, the command displays information about all interfaces enabled with Flex10.

interface-type interface-number: Specifies an interface by its type and number.

s-channel interface-number:channel-id: Specifies an S-channel interface. The interface-number argument specifies the interface where the S-channel resides. The channel-id argument specifies the ID of the S-channel. The channel ID must already exist.

Examples

# Display S-channel information and remote S-channel state for Flex10-enabled interface GigabitEthernet 1/0/1.

<sysname> display flex10 interface gigabitethernet 1/0/1

---------------------------GigabitEthernet1/0/1---------------------

S-Channel 1:

Peer station information:

Channel termination type: PCI physical function (Primary)

Channel termination capabilities: Ethernet

Priority code points/traffic classes (PCPs/TCs): 3

Bandwidth committed information rate (BW CIR): 1000mbps

Bandwidth excess information rate (BW EIR): 200mbps

Status: Disabled

Local information:

SVID: 1

Status: Enabled

S-Channel 4094 (Peer station sideBand management schannel):

Peer station information:

Channel instance identifier: UUID-0x00080008000800080008000800080008

Status: Disabled

Local information:

SVID: 1

Status: Enabled

Table 6 Command output

Field | Description
Peer station information | Description for the remote S-channel. The description is transmitted through the HP channel descriptions TLV.
Channel termination type | Virtualization mode of the S-channel on the station.
Channel termination capabilities | Type of the protocol used by the S-channel on the station.
Priority code points/traffic classes (PCPs/TCs) | Transmission priority of the S-channel.
Bandwidth committed information rate (BW CIR) | Bandwidth committed information rate (BW CIR) of the S-channel.
Bandwidth excess information rate (BW EIR) | Bandwidth excess information rate (BW EIR) of the S-channel.
Channel instance identifier | Instance identifier of the S-channel.
Local information | Local description for the S-channel.
SVID | S-VLAN ID of the S-channel.
Status | S-channel state: · Enable—HP CLC TLV negotiation has completed. · Disable—HP CLC TLV negotiation has not completed.

EVB commands -- display interface

Use display interface to display information about an S-channel interface, an S-channel aggregate interface, a VSI interface, or a VSI aggregate interface.

Syntax

display interface [ { s-channel | schannel-aggregation } [ interface-number:channel-id | interface-number:channel-id.vsi-

local-id ] ] [ brief [ description | down ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

s-channel: Specifies an S-channel interface or a VSI interface.

schannel-aggregation: Specifies an S-channel aggregate interface or a VSI aggregate interface.

interface-number:channel-id: Specifies an S-channel interface or S-channel aggregate interface. The interface-number argument specifies the interface where the S-channel resides. The channel-id argument specifies the ID of the S-channel.

interface-number:channel-id.vsi-local-id: Specifies a VSI interface or VSI aggregate interface. The interface-number argument specifies the interface where the S-channel resides. The channel-id argument specifies the ID of the S-channel. The vsi-local-id argument specifies the local ID of the VSI.

brief: Displays brief information. If you do not specify this keyword, the command displays detailed information.

description: Displays complete interface descriptions. If you do not specify this keyword, the command displays only the first 27 characters of interface descriptions.

down: Displays information about interfaces in DOWN state and the causes. If you do not specify this keyword, the command displays information about interfaces in all states.

Usage guidelines

If you do not specify an interface type, this command displays information about all interfaces.

If you specify an interface type but do not specify an interface number, this command displays information about all created S-channel interfaces and VSI interfaces.

Examples

# Display detailed information about S-Channel 1/0/1:10.

<Sysname> display interface s-channel 1/0/1:10

S-Channel1/0/1:10

Current state: DOWN

IP packet frame type: Ethernet II, hardware address: 0cda-415e-2386

Description: S-Channel1/0/1:10 Interface

Bandwidth: 10000000 kbps

Unknown-speed mode, unknown-duplex mode

Link speed type is autonegotiation, link duplex type is autonegotiation

PVID: 1

Port link-type: Trunk

VLAN Passing: 1(default vlan)

VLAN permitted: 1(default vlan)

Trunk port encapsulation: IEEE 802.1q

Last clearing of counters: Never

Input (total): 0 packets, 0 bytes

Output (total): 0 packets, 0 bytes

# Display brief information about S-Channel 1/0/1:10.

<Sysname> display interface s-channel 1/0/1:10 brief

Brief information on interfaces in bridge mode:

Link: ADM - administratively down; Stby - standby

Speed: (a) - auto

Duplex: (a)/A - auto; H - half; F - full

Type: A - access; T - trunk; H - hybrid

Interface Link Speed Duplex Type PVID Description

S-Ch1/0/1:10 DOWN 10G(a) F(a) T 1

# Display detailed information about S-Channel 1/0/1:10.1.

<Sysname> display interface s-channel 1/0/1:10.1

S-Channel1/0/1:10.1

Current state: DOWN

IP packet frame type: Ethernet II, hardware address: 0cda-415e-2386

Description: S-Channel1/0/1:10.1 Interface

Bandwidth: 10000000 kbps

Last clearing of counters: Never

Input: 0 packets, 0 bytes, 0 drops

Output: 0 packets, 0 bytes, 0 drops

Table 7 Command output

Field | Description
Current state | Physical link state of the interface: · Administratively DOWN—The interface has been shut down by using the shutdown command. · DOWN—The interface is administratively up, but its physical state is down (possibly because no physical link exists or the link has failed). · UP—The interface is both administratively and physically up.
IP packet frame type | IPv4 packet framing format.
hardware address | MAC address of the interface.
Unknown-speed mode | The speed of the interface is unknown because the speed negotiation fails or the interface is physically disconnected.
unknown-duplex mode | The duplex mode of the interface is unknown because the duplex mode negotiation fails or the interface is physically disconnected.
Link speed type is autonegotiation, link duplex type is autonegotiation | The interface is configured with the speed auto and duplex auto commands.
PVID | Port VLAN ID (PVID) of the interface.
VLAN Passing | VLANs whose packets can be forwarded by the port. The VLANs must have been created.
VLAN permitted | VLANs whose packets are permitted by the port.
Trunk port encapsulation | Encapsulation protocol type for the trunk port.
Last clearing of counters | Time when the reset counters interface command was last used to clear the interface statistics. This field displays Never if the reset counters interface command has never been used on the interface since device startup.
Input (total): 0 packets, 0 bytes | Inbound traffic statistics (in packets and bytes) for the interface.
Output (total): 0 packets, 0 bytes | Outbound traffic statistics (in packets and bytes) for the interface.

# Display brief information about S-Channel 1/0/1:10.1.

<Sysname> display interface s-channel 1/0/1:10.1 brief

Brief information on interfaces in bridge mode:

Link: ADM - administratively down; Stby - standby

Speed: (a) - auto

Duplex: (a)/A - auto; H - half; F - full

Type: A - access; T - trunk; H - hybrid

Interface Link Speed Duplex Type PVID Description

S-Ch1/0/1:10.1 UP -- -- -- --

# Display brief information about all S-channel interfaces and VSI interfaces in DOWN state.

<Sysname> display interface s-channel brief down

Brief information on interfaces in bridge mode:

Link: ADM - administratively down; Stby - standby

Interface Link Cause

S-Ch1/0/1:11 DOWN Not connected

S-Ch1/0/1:11.1 DOWN Not connected

Table 8 Command output

Field | Description
Brief information on interfaces in bridge mode | Brief information about Layer 2 interfaces.
Interface | Abbreviated interface name.
Link | Physical link state of the interface: · UP—The interface is physically up. · DOWN—The interface is physically down. · ADM—The interface has been shut down by using the shutdown command. To restore the physical state of the interface, use the undo shutdown command. · Stby—The interface is a backup interface in standby state. To see the primary interface, use the display interface-backup state command.
Speed | Speed of the interface, in bps. This field displays the (a) flag next to the speed if the speed is automatically negotiated. This field displays auto if the interface is configured to autonegotiate its speed but the autonegotiation has not started.
Duplex | Duplex mode of the interface: · A—Autonegotiation. The interface is configured to autonegotiate its duplex mode but the autonegotiation has not started. · F—Full duplex. · F(a)—Autonegotiated full duplex. · H—Half duplex. · H(a)—Autonegotiated half duplex.
Type | Link type of the interface: · A—Access. · H—Hybrid. · T—Trunk.
PVID | Port VLAN ID.
Cause | Cause for the physical link state of an interface to be DOWN: · Administratively—The interface has been manually shut down by using the shutdown command. To restore the physical state of the interface, use the undo shutdown command. · Not connected—No physical connection exists (possibly because the network cable is disconnected or faulty).

Related commands

reset counters interface

EVB commands -- display statistic mode

Use display statistic mode to display the packet statistics collection mode in use.

Syntax

display statistic mode

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Examples

# Display the packet statistics mode in use.

<Sysname> display statistic mode

The packet statistic mode is s-channel.

Related commands

statistic mode s-channel

EVB commands -- evb default-manager

Use evb default-manager to specify the default VSI manager.

Use undo evb default-manager to restore the default.

Syntax

evb default-manager { { ip ipv4-address | ipv6 ipv6-address | name name } [ port port-number ] | local-server }

undo evb default-manager

Default

The default VSI manager is not specified.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

ip ipv4-address: Specifies the IPv4 address of the default VSI manager.

ipv6 ipv6-address: Specifies the IPv6 address of the default VSI manager.

name name: Specifies the name of the default VSI manager, a case-insensitive string of 1 to 127 characters.

port port-number: Specifies the port number of the default VSI manager, in the range of 0 to 65535. The default port number is 8080.

local-server: Specifies the device as the default VSI manager.

Usage guidelines

When the bridge receives a VDP packet (except for a De-Associate packet) from a station, it contacts the VSI manager specified in the VDP packet to get VSI interface resources and policies for the station.

The VSI manager ID TLV in a VDP packet carries the VSI manager's IP address. If the value for the TLV is 0, the bridge communicates with the default VSI manager specified by this command.

Examples

# Set the IPv4 address to 192.168.100.20 for the default VSI manager.

<Sysname> system-view

[Sysname] evb default-manager ip 192.168.100.20

EVB commands -- evb enable

Use evb enable to enable EVB on an interface.

Use undo evb enabl e to disable EVB on an interface.

Syntax

evb enable

undo evb enable

Default

EVB is disabled on an interface.

Views

Layer 2 Ethernet interface view

Layer 2 aggregate interface view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

Do not enable EVB on a member port of an aggregation group, or add a member port with EVB enabled into an aggregation group.

Restore all default settings for an interface by using the default command before enabling EVB on the interface.

A default S-channel is created on an interface after EVB is enabled on the interface, with both SCID and SVID as 1. After an S-channel is created, an S-channel interface or S-channel aggregate interface is created and operates in access mode.

Except for the LLDP and VLAN settings described in EVB Configuration Guide, do not configure other settings or enable any other Layer 2 protocols on an interface with EVB enabled.

Delete all non-default S-channels on an interface before disabling EVB on the interface. The default S-channel is deleted after EVB is disabled.

Examples

# Enable EVB on GigabitEthernet 1/0/1.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] evb enable

# Enable EVB on Bridge-Aggregation 1.

<Sysname> system-view

[Sysname] interface bridge-aggregation 1

[Sysname-Bridge-Aggregation1] evb enable

Related commands

evb s-channel

EVB commands -- evb mac-learning forbidden

Use evb mac-learning forbidden to disable MAC address learning for an S-channel.

Use undo evb mac-learning forbidden to enable MAC address learning for an S-channel.

Syntax

evb mac-learning forbidden

undo evb mac-learning forbidden

Default

MAC address learning for an S-channel is enabled.

Views

S-channel interface view

S-channel aggregate interface view

S-channel bundle interface view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

For the EVB bridge to successfully forward traffic from VMs on the EVB station, do not disable MAC address learning for an S-channel with the RR mode disabled.

After you disable MAC address learning for an S-channel, packets with an unknown source MAC address are discarded.

The undo evb mac-learning forbidden command and the mac-address mac-learning enable command must be configured together to avoid communication interruption.

For information about S-channel bundle interfaces, see Layer 2—LAN Switching Configuration Guide.

Examples

# Disable MAC address learning on S-Channel 1/0/1:10.

<Sysname> system-view

[Sysname] interface s-channel 1/0/1:10

[Sysname-S-Channel1/0/1:10] evb mac-learning forbidden

# Disable MAC address learning on Schannel-Aggregation 1:10.

<Sysname> system-view

[Sysname] interface schannel-aggregation 1:10

[Sysname–Schannel-Aggregation1:10] evb mac-learning forbidden

# Disable MAC address learning on Schannel-Bundle 1.

<Sysname> system-view

[Sysname] interface schannel-bundle 1

[Sysname–Schannel-Bundle1] evb mac-learning forbidden

Related commands

evb reflective-relay

mac-address mac-learning enable (Layer 2—LAN Switching Command Reference)

EVB commands -- evb reflective-relay

Use evb reflective-relay to enable the RR mode for an S-channel.

Use undo evb reflective-relay to disable the RR mode for an S-channel.

Syntax

evb reflective-relay

undo evb reflective-relay

Default

The RR mode for an S-channel is disabled.

Views

S-channel interface view

S-channel aggregate interface view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

EVB TLVs exchanged through LLDP allow an EVB station and EVB bridge to negotiate the use of reflective relay (RR). If the EVB bridge supports the RR mode, when the EVB station requests the use of the RR mode, the bridge performs the following operations:

· Automatically enables the RR mode for the S-channel.

· Adds the corresponding command line to the configuration file.

Examples

# Enable the RR mode on S-Channel 1/0/1:10.

<Sysname> system-view

[Sysname] interface s-channel 1/0/1:10

[Sysname-S-Channel1/0/1:10] evb reflective-relay

# Enable the RR mode on Schannel-Aggregation 1:10.

<Sysname> system-view

[Sysname] interface schannel-aggregation 1:10

[Sysname–Schannel-Aggregation1:10] evb reflective-relay

EVB commands -- evb s-channel

Use evb s-channel to create an S-channel on an interface.

Use undo evb s-channel to remove an S-channel on an interface.

Syntax

evb s-channel channel-id [ service-vlan svlan-id ]

undo evb s-channel channel-id

Default

Only an automatically created default S-channel (with both SCID and SVID as 1) exists on an interface with EVB or Flex10 enabled.

Views

Layer 2 Ethernet interface view

Layer 2 aggregate interface view

Predefined user roles

network-admin

mdc-admin

Parameters

channel-id: Specifies an S-channel ID (SCID) in the range of 2 to 167. Value of 0 is the reserved SCID, and value of 1 is the default SCID.

svlan-id: Specifies an S-VLAN ID (SVID) in the range of 2 to 4094. Value of 1 is the SVID for the default S-channel. If you do not specify this argument, the system automatically assigns the minimum SVID that is not used by other S-channels.

Usage guidelines

An S-channel is automatically created through CDCP, and the command line corresponding to the action is added to the configuration file on the bridge. You can also manually create an S-channel by using this command. If you create an S-channel that has the same number as an automatically created S-channel, the (SCID, SVID) pair configuration for the automatically created S-channel takes precedence over the (SCID, SVID) pair configuration for the manually created S-channel.

Creating an S-channel also creates an S-channel interface or S-channel aggregate interface. Removing an S-channel also removes the S-channel interface or S-channel aggregate interface. The S-channel interface or S-channel aggregate interface associated with a manually created S-channel operates in access mode. The S-channel interface or S-channel aggregate interface associated with an automatically created S-channel operates in trunk mode.

An S-channel interface is associated with the S-channel that is created on a Layer 2 Ethernet interface. An S-channel aggregate interface is associated with the S-channel that is created on a Layer 2 aggregate interface.

When you create an S-channel, follow these restrictions and guidelines:

· Create an S-channel on an interface with EVB enabled.

· When you manually create an S-channel, do not use the SCID or SVID being used by any other S-channels.

· To manually create or remove an S-channel, disable CDCP that automatically performs these operations.

Examples

# Create an S-channel on GigabitEthernet 1/0/1, with the SCID 10 and SVID 5.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] evb s-channel 10 service-vlan 5

# Create an S-channel on Bridge-Aggregation 1, with the SCID 10 and SVID 5.

<Sysname> system-view

[Sysname] interface bridge-aggregation 1

[Sysname-Bridge-Aggregation1] evb s-channel 10 service-vlan 5

Related commands

evb enable

interface

EVB commands -- evb vdp timer keepalive exponent

Use evb vdp timer keepalive exponent to set a VDP keepalive exponent.

Use undo evb vdp timer keepalive exponent to restore the default.

Syntax

evb vdp timer keepalive exponent value

undo evb vdp timer keepalive exponent

Default

The VDP keepalive exponent is 20.

Views

Layer 2 Ethernet interface view

Layer 2 aggregate interface view

Predefined user roles

network-admin

mdc-admin

Parameters

value: Specifies a VDP keepalive exponent in the range of 14 to 31.

Usage guidelines

The value for VDP keepalive time is expressed by the following equation:

VDP keepalive time (seconds) = 1.5 ?[ 2VDP keepalive + (2 ?ECP maximum retransmission time + 1) ?2ECP retransmission ] ?10—5

For detailed values, see Table 9.

Table 9 uses 3 and 14 (the defaults) as the ECP maximum retransmission time and the ECP retransmission exponent to calculate the VDP keepalive time. These two variables use the larger values proposed by the station and bridge through EVB TLV.

The network environment and settings on the EVB bridge and station determine whether to use the defaults or the actual proposed values for the following ECP values:

· ECP maximum retransmission time.

· ECP retransmission exponent.

Table 9 Values for VDP keepalive time

VDP keepalive exponent | Calculated value (seconds) | Result value (seconds)
14 | 1.96608 | 2
15 | 2.21184 | 3
16 | 2.70336 | 3
17 | 3.68640 | 4
18 | 5.65248 | 6
19 | 9.58464 | 10
20 | 17.44896 | 18
21 | 33.17760 | 34
22 | 64.63488 | 65
23 | 127.54944 | 128
24 | 253.37856 | 254
25 | 505.03680 | 506
26 | 1008.35328 | 1009
27 | 2014.98624 | 2015
28 | 4028.25216 | 4029
29 | 8054.78400 | 8055
30 | 16107.84768 | 16108
31 | 32213.97504 | 32214

Examples

# Set the VDP keepalive exponent to 23 on GigabitEthernet 1/0/1.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] evb vdp timer keepalive exponent 23

# Set the VDP keepalive exponent to 23 on Bridge-Aggregation 1.

<Sysname> system-view

[Sysname] interface bridge-aggregation 1

[Sysname-Bridge-Aggregation1] evb vdp timer keepalive exponent 23

EVB commands -- evb vdp timer resource-wait-delay exponent

Use evb vdp timer resource-wait-delay exponent to set a VDP resource-wait-delay exponent.

Use undo evb vdp timer resource-wait-delay exponent to restore the default.

Syntax

evb vdp timer resource-wait-delay exponent value

undo evb vdp timer resource-wait-delay exponent

Default

The VDP resource-wait-delay exponent is 20.

Views

Layer 2 Ethernet interface view

Layer 2 aggregate interface view

Predefined user roles

network-admin

mdc-admin

Parameters

value: Specifies a VDP resource-wait-delay exponent in the range of 15 to 31.

Usage guidelines

The value for VDP response-wait-delay time is expressed by the following equation:

VDP response-wait-delay time (seconds) = 2VDP resource-wait-delay ?10—5

For detailed values, see Table 10.

Table 10 Values for VDP response-wait-delay time

VDP resource-wait-delay exponent | Calculated value (seconds) | Result value (seconds)
15 | 0.32768 | 1
16 | 0.65536 | 1
17 | 1.31072 | 2
18 | 2.62144 | 3
19 | 5.24288 | 6
20 | 10.48576 | 11
21 | 20.97152 | 21
22 | 41.94304 | 42
23 | 83.88608 | 84
24 | 167.77216 | 168
25 | 335.54432 | 336
26 | 671.08864 | 672
27 | 1342.17728 | 1343
28 | 2684.35456 | 2685
29 | 5368.70912 | 5369
30 | 10737.41824 | 10738
31 | 21474.83648 | 21475

Examples

# Set the VDP resource-wait-delay exponent to 23 on GigabitEthernet 1/0/1.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] evb vdp timer resource-wait-delay exponent 23

# Set the VDP resource-wait-delay exponent to 23 on Bridge-Aggregation 1.

<Sysname> system-view

[Sysname] interface bridge-aggregation 1

[Sysname-Bridge-Aggregation1] evb vdp timer resource-wait-delay exponent 23

EVB commands -- evb vsi

Use evb vsi to create a VSI interface or VSI aggregate interface.

Use undo evb vsi to remove a VSI interface or VSI aggregate interface.

Syntax

evb vsi vsi-local-id { association | pre-association }

undo evb vsi vsi-local-id

Default

No VSI interface or VSI aggregate interfaces exist on an S-channel.

Views

S-channel interface view

S-channel aggregate interface view

Predefined user roles

network-admin

mdc-admin

Parameters

vsi-local-id: Specifies a VSI local ID in the range of 0 to 1023.

association: Specifies the association property. On a VSI interface with the association property, all filters immediately take effect.

pre-association: Specifies the pre-association property. On a VSI interface with the pre-association property, VLAN filters take effect immediately, but <VLAN, MAC> filters are not effective until the interface uses the association property.

Usage guidelines

A VSI interface is a subinterface of an S-channel interface, and a VSI aggregate interface is a subinterface of an S-channel aggregate interface.

A VSI interface or VSI aggregate interface is usually created or deleted by a VSI manager. You can also manually create or delete a VSI interface, or modify its pre-association or association property by executing this command.

Removing an S-channel also removes all its VSI interfaces and VSI aggregate interfaces.

If MAC address information is contained in the traffic sent by a VM when you change association to pre-association for a VSI interface or VSI aggregate interface, the following events occur:

· The MAC address is removed from the drive on the EVB bridge.

· The traffic from the VM cannot be forwarded.

When you change pre-association to association for a VSI interface, the EVB bridge sets the VM's MAC address.

After creating a VSI interface or VSI aggregate interface, you can enter VSI interface view or VSI aggregate interface view by using the interface command.

Examples

# Create a VSI interface on S-Channel 1/0/1:10, with VSI local ID 1 and the association property.

<Sysname> system-view

[Sysname] interface s-channel 1/0/1:10

[Sysname-S-Channel1/0/1:10] evb vsi 1 association

# Create a VSI aggregate interface on Schannel-Aggregation 1:10, with VSI local ID 1 and the association property.

<Sysname> system-view

[Sysname] interface schannel-aggregation 1:10

[Sysname–Schannel-Aggregation1:10] evb vsi 1 association

Related commands

evb s-channel

evb vsi filter

interface

EVB commands -- evb vsi active

Use evb vsi active to activate a VSI interface or VSI aggregate interface.

Use undo evb vsi active to deactivate a VSI interface or VSI aggregate interface.

Syntax

evb vsi active

undo evb vsi active

Default

A VSI interface or VSI aggregate interface is not activated.

Views

VSI interface view

VSI aggregate interface view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

Traffic policing configuration on a VSI interface or VSI aggregate interface takes effect only when the VSI interface or VSI aggregate interface is activated. When a VSI interface or VSI aggregate interface is not activated, do not configure any settings other than filters on either interface. For more information about traffic policing, see ACL and QoS Configuration Guide.

Activate a VSI interface or VSI aggregate interface after configuring a VSI filter, and deactivate a VSI interface or VSI aggregate interface before removing a VSI filter.

Examples

# Activate S-Channel 1/0/1:10.1.

<Sysname> system-view

[Sysname] interface s-channel 1/0/1:10.1

[Sysname–S-Channel1/0/1:10.1] evb vsi active

# Activate Schannel-Aggregation 1:10.1.

<Sysname> system-view

[Sysname] interface schannel-aggregation 1:10.1

[Sysname–Schannel-Aggregation1:10.1] evb vsi active

Related commands

evb vsi filter

EVB commands -- evb vsi filter

Use evb vsi filter to create a VSI filter.

Use undo evb vsi filter to remove a VSI filter.

Syntax

evb vsi filter [ group group-id ] vlan vlan-id [ mac mac-address ]

undo evb vsi filter [ group group-id ] [ vlan vlan-id [ mac mac-address ] ]

Default

No VSI filters exist.

Views

VSI interface view

VSI aggregate interface view

Predefined user roles

network-admin

mdc-admin

Parameters

group group-id: Specifies a group ID that classifies VLAN IDs, in the range of 1 to 4094. When the number of VLANs exceeds 4094, a group ID and a VLAN ID together identify a VLAN.

vlan vlan-id: Specifies a VLAN ID in the range of 1 to 4094. The VLAN must exist.

mac mac-address: Specifies a MAC address, which must be a valid unicast MAC address.

Usage guidelines

The EVB bridge uses VSI filters to identify VSI traffic. Typically a VSI manager assigns filters. You can use this command to manually create or remove a VSI filter.

A VSI filter contains a set of VID values, MAC addresses, and group ID values. EVB supports the following filter info formats:

· VLAN ID.

· VLAN ID + MAC.

· Group ID + VLAN ID.

· Group ID + VLAN ID + MAC.

Before configuring a VSI filter, make sure the S-channel interface or the S-channel aggregate interface to which the VSI interface or VSI aggregate interface belongs operates in trunk mode.

Activate a VSI interface or VSI aggregate interface after configuring a VSI filter, and deactivate a VSI interface or VSI aggregate interface before removing a VSI filter.

When you configure a VSI filter on a VSI interface, follow these restrictions and guidelines:

· When you create a VSI filter, the following interfaces automatically permit the VLAN contained in the VSI filter:

?span style='font:7.0pt "Times New Roman"'> The S-channel interface to which the VSI interface belongs.

?span style='font:7.0pt "Times New Roman"'> The Layer 2 Ethernet interface where the S-channel that is associated with the S-channel interface is created.

· When you delete a VSI filter, the following interfaces automatically deny the VLAN in the filter if the VSI filters on the other VSI interfaces created on the same S-channel interface do not contain the VLAN:

?span style='font:7.0pt "Times New Roman"'> The S-channel interface to which the VSI interface belongs.

?span style='font:7.0pt "Times New Roman"'> The Layer 2 Ethernet interface where the S-channel that is associated with the S-channel interface is created.

· Do not create a VSI filter that contains the same VLAN on the same VSI interface or on other VSI interfaces that belong to the same S-channel interface. If you do so, the system displays an error message.

· Disabling MAC address learning for an S-channel prevents the traffic from the VSI from being forwarded if the VSI filter contains the VLAN to which the traffic belongs.

When you configure a VSI filter on a VSI aggregate interface, follow these restrictions and guidelines:

· When you create a VSI filter, the following interfaces automatically permit the VLAN contained in the VSI filter:

?span style='font:7.0pt "Times New Roman"'> The S-channel aggregate interface to which the VSI aggregate interface belongs.

?span style='font:7.0pt "Times New Roman"'> The Layer 2 aggregate interface where the S-channel that is associated with the S-channel aggregate interface is created.

· When you delete a VSI filter, the following interfaces automatically deny the VLAN in the filter if the VSI filters on the other VSI aggregate interfaces created on the same S-channel aggregate interface do not contain the VLAN:

?span style='font:7.0pt "Times New Roman"'> The S-channel aggregate interface to which the VSI aggregate interface belongs.

?span style='font:7.0pt "Times New Roman"'> The Layer 2 aggregate interface where the S-channel that is associated with the S-channel aggregate interface is created.

· Do not create a VSI filter that contains the same VLAN on the same VSI aggregate interface or on other VSI aggregate interfaces that belong to the same S-channel aggregate interface. If you do so, the system displays an error message.

Examples

# Create a VSI filter for VLAN 1 on S-Channel 1/0/1:10.1.

<Sysname> system-view

[Sysname] interface s-channel 1/0/1:10.1

[Sysname–S-Channel1/0/1:10.1] evb vsi filter vlan 1

# Create a VSI filter for VLAN 1 on Schannel-Aggregation 1:10.1.

<Sysname> system-view

[Sysname] interface schannel-aggregation 1:10.1

[Sysname–Schannel-Aggregation1:10.1] evb vsi filter vlan 1

Related commands

evb mac-learning forbidden

evb vsi active

EVB commands -- flex10 enable

Use flex10 enable to enable Flex10.

Use undo flex10 enable to disable Flex10.

Syntax

flex10 enable

undo flex10 enable

Default

Flex10 is disabled.

Views

Layer 2 Ethernet interface view

Layer 2 aggregate interface view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

Follow these guidelines when you configure this command on an interface:

· Do not enable both EVB and Flex10 on the interface.

· Do not enable Flex10 on a member port of an aggregation group.

· Restore all default settings for an interface before enabling Flex10 on the interface.

· A default S-channel is created on an interface after Flex10 is enabled on the interface. Both the SCID and SVID of the S-channel are 1, and the S-channel interface operates in access mode.

· Except for the LLDP and VLAN settings described in EVB Configuration Guide, do not configure other settings or enable any other Layer 2 protocols on an interface with Flex10 enabled.

· Delete all non-default S-channels on an interface before disabling Flex10 on the interface. The default S-channel is automatically deleted after Flex10 is disabled.

Examples

# Enable Flex10 on GigabitEthernet 1/0/1.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] flex10 enable

Related commands

display flex10 interface

flex10 sideband-vlan

EVB commands -- flex10 sideband-vlan

Use flex10 sideband-vlan to specify the VLAN for transmitting out-of-band management traffic.

Use undo flex10 sideband-vlan to restore the default.

Syntax

flex10 sideband-vlan vlan-id

undo flex10 sideband-vlan

Default

VLAN 1 is used to transmit out-of-band management traffic.

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

vlan-id: Specifies a VLAN by its ID in the range of 1 to 4094.

Usage guidelines

After you enable Flex10 on an interface, out-of-band management traffic is transmitted by the S-channel with the SCID of 4094 through the specified VLAN.

The VLAN specified by using this command must be a manually created VLAN and cannot be deleted until the configuration is removed.

After you configure this command, all S-channels with the SCID of 4094 operate in access mode and are automatically assigned to the specified VLAN. To prevent the out-of-band management function of the station from being affected, do not modify the link type of these S-channels.

Examples

# Configure VLAN 10 as the VLAN for transmitting out-of-band management traffic.

<Sysname> system-view

[Sysname] flex10 sideband-vlan 10

Related commands

display flex10 interface

flex10 enable

EVB commands -- interface

Use interface to enter S-channel interface view, S-channel aggregate interface view, VSI interface view, or VSI aggregate interface view.

Syntax

interface { s-channel | schannel-aggregation } { interface-number:channel-id | interface-number:channel-id.vsi-

local-id }

Views

System view

Predefined user roles

network-admin

mdc-admin

Parameters

s-channel: Specifies an S-channel interface or a VSI interface.

schannel-aggregation: Specifies an S-channel aggregate interface or a VSI aggregate interface.

interface-number:channel-id: Specifies an S-channel interface or S-channel aggregate interface. The interface-number argument specifies the interface where the S-channel resides. The channel-id argument specifies the ID of the S-channel.

interface-number:channel-id.vsi-local-id: Specifies a VSI interface or VSI aggregate interface. The interface-number argument specifies the interface where the S-channel resides. The channel-id argument specifies the ID of the S-channel. The vsi-local-id argument specifies the local ID of the VSI.

Examples

# Enter the view of S-Channel 1/0/1:10.

<Sysname> system-view

[Sysname] interface s-channel 1/0/1:10

[Sysname–S-Channel1/0/1:10]

# Enter the view of Schannel-Aggregation 1:10.

<Sysname> system-view

[Sysname] interface schannel-aggregation 1:10

[Sysname–Schannel-Aggregation1:10]

# Enter the view of S-Channel 1/0/1:10.1.

<Sysname> system-view

[Sysname] interface s-channel 1/0/1:10.1

[Sysname–S-Channel1/0/1:10.1]

# Enter the view of Schannel-Aggregation 1:10.1.

<Sysname> system-view

[Sysname] interface schannel-aggregation 1:10.1

[Sysname–Schannel-Aggregation1:10.1]

EVB commands -- reset counters interface

Use reset counters interface to clear statistics for an S-channel interface, an S-channel aggregate interface, a VSI interface, or a VSI aggregate interface.

Syntax

reset counters interface [ { s-channel | schannel-aggregation } [ interface-number:channel-id | interface-number:channel-id.vsi-

local-id ] ]

Views

User view

Predefined user roles

network-admin

mdc-admin

Parameters

s-channel: Specifies an S-channel interface or a VSI interface.

schannel-aggregation: Specifies an S-channel aggregate interface or a VSI aggregate interface.

interface-number:channel-id: Specifies an S-channel interface or S-channel aggregate interface. The interface-number argument specifies the interface where the S-channel resides. The channel-id argument specifies the ID of the S-channel.

interface-number:channel-id.vsi-local-id: Specifies a VSI interface or VSI aggregate interface. The interface-number argument specifies the interface where the S-channel resides. The channel-id argument specifies the ID of the S-channel. The vsi-local-id argument specifies the local ID of the VSI.

Usage guidelines

Use this command to clear history statistics before you collect traffic statistics for the following interfaces:

· S-channel interfaces.

· S-channel aggregate interfaces.

· VSI interfaces.

· VSI aggregate interfaces.

If you do not specify an interface type, this command clears statistics for all interfaces.

If you specify an interface type but do not specify an interface number, this command clears statistics for all created S-channel interfaces, S-channel aggregate interfaces, VSI interfaces, and VSI aggregate interfaces.

Examples

# Clear statistics for S-Channel 1/0/1:10.

<Sysname> reset counters interface s-channel 1/0/1:10

# Clear statistics for Schannel-Aggregation 1:10.

<Sysname> reset counters interface schannel-aggregation 1:10

# Clear statistics for S-Channel 1/0/1:10.1.

<Sysname> reset counters interface s-channel 1/0/1:10.1

# Clear statistics for Schannel-Aggregation 1:10.1.

<Sysname> reset counters interface schannel-aggregation 1:10.1

Related commands

display interface

EVB commands -- shutdown

Use shutdown to shut down an interface.

Use undo shutdown to bring up an interface.

Syntax

shutdown

undo shutdown

Default

An interface is up.

Views

S-channel interface view

S-channel aggregate interface view

Predefined user roles

network-admin

mdc-admin

Examples

# Shut down S-Channel 1/0/1:10.

<Sysname> system-view

[Sysname] interface s-channel 1/0/1:10

[Sysname–S-Channel1/0/1:10] shutdown

# Shut down Schannel-Aggregation 1:10.

<Sysname> system-view

[Sysname] interface schannel-aggregation 1:10

[Sysname–Schannel-Aggregation1:10] shutdown

EVB commands -- statistic mode s-channel

Use statistic mode s-channel to enable S-channel packet statistics collection.

Use undo statistic mode to restore the default.

Syntax

statistic mode s-channel

undo statistic mode

Default

The default setting for this command varies by device model.

Views

System view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

This command enables statistics collection for packets transmitted through S-channels. You can view the packet statistics by using the display interface s-channel command.

You can also enable statistics collection for queue-based outbound packets or packets transmitted through VSI interfaces by using the statistic mode queue or statistic mode vsi command. However, the statistic mode s-channel, statistic mode queue, or statistic mode vsi commands cannot take effect simultaneously. If you configure all the three commands, the most recently configured one takes effect.

Examples

# Enable S-channel packet statistics collection.

<Sysname> system-view

[Sysname] statistic mode s-channel

Do you want to change the packet statistic mode? [Y/N]:y

Related commands

display interface s-channel

display statistic mode

statistic mode queue (ACL and QoS Command Reference)

statistic mode vsi (VXLAN Command Reference)