Technical data

34 CHAPTER 2: PORT CONFIGURATION
QoS setting — includes traffic limiting, priority marking, default 802.1p priority,
bandwidth assurance, congestion avoidance, traffic redirection, traffic
statistics.
VLAN setting — includes permitted VLAN types, default VLAN ID.
Port setting — includes port link type, port speed, duplex mode. LACP setting
includes LACP enabling/disabling.
Perform the following configuration in system view.
Note that if the copy source is an aggregation group, use the port with the lowest
ID as the source. If the copy destination is an aggregation group, make the
configurations of all group member ports identical with that of the source.
Displaying and Debugging Ethernet Ports
After configuration, execute the display command in all views to display the
current configuration of Ethernet port parameters, and to verify the configuration.
Execute the reset command in user view to clear the statistics from the port.
Example: Configuring
the Default VLAN ID of
the Trunk Port
In this example, the Ethernet Switch (Switch A) is connected to the peer (Switch B)
through the trunk port Ethernet1/0/1. This example shows the default VLAN ID for
the trunk port and verifies the port trunk pvid vlan command. As a typical
application of the port trunk pvid vlan command, the trunk port will transmit
the packets without tag to the default VLAN.
Figure 1 Configure the Default VLAN for a Trunk Port
Tab le 15 Copying a Port Configuration to Other Ports
Operation Command
Copy port configuration to other ports copy configuration source { interface-type
interface-number | interface-name |
aggregation-group agg-id } destination {
interface_list [ aggregation-group agg-id ] |
aggregation-group agg-id }
Tab le 16 Display and Debug Ethernet Port
Operation Command
Display all the information of the port display interface {interface_type |
interface_type interface_num |
interface_name}
Display hybrid port or trunk port display port {hybrid | trunk}
Display the information of VLAN VPN display port vlan-vpn
Clear the statistics information of the port reset counters interface [interface_type |
interface_type interface_num |
interface_name]
Switch A
Switch B