100 CHAPTER 9: PORT BASIC CONFIGURATION
Configuring a Trunk Port
Duplicating the
Configuration of a Port
to Other Ports
To make other ports have the same configuration as that of a specific port, you
can duplicate the configuration of a port to specific ports.
Specifically, the following types of port configuration can be duplicated from one
port to other ports: VLAN configuration, protocol-based VLAN configuration,
LACP configuration, QoS configuration, GARP configuration, STP configuration
and initial port configuration. For the detailed copy content, refer to the Switch
4210 Family Command Reference Guide.
n
■ If you specify a source aggregation group ID, the system will use the port with
the smallest port number in the aggregation group as the source.
■ If you specify a destination aggregation group ID, the configuration of the
source port will be copied to all ports in the aggregation group and all ports in
the group will have the same configuration as that of the source port.
Configuring Loopback
Detection for an
Ethernet Port
Loopback detection is used to monitor if loopback occurs on a switch port.
After you enable loopback detection on Ethernet ports, the switch can monitor if
external loopback occurs on them. If there is a loopback port found, the switch
will put it under control.
Tabl e 62 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 of the port to
trunk
port link-type trunk Required
Set the default VLAN ID for
the trunk port
port trunk pvid vlan vlan-id Optional
If no default VLAN ID is set for
a trunk port, VLAN 1 (system
default VLAN) is used as the
default VLAN of the port.
Add the current trunk port to
a specified VLAN
port trunk permit vlan {
vlan-id-list | all }
Optional
Tabl e 63 Duplicate the configuration of a port to specific ports
Operation Command Remarks
Enter system view system-view -
Duplicate the configuration of
a port to specific 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 }
Required