Port Link-Type - H3C S7500E Series Command Reference Manual

Lan switching
Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

[Sysname-port-group-manual-2] group-member gigabitethernet 2/0/1 to gigabitethernet 2/0/6
[Sysname-port-group-manual-2] port link-type hybrid
[Sysname-port-group-manual-2] port hybrid vlan 2 untagged
Configuring GigabitEthernet2/0/1... Done.
Configuring GigabitEthernet2/0/2... Done.
Configuring GigabitEthernet2/0/3... Done.
Configuring GigabitEthernet2/0/4... Done.
Configuring GigabitEthernet2/0/5... Done.
Configuring GigabitEthernet2/0/6... Done.
# Assign the hybrid Layer 2 aggregate interface Bridge-aggregation 1 and its member ports to VLAN
2, and configure them to send packets of VLAN 2 with tags removed.
<Sysname> system-view
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] port link-type hybrid
[Sysname-Bridge-Aggregation1] port hybrid vlan 2 untagged
Please wait... Done.
Configuring GigabitEthernet2/0/2... Done.
Configuring GigabitEthernet2/0/3... Done.
Note that GigabitEthernet 2/0/2 and GigabitEthernet 2/0/3 are the member ports of the aggregation
group corresponding to Bridge-aggregation 1.

port link-type

Syntax
port link-type { access | hybrid | trunk }
undo port link-type
View
Ethernet interface view, port group view, Layer 2 aggregate interface view
Default Level
2: System level
Parameters
access: Configures the link type of a port as access.
hybrid: Configures the link type of a port as hybrid.
trunk: Configures the link type of a port as trunk.
Description
Use the port link-type command to configure the link type of a port.
Use the undo port link-type command to restore the default link type of a port.
By default, any port is an access port.
In port group view, this command applies to all ports in the port group. For more information about
port groups, see Ethernet Interface Configuration in the Layer 2 – LAN Switching Configuration
Guide.
In Layer 2 aggregate interface view, this command applies to the Layer 2 aggregate interface and
all its member ports. After you perform this command, the system starts applying the configuration
to the aggregate interface and its aggregation member ports. If the system fails to do that on the
13-16

Advertisement

Table of Contents
loading

Table of Contents