- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
01-EVB commands | 135.14 KB |
EVB commands
EVB requires a license to run on your device. For information about obtaining a license, see Fundamentals Configuration Guide.
bandwidth
Use bandwidth to configure the expected bandwidth of an S-channel interface or a VSI interface.
Use undo bandwidth to restore the default.
Syntax
bandwidth bandwidth-value
undo bandwidth
Default
The expected bandwidth of an S-channel interface or a VSI interface is the default maximum bandwidth of the physical port to which the S-channel interface or the VSI interface belongs.
Views
S-channel interface view, VSI interface view, S-channel aggregate 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.
Examples
# Set the expected bandwidth of 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 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
default
Use default to restore the default settings for an S-channel interface or a VSI interface.
Syntax
default
Views
S-channel interface view, VSI interface view, S-channel aggregate interface view, VSI aggregate interface view
Predefined user roles
network-admin
Usage guidelines
|
CAUTION: The default command might interrupt ongoing network services. Make sure you are fully aware of the impacts of this command when you execute it on a live network. |
This command might fail to restore the default settings for some commands for reasons such as command dependencies and system restrictions. Use the display this command in interface view to identify these commands. Then use their undo forms or follow the command reference to individually restore their default settings. If your restoration attempt still fails, follow the error message instructions to resolve the problem.
Examples
# Restore the default settings for S-Channel 1/0/1:10.
<Sysname> system-view
[Sysname] interface s-channel 1/0/1:10
[Sysname–S-Channel1/0/1:10] default
# Restore the default settings for 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
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 |
VSIaggregate 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
# Configure the description for 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 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 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 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
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, the 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>
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
Parameters
interface: Specifies an interface. If you do not specify an interface, the 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
ULPPDU 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
ULPPDU 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
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. |
ULPPDU 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, the 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
SCH1/0/1:1 1 2012/12/17 03:43:13 D A 0
SCH1/0/1:100 100 2012/12/17 03:43:14 D A 2
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
Examples
# Display the 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, the 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
SCH1/0/1:100.0 NA NA NA P
SCH1/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>
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/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: · In the format <VLAN ID>, meaning the VLAN to which the traffic belongs. · In the format <MAC address, VLAN ID>, meaning the destination MAC for the traffic and the VLAN to which the traffic belongs. · In the format <GroupID, VLAN ID>, meaning the VLAN to which the traffic belongs and the group to which the VLAN belongs. · In the format <GroupID, MAC address, VLAN ID>, meaning the destination MAC for the traffic, the VLAN to which the traffic belongs, and the group to which the VLAN belongs. |
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
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.
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.
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.
Usage guidelines
If you do not specify the s-channel keyword, the command displays information about all interfaces.
If you specify the s-channel keyword but do not specify an S-channel interface or VSI interface, the 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: UP
IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 000c-29f9-366e
Description: S-Channel1/0/1:10 Interface
Bandwidth: 1000000kbps
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), 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 S-Channel 1/0/1:10.
<Sysname> display interface s-channel 1/0/1:10 brief
Brief information on interface(s) under bridge mode:
Link: ADM - administratively down; Stby - standby
Speed or 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 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: UP
IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 000c-29f9-366e
Description: S-Channel1/0/1:10.1 Interface
Bandwidth: 1000000kbps
Last clearing of counters: Never
# 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 interface(s) under bridge mode:
Link: ADM - administratively down; Stby - standby
Speed or 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 interface(s) under bridge mode:
Link: ADM - administratively down; Stby - standby
Interface Link Cause
SCH1/0/1:11 DOWN Not connected
SCH1/0/1:11.1 DOWN Not connected
Table 6 Command output
Field |
Description |
Current state |
Interface status: · Administratively DOWN—The interface is administratively down. · DOWN—The interface is administratively up but physically down. · UP—The 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. · DOWN—The 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. |
Duplex |
Duplex mode of an interface: · (a)/A—Autonegotiation. · H—Half-duplex. · F—Full-duplex. |
Cause |
Causes of a DOWN link: · Administratively—The interface was shut down by executing the shutdown command. To restore the physical state of the interface, 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
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.
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
Usage guidelines
Follow these guidelines when you enable or disable EVB on an interface:
· 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.
· 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.
· Do not enable both EVB and QinQ on the same interface.
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
· qinq enable (see Layer 2—LAN Switching Command Reference)
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
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.
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
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 station requests to use the RR mode and the EVB bridge supports 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.
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
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, and an S-channel interface or S-channel aggregate interface that is automatically created through CDCP operates in trunk mode.
· Create an S-channel on an interface with EVB enabled. Otherwise, an error message appears.
· 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.
· To manually create or remove 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
· 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
Parameters
value: Specifies a VDP keepalive exponent in the range of 14 to 31.
Usage guidelines
The value for VDP keepalive time is expressed by the following equation:
VDP keepalive time (seconds) = 1.5 × [ 2VDP keepalive + (2 × ECP maximum retransmission time + 1) × 2ECP retransmission ] × 10—5
For detailed values, see Table 7.
Table 7 uses 3 and 16 (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 7 Values for VDP keepalive time
VDP keepalive exponent |
Calculated value (seconds) |
Result value (seconds) |
14 |
7.12704 |
8 |
15 |
7.37280 |
8 |
16 |
7.86432 |
8 |
17 |
8.84736 |
9 |
18 |
10.81344 |
11 |
19 |
14.7456 |
15 |
20 |
22.60992 |
23 |
21 |
38.33856 |
39 |
22 |
69.795084 |
70 |
23 |
132.7104 |
133 |
24 |
258.53952 |
259 |
25 |
510.19776 |
511 |
26 |
1013.51424 |
1014 |
27 |
2020.1472 |
2021 |
28 |
4033.41312 |
4034 |
29 |
8059.94496 |
8060 |
30 |
16113.00864 |
16114 |
31 |
32219.136 |
32220 |
Examples
# Configure the VDP keepalive exponent on Ten-GigabitEthernet 1/0/1 as 23.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-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
Parameters
value: Specifies a VDP resource-wait-delay exponent in the range of 15 to 31.
Usage guidelines
The value for VDP response-wait-delay time is expressed by the following equation:
VDP response-wait-delay time (seconds) = 2VDP resource-wait-delay × 10—5
For detailed values, see Table 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 Ten-GigabitEthernet 1/0/1 as 23.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-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 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 interface exists 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, but <VLAN, MAC> filters are not effective.
Usage guidelines
A VSI interface is an interface created on an S-channel interface through this command, and it is a subinterface of the S-channel interface. A VSI aggregate interface is created on an S-channel aggregate interface, and it is a subinterface of the S-channel aggregate interface. 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
Usage guidelines
Settings 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 settings other than filters on the 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 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 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
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 a VSI filter to identify VSI traffic for a VM. Filters are usually assigned by a VSI manager. You can also manually create or remove a VSI filter by executing this command.
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 VSI filters on a VSI interface, follow these guidelines:
· Before you configure a VSI filter on a VSI interface, make sure the S-channel interface to which the VSI interface belongs operates in trunk mode. Otherwise, the VSI filter configuration fails.
· After you configure a VSI filter on a VSI interface, an S-channel interface automatically permits the VLAN that is configured in the VSI filter for the subordinate VSI interface. The same rule takes effect on Layer 2 interfaces associated with S-channels.
· When you delete a VSI filter that contains information about a VLAN on a VSI interface, the other VSI filters on all VSI interfaces of an S-channel interface might not contain the VLAN. If they do not, the S-channel interface automatically denies traffic from the VLAN that is configured on the VSI filter. The same rule takes effect on Layer 2 interfaces associated with S-channels.
· When a filter configured on a VSI interface contains information about a VLAN, you must not configure the filter on the same VSI interface again or on other VSI interfaces of the S-channel interface. If you do, an error message appears.
· If the VSI filter is a set of VID values, and the MAC address learning function for the corresponding S-channel is disabled, traffic for the VSI cannot be forwarded.
· 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:
· Before you configure a VSI filter on a VSI aggregate interface, make sure the S-channel aggregate interface to which the VSI aggregate interface belongs operates in trunk mode. Otherwise, the VSI filter configuration fails.
· After you configure a VSI filter on a VSI aggregate interface, an S-channel aggregate interface automatically permits the VLAN that is configured in the VSI filter for the subordinate VSI aggregate interface. The same rule takes effect on Layer 2 aggregate interfaces associated with S-channels.
· When you delete a VSI filter that contains information about a VLAN on a VSI aggregate interface, the other VSI filters on all VSI aggregate interfaces of an S-channel aggregate interface might not contain the VLAN. If they do not, the S-channel aggregate interface automatically denies traffic from the VLAN that is configured on the VSI filter. The same rule takes effect on Layer 2 aggregate interfaces associated with S-channels.
· When a filter configured on a VSI aggregate interface contains information about a VLAN, you must not configure the filter on the same VSI aggregate interface again or on other VSI aggregate interfaces of the S-channel aggregate interface. If you do, an error message appears.
· 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 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 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
· 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 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
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
Follow these guidelines when you clear statistics for an S-channel interface, an S-channel aggregate interface, a VSI interface, or a VSI aggregate interface:
· To collect traffic statistics for an S-channel interface, S-channel aggregate interface, VSI interface, or a VSI aggregate interface in a certain period, use this command to clear existing statistics for the interface.
· If you do not specify any parameters, the command clears statistics for all interfaces.
· If you specify only the s-channel or schannel-aggregation keyword, the 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 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
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