3com S7906E Guide De Référence

Page de 2327
 
1-14 
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 Ethernet interface view, this command only applies to the current port. 
In port group view, this command applies to all ports in the port group. For information about port 
groups, refer to Ethernet Interface Configuration in the Access Volume
In Layer-2 aggregate interface view, this command applies to the Layer-2 aggregate interface and 
all its member ports. After you perform the configuration, the system starts applying the 
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.  
 
 
To change the link type of a port from trunk to hybrid or vice versa, you must set the link type to access 
first.  
 
Examples 
# Configure GigabitEthernet 2/0/1 as a trunk port. 
<Sysname> system-view 
[Sysname] interface GigabitEthernet 2/0/1 
[Sysname-GigabitEthernet2/0/1] port link-type trunk 
# Configure all the ports in the manual port group group1 as hybrid ports. 
<Sysname> system-view 
[Sysname] port-group manual group1 
[Sysname-port-group manual group1] group-member ethernet 2/0/1 
[Sysname-port-group manual group1] group-member ethernet 2/0/2 
[Sysname-port-group manual group1] port link-type hybrid