Quidway S5012G Operation Manual - page 8
Operation Manual - Port
Quidway S5000 Series Ethernet Switches
Chapter 1 Ethernet Port Configuration
1-7
of the packet is identical to the default VLAN ID of the port, the system will remove
VLAN Tag before sending this packet.
Perform the following configuration in Ethernet port view.
Table 1-11 Set the default VLAN ID for the Ethernet port
Operation
Command
Set the default VLAN ID for the hybrid port.
port hybrid pvid vlan vlan_id
Set the default VLAN ID for the trunk port
port trunk pvid vlan vlan_id
Restore the default VLAN ID of the hybrid port to the default value
undo port hybrid pvid
Restore the default VLAN ID of the trunk port to the default value
undo port trunk pvid
Note that, to guarantee the proper packet transmission, the default VLAN ID of local
hybrid port or Trunk port should be identical with that of the hybrid port or Trunk port on
the peer switch.
By default, the VLAN of hybrid port and trunk port is VLAN 1 and that of the access port
is the VLAN to which it belongs.
1.2.12 Set the Time Interval of Calculating Port Statistics Information
The following commands are used for configuring a time interval. When calculating port
statistics information, the switch calculates the average port speed during the time
interval.
Perform the following configuration in Ethernet port view.
Table 1-12 Set the time interval of calculating port statistics information
Operation
Command
Set the time interval of calculating port statistics information
flow-interval interval
Restore the default time interval of calculating port statistics information
undo flow-interval
By default, the time interval of calculating port statistics information is 300 seconds.
1.3 Display and Debug Ethernet Port
After the above configuration, execute display command in any view to display the
running of the Ethernet port configuration, and to verify the effect of the configuration.
Execute reset command in user view to clear the statistics information of the port.
Execute loopback command in Ethernet port view to check whether the Ethernet port
works normally. In the process of the loopback test, the port cannot forward the packets.
The loop test will finish automatically after being executed for a while.