beautypg.com

H3C Technologies H3C S3100 Series Switches User Manual

Page 129

background image

Operation Manual – Port Basic Configuration

H3C S3100-52P Ethernet Switch

Chapter 1 Port Basic Configuration

1-7

1.2.7 Copying the Configuration of a Port to Other Ports

To make some other ports have the same configuration as that of a specific port, you
can copy the configuration of the specific port to the ports.
Specifically, the following types of port configuration can be copied from one port to
other ports: 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;

Note:

The copy command can only be used to copy the configuration of LACP’s enable state,
but not to copy the configuration of aggregation group, i.e., you can not add a port to the
aggregation group bye the command.

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.

Table 1-9

Copy the configuration of a port to other ports

Operation

Command

Remarks

Enter system view system-view

Copy the

configuration of a

port 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 }

Required