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 FortyGigE 1/0/1, with the SCID 10 and SVID 5.
<Sysname> system-view [Sysname] interface FortyGigE 1/0/1 [Sysname-FortyGigE1/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