16-EVB Command Reference

HomeSupportSwitchesH3C S7500E-X Switch SeriesReference GuidesCommand ReferencesH3C S7500E-X Switch Series Command References-Release7178-6W10016-EVB Command Reference
Table of Contents
Related Documents
01-EVB commands
Title Size Download
01-EVB commands 139.52 KB

EVB commands

bandwidth

Use bandwidth to configure 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.

Examples

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

<Sysname> system-view

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

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

# Set the expected bandwidth of the S-channel aggregate interface Schannel-Aggregation1:10 to 2000000 kbps.

<Sysname> system-view

[Sysname] interface schannel-aggregation 1:10

[Sysname–Schannel-Aggregation1:10] bandwidth 2000000

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

<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 of the VSI aggregate interface Schannel-Aggregation1:10.1 to 2000000 kbps.

<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

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 the S-channel interface 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 the S-channel aggregate interface Schannel-Aggregation1:10.

<Sysname> system-view

[Sysname] interface schannel-aggregation 1:10

[Sysname–Schannel-Aggregation1:10] default

# Restore the default settings for the VSI interface 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 the VSI aggregate interface 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 a description for 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 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

# Configure the description for the S-channel interface S-Channel 1/0/1:10 as S-Channel to lab.

<Sysname> system-view

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

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

# Configure the description for the S-channel aggregate interface Schannel-Aggregation 1:10 as Schannel-Aggregation to lab.

<Sysname> system-view

[Sysname] interface schannel-aggregation 1:10

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

# Configure the description for the VSI interface S-channel 1/0/1:10.1 as VSI to lab.

<Sysname> system-view

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

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

# Configure the description for the VSI aggregate interface Schannel-Aggregation 1:10.1 as VSI-Aggregation to lab.

<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

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

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-20/Remote-NA/Operative-20

 

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-20/Remote-NA/Operative-20

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.

·     Not supported.

Local RR capability

Support for the RR mode on the EVB bridge:

·     Supported.

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

·     Not supported.

Remote RR request status

Whether or not the EVB station has requested the RR mode:

·     Requested.

·     Not requested.

Remote RR status

Whether or not the EVB station has enabled the RR mode after EVB TLV negotiation:

·     Enabled.

·     Disabled.

·     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

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

SCH1/0/1:1          1       2014/09/11 08:39:42  D       A         0

SCH1/0/1:100        100     2014/09/11 10:35:59  D       A         1

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 the EVB summary.

Syntax

display evb summary

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Examples

# Display the EVB summary.

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

 

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

SCH-AGG1:1.1            NA       NA        NA                      A

SCH1/3/0/44:1.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 a 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 a VSI interface.

VSI manager ID

Address of the VSI manager.

NA indicates no VSI manager is specified.

Filter type

VSI filter type:

·     GroupID/VIDGroup ID values and VID values.

·     GroupID/MAC/VIDGroup ID values, MAC addresses, and VID values.

·     VIDVLAN ID.

·     MAC/VIDMAC addresses and VID values.

Filter info

VSI filters.

 

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 ] [ brief [ down ] ]

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

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 a complete interface description in brief information when you configure an interface description string longer than 27 characters. If you do not specify this keyword, the command displays only the first 27 characters in brief information.

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 the s-channel keyword, this command displays information about all interfaces.

If you specify the s-channel keyword but do not specify an S-channel interface or VSI interface, this command displays information about all created S-channel interfaces and VSI interfaces.

Examples

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

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

S-Channel1/0/1:10

Current state: UP

IP packet frame type: Ethernet II, hardware address: 0000-fc00-8d87

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

Bandwidth: 1000000 kbps

1000Mbps-speed mode, full-duplex mode

Link speed type is autonegotiation, link duplex type is autonegotiation

PVID: 1

Port link-type: Trunk

 VLAN Passing:   1(default vlan), 2

 VLAN permitted: 1(default vlan), 2

 Trunk port encapsulation: IEEE 802.1q

Last clearing of counters: Never

Input (total):  6 packets, 384 bytes

Output (total):  18 packets, 1152 bytes

# Display brief information about the S-channel interface 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

SCH1/0/1:10          UP   1G(a)   F(a)   T    1

# Display detailed information about the VSI interface 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: UP

IP packet frame type: Ethernet II, hardware address: 0000-fc00-8d87

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

Bandwidth: 1000000 kbps

Last clearing of counters: Never

    0 packets input, 0 bytes, 0 drops

    0 packets output, 0 bytes, 0 drops

# Display brief information about the VSI interface 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

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

SCH3/0/10:1          DOWN   Not connected

SCH3/0/10:20         DOWN   Not connected

SCH3/0/10:20.200     DOWN   Not connected

Table 6 Command output

Field

Description

Current state

Interface status:

·     Administratively DOWN—The interface is administratively down.

·     DOWNThe interface is administratively up but physically down.

·     UPThe interface is both administratively and physically up.

Hardware Address

Hardware address of the interface.

Description

Description information for the interface.

Bandwidth

Expected bandwidth for an S-channel interface or a VSI interface.

PVID

Default VLAN ID of the interface.

Port link-type

Link type of the interface.

Trunk port encapsulation

Encapsulation type of the trunk port.

Last clearing of counters

Last time the reset counters interface command was executed to clear interface statistics.

Never indicates interface statistics have never been cleared since startup.

Input (total):  6 packets, 384 bytes

Total number of packets and bytes that the S-channel interface received.

Output (total):  18 packets, 1152 bytes

Total number of packets and bytes that the S-channel interface sent.

Link

Physical connection status of an interface:

·     UP—The interface is physically up.

·     DOWNThe interface is physically down.

·     ADM—The interface was shut down by using the shutdown command. Bring it up by using the undo shutdown command.

·     Stby—A standby interface. Display the master interface by using the display interface-backup state command.

Duplex

Duplex mode of an interface:

·     (a)/AAutonegotiation.

·     H—Half-duplex.

·     F—Full-duplex.

Cause

Causes of a DOWN link:

·     Administratively—The interface was shut down by executing the shutdown command. To bring it up, use the undo shutdown command.

·     Not connected—No physical connection because of absence or failure of network cables.

 

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 ip-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 ip-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 of the default VSI manager to 192.168.100.20.

<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

mdc-admin

Usage guidelines

EVB is applicable only to interfaces on the following interface modules:

·     EC interface modules.

·     SC interface modules:

¡     LSQM2GP44TSSC0.

¡     LSQM2GP24TSSC0.

¡     LSQM2GT24PTSSC0.

¡     LSQM2GT24TSSC0.

¡     LSQM2GT48SC0.

¡     LSQM4GV48SC0.

·     SF interface modules.

·     SG interface modules.

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

Do not enable both EVB and QinQ on the same interface.

Do not create a service instance for an interface enabled with EVB, and vice versa.

Restore all default settings for an interface 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.

Do not configure VLAN settings or enable any other Layer 2 protocol 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

·     qinq enable (see Layer 2—LAN Switching)

evb mac-learning forbidden

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

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

Syntax

evb mac-learning forbidden

undo evb mac-learning forbidden

Default

The MAC address learning function for an S-channel is enabled.

Views

S-channel interface view, S-channel aggregate interface view

Predefined user roles

network-admin

mdc-admin

Usage guidelines

For an S-channel with the RR mode disabled, do not disable its MAC address learning function. Otherwise, the EVB bridge might fail to forward traffic from VMs on the EVB station.

After you disable the MAC address learning function 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.

Examples

# Disable the MAC address learning function 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 the MAC address learning function on Schannel-Aggregation 1:10.

<Sysname> system-view

[Sysname] interface schannel-aggregation 1:10

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

Related commands

·     evb reflective-relay

·     mac-address mac-learning enable (see Layer 2—LAN Switching)

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

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

·     Adds the corresponding command line to the configuration file.

You can also use this command to manually enable or disable the RR mode for an S-channel.

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

mdc-admin

Parameters

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

svlan-id: Specifies an S-VLAN ID (SVID) in the range of 2 to 4094. 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 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.

·     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 an (SCID, SVID) pair for an S-channel is created both automatically and manually, the automatically created S-channel takes precedence.

·     After an S-channel is created, an S-channel interface or S-channel aggregate interface is generated. Removing an S-channel also removes the S-channel interface or S-channel aggregate interface. A manually created S-channel interface or S-channel aggregate interface operates in access mode. An S-channel interface or S-channel aggregate interface that is automatically created through CDCP operates in trunk mode.

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

·     Create an S-channel on an interface with EVB enabled. Otherwise, an error message appears.

·     To manually create or remove 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 vdp timer keepalive exponent

Use evb vdp timer keepalive exponent to configure 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 ] × 105

For detailed values, see Table 7.

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

# Configure the VDP keepalive exponent on GigabitEthernet 1/0/1 as 23.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

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

# Configure the VDP keepalive exponent on Bridge-Aggregation 1 as 23.

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

For detailed values, see Table 8.

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

# Configure the VDP resource-wait-delay exponent on GigabitEthernet 1/0/1 as 23.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

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

# Configure the VDP resource-wait-delay exponent on Bridge-Aggregation 1 as 23.

<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 on an S-channel interface or create a VSI aggregate interface on an S-channel 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 interface exists 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, but <VLAN, MAC> filters are not effective.

Usage guidelines

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

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.

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

mdc-admin

Usage guidelines

Configurations such as traffic monitoring on a VSI interface or VSI aggregate interface take effect only after the VSI interface or VSI aggregate interface is activated. When a VSI interface or VSI aggregate interface is not activated, do not make any configurations other than filters on either interface. For more information about traffic monitoring, 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 the VSI interface 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 the VSI aggregate interface 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 configure 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 filter exists.

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, the group ID and VLAN ID together identify a VLAN.

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

mac mac-address: Specifies the 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.

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

·     For the VSI filter configuration to take effect, make sure the S-channel interface to which the VSI interface belongs operates in trunk mode.

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

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

When you configure VSI filters on a VSI aggregate interface, follow these guidelines:

·     For the VSI filter configuration to take effect, make sure the S-channel aggregate interface to which the VSI aggregate interface belongs operates in trunk mode.

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

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

Examples

# Configure a VSI filter for VLAN 1 on the VSI interface 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

# Configure a VSI filter for VLAN 1 on the VSI aggregate interface 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

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 by its ID. 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 by its ID. 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 interface 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 S-channel aggregate interface Schannel-Aggregation 1:10.

<Sysname> system-view

[Sysname] interface schannel-aggregation 1:10

[Sysname–Schannel-Aggregation1:10]

# Enter the view of VSI interface 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 VSI aggregate interface Schannel-Aggregation 1:10.1.

<Sysname> system-view

[Sysname] interface schannel-aggregation 1:10.1

[Sysname–Schannel-Aggregation1:10.1]

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 by its ID. 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 by its ID. 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 existing statistics first 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 any parameters, this command clears statistics for all interfaces.

If you specify only the s-channel or schannel-aggregation keyword, this command clears statistics for all created S-channel interfaces, S-channel aggregate interfaces, VSI interfaces, and VSI aggregate interfaces.

Examples

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

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

# Clear statistics for the S-channel aggregate interface Schannel-Aggregation 1:10.

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

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

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

# Clear statistics for the VSI aggregate interface 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 S-channel interface, S-channel aggregate interface, VSI interface, or a VSI aggregate interface.

Use undo shutdown to bring up an S-channel interface, S-channel aggregate interface, VSI interface, or a VSI aggregate interface.

Syntax

shutdown

undo shutdown

Default

An S-channel interface, S-channel aggregate interface, VSI interface, or a VSI aggregate 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 interface 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 S-channel aggregate interface Schannel-Aggregation 1:10.

<Sysname> system-view

[Sysname] interface schannel-aggregation 1:10

[Sysname–Schannel-Aggregation1:10] shutdown

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