3Com Switch 4200G Configuration Guide
Configuring Ethernet Ports 71
Configuring Trunk Port
Attribute
Copying Port
Configuration to Other
Ports
To keep the configuration of some other ports consistent with a specified port, you
can copy the configuration of the specified port to these ports.
The configuration may include:
■ VLAN settings: Includes the permitted VLAN types and default VLAN ID.
■ LACP settings: LACP enabled/disabled.
■ QoS settings: Includes traffic limiting, priority marking, default 802.1p priority,
bandwidth reservation, congestion avoidance, traffic direction, and traffic
statistics.,
■ STP settings: Includes STP enabling/disabling, link attribute (point-to-point or not),
STP priority, path cost, maximum transmission speed, loop protection, root
protection, and edge port or not.
■ Port setting: Includes port link type, port speed, and duplex mode.
If you specify the source aggregation group ID, the system uses the port with the
smallest port number in the aggregation group as the source.
If you specify the destination aggregation ID, the configuration of the source port will
be copied to all ports in the aggregation group.
Add the current hybrid
port into the specified
VLAN
port hybrid vlan vlan-id-list
{ tagged | untagged }
Optional
For a hybrid port, you can
configure to tag the packets
of specific VLANs, based on
which the packets of those
VLANs can be processed in
differently ways.
Table 51 Configure hybrid port attribute
Table 52 Configure trunk port attribute
Operation Command Remarks
Enter system view System-view —
Enter Ethernet port view interface interface-type
interface-number
—
Set the link type for the port
as trunk
port link-type trunk Required
Set the default VLAN ID for
the trunk port
port trunk pvid vlan vlan-id Optional
By default, the VLAN of a trunk
port is VLAN 1.
Add the current trunk port
into the specified VLAN
port trunk permit vlan
{ vlan-id-list | all }
Optional
Table 53 Copy port configuration to other ports
Operation Command Remarks
Enter system view system-view —
Copy port
configuration to other
ports
copy configuration source { interface-type
interface-number | aggregation-group source-agg-id }
destination { interface-list [ aggregation-group
destination-agg-id ] | aggregation-group
destination-agg-id }
Optional