![background image](http://html.mh-extra.com/html/huawei/quidway-s3900-series/quidway-s3900-series_command-manual_169831160.webp)
Command Manual – Port Basic Configuration
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 Port Basic Configuration
Commands
Huawei Technologies Proprietary
1-3
Description
Use the
copy configuration
command to copy the configuration on a port to some
other ports to keep consistent configuration on them.
Note:
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.
The configuration that can be copied includes: VLAN configuration, protocol-based
VLAN configuration, LACP configuration, QoS configuration, GARP configuration, STP
configuration and initial port configuration.
z
VALN configuration: includes IDs of the VLANs allowed on the port and the default
VLAN ID of the port;
z
Protocol-based VLAN configuration: includes IDs and indexes of the
protocol-based VLANs allowed on the port;
z
Link aggregation control protocol (LACP) configuration: includes LACP
enable/disable status;
z
QoS configuration: includes rate limit, port priority, and default 802.1p priority on
the port;
z
STP configuration: includes STP enable/disable status on the port, link attribute on
the port (point-to-point or non-point-to-point), STP priority, path cost, packet
transmission rate limit, whether loop protection is enabled, whether root protection
is enabled, and whether the port is an edge port;
z
Generic attribute registration protocol (GARP) configuration: includes GVRP
enable/disable status, timer settings, and registration mode;
z
Port configuration: includes link type of the port, port rate and duplex mode.
Example
# Copy the configuration of Ethernet1/0/1 to Ethernet1/0/2 and Ethernet1/0/3.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] copy configuration source ethernet 1/0/1 destination ethernet 1/0/2
ethernet 1/0/3
Note: The following will be removed from destination port list:
Aggregation port(s),Voice vlan port(s).
Copying VLAN configuration...