Operation Manual – Port
Quidway S3100 Series Ethernet Switches Chapter 1
Basic Port Configuration
Huawei Technologies Proprietary
1-7
1.2.6 Configuring Trunk Port Attribute
Table 1-8 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 for the
port as trunk
port link-type trunk
Required
Set the default VLAN ID
for the trunk port
port trunk pvid vlan
vlan-id
Optional
By default, the VLAN of a
trunk port is VLAN 1.
Add the current trunk
port into the specified
VLAN
port trunk permit vlan
{ vlan-id-list | all }
Optional
1.2.7 Copying Port Configuration to Other Ports
To keep the configuration of some other ports consistent with a specified port, you can
copy the configuration of the specified port to these ports.
The configuration may include:
z VLAN settings: Includes the permitted VLAN types and default VLAN ID.
z QoS settings: Includes traffic limiting, priority marking and default 802.1p priority.
z STP settings: Includes STP enabling/disabling, link attribute (point-to-point or not),
STP priority, path cost, maximum transmission speed, loop protection, root
protection, and edge port or not.
z Port setting: Includes port link type, port speed, and duplex mode.
Table 1-9 Copy port configuration to other ports
Operation Command Remarks
Enter system view
system-view
—
Copy port
configuration 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 }
Optional