50 CHAPTER 2: USING PORT COMMANDS
copy configuration Syntax
copy configuration source {
interface-type interface_number
|
interface_name
| aggregation-group
agg-id
} destination {
interface_list
[ aggregation-group
agg-id
] | aggregation-group
agg-id
}
View
System View
Parameter
interface_type:
Source port type.
interface_num:
Source port number.
interface_name:
Source port name, in the format of interface_name =
interface_type interface_num. For more information, see the parameter item for
the interface command.
interface_list:
Destination port list,
interface_list1
= {
interface_type
interface_num
|
interface_name
} [ to {
interface_type interface_num
|
interface_name
} ] &<1-10>. &<1-10> indicates that the former parameter can
be input 10 times repeatedly at most.
agg-id:
Source or destination aggregation group ID. If it is a source aggregation
group, the port with minimum port number is the source port; if it is a destination
aggregation group, the configurations of all its member ports change to be
consistent with that of the source.
Description
Use the copy configuration command to copy the configuration of a specific
port to other ports, to ensure consistent configuration.
Example
Copy the configuration of aggregation group 1 to aggregation group 2.
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]copy configuration source aggregation-group 1, destination
aggregation-group 2
description Syntax
description
text
undo description
View
Ethernet Port View
Parameter
text:
Enter a description of the Ethernet port. This can be a maximum of 80
characters.