16-EVB Command Reference

HomeSupportReference GuidesCommand ReferencesH3C S6800[S6860][S6861] (R27xx) & S6820 (R630x) Switch Series Command Reference-6W10216-EVB Command Reference
Table of Contents
Related Documents
01-EVB commands
Title Size Download
01-EVB commands 192.77 KB

EVB commands

The S6800 switch series and S6860 switch series support EVB. However, EVB is not supported in an IRF 3.1 system.

The S6820 switch series and S6861 switch series do not support EVB.

EVB requires a license to run on the device. For information about obtaining a license, see Fundamentals Configuration Guide.

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

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

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

Usage guidelines

CAUTION

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

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

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

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

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>

 

---------------------------Ten-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.

 

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

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 Ten-GigabitEthernet 1/0/1.

<Sysname> display evb evb-tlv interface ten-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.

 

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

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 Ten-GigabitEthernet 1/0/1.

<Sysname> display evb s-channel interface ten-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.

 

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

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

XGE1/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.

 

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

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 Ten-GigabitEthernet 1/0/1.

<Sysname> display evb vsi interface ten-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 Ten-GigabitEthernet 1/0/1.

<Sysname> display evb vsi verbose interface ten-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.

 

display interface { s-channel | schannel-aggregation }

Use display interface { s-channel | schannel-aggregation }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

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 6 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 7 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 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

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 enable

Use evb enable to enable EVB on an interface.

Use undo evb enable 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

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 Ten-GigabitEthernet 1/0/1.

<Sysname> system-view

[Sysname] interface ten-gigabitethernet 1/0/1

[Sysname-Ten-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 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

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 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

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 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 enabled.

Views

Layer 2 Ethernet interface view

Layer 2 aggregate interface view

Predefined user roles

network-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 Ten-GigabitEthernet 1/0/1, with the SCID 10 and SVID 5.

<Sysname> system-view

[Sysname] interface ten-gigabitethernet 1/0/1

[Sysname-Ten-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 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

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 ] × 105

For detailed values, see Table 8.

Table 8 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 8 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 Ten-GigabitEthernet 1/0/1.

<Sysname> system-view

[Sysname] interface ten-gigabitethernet 1/0/1

[Sysname-Ten-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 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

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 × 105

For detailed values, see Table 9.

Table 9 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 Ten-GigabitEthernet 1/0/1.

<Sysname> system-view

[Sysname] interface ten-gigabitethernet 1/0/1

[Sysname-Ten-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 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

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 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

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 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

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:

¡     The S-channel interface to which the VSI interface belongs.

¡     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:

¡     The S-channel interface to which the VSI interface belongs.

¡     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:

¡     The S-channel aggregate interface to which the VSI aggregate interface belongs.

¡     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:

¡     The S-channel aggregate interface to which the VSI aggregate interface belongs.

¡     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

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

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]

reset counters interface { s-channel | schannel-aggregation }

Use reset counters interface { s-channel | schannel-aggregation } 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

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

shutdown

Use shutdown to shut down an interface.

Use undo shutdown to bring up an interface.

Syntax

shutdown

undo shutdown

Default

An interface is not administratively down.

Views

S-channel interface view

S-channel aggregate interface view

Predefined user roles

network-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

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网