3com S7906E Guide De Référence

Page de 2327
 
1-13 
configuration to the aggregate interface and its aggregation member ports. If the system fails to do 
that on the aggregate interface, it stops applying the configuration to the aggregation member ports. 
If it fails to do that on an aggregation member port, it simply skips the port and moves to the next 
port. For information about Layer-2 aggregate interfaces, refer to Link Aggregation Configuration in 
the Access Volume.  
Related commands: port link-type
Examples 
# Assign the hybrid port GigabitEthernet 2/0/1 to VLAN 2, VLAN 4, and VLAN 50 through VLAN 100, 
and configure GigabitEthernet 2/0/1 to send packets of these VLANs with tags kept. 
<Sysname> system-view 
[Sysname] interface GigabitEthernet 2/0/1 
[Sysname-GigabitEthernet2/0/1] port link-type hybrid 
[Sysname-GigabitEthernet2/0/1] port hybrid vlan 2 4 50 to 100 tagged 
# Assign hybrid ports in port group 2 to VLAN 2, and configure these hybrid ports to send packets of 
VLAN 2 with VLAN tags removed. 
<Sysname> system-view 
[Sysname] vlan 2 
[Sysname-vlan2] quit 
[Sysname] port-group manual 2 
[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/1... Done. 
 Configuring GigabitEthernet2/0/2... Done. 
Note that GigabitEthernet 2/0/1 and GigabitEthernet 2/0/2 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