1-3
Parameters
interface-type: Port type.
interface-number: Port number.
source-agg-id: Source aggregation group number, in the range of 1 to 416. The port with the smallest
port number in the aggregation group is used as the source port.
destination-agg-id: Destination aggregation group number, in the range of 1 to 416.
interface-list: Destination port list, interface-list = interface-type interface-number [ to interface-type
interface-number ] &<1-10. &<1-10> means that you can input up to 10 ports/port ranges.
Description
Use the copy configuration command to duplicate the configuration of a port to specified ports to keep
consistent configuration on them.
z If you specify a source aggregation group ID, the system uses the port with the smallest port
number in the aggregation group as the source.
z 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.
Refer to
Table 1-1 for the configurations that can be copied.
Table 1-1 Configurations that can be copied
Configuration category Contents
VLAN VLANs carried on the port and the default VLAN ID.
Protocol-based VLAN Protocol VLAN IDs and protocol indexes.
LACP (Link Aggregation
Control protocol)
The enable/disable status of LACP.
(As the configuration commands of manual and static link
aggregation groups cannot be copied, you cannot assign a port to a
link aggregation group with the copy command.)
QoS
Traffic policing, packet priority marking, port priority, traffic
accounting, VLAN mapping, port rate limiting, priority trust mode,
QoS profile (the qos-profile port-based configuration cannot be
copied), and so on.
STP
The enable/disable state of STP on the port, link attribute of the port
(point-to-point or non-point-to-point), STP priority, path cost,
transmission rate limit, enable/disable state of loop protection,
enable/disable state of root protection, and whether the port is an
edge port.
GARP GVRP enable/disable status, timer settings, and registration mode.
Basic port configuration Link type of the port, port rate, and duplex mode.
In case a configuration setting fails to be copied, the system will print the error message.