6-16To do... Use the command… RemarksClear statistics on a portreset counters interface[ interface-type[ interface-number ] ]Available in user viewThe reset counters interface command can be used to clear statistics on a VLAN interface. For moreinformation, refer to Ethernet Interface Commands in the Access Volume.VLAN Configuration ExampleNetwork requirementsz Device A connects to Device B through a trunk port GigabitEthernet 1/0/1;z The default VLAN ID of GigabitEthernet 1/0/1 is 100;z GigabitEthernet 1/0/1 allows packets from VLAN 2, VLAN 6 through VLAN 50, and VLAN 100 topass through.Figure 6-4 Network diagram for port-based VLAN configurationConfiguration procedure1) Configure Device A# Create VLAN 2, VLAN 6 through VLAN 50, and VLAN 100. system-view[DeviceA] vlan 2[DeviceA-vlan2] quit[DeviceA] vlan 100[DeviceA-vlan100] vlan 6 to 50Please wait... Done.# Enter GigabitEthernet 1/0/1 interface view.[DeviceA] interface GigabitEthernet 1/0/1# Configure GigabitEthernet 1/0/1 as a trunk port and configure its default VLAN ID as 100.[DeviceA-GigabitEthernet1/0/1] port link-type trunk[DeviceA-GigabitEthernet1/0/1] port trunk pvid vlan 100# Configure GigabitEthernet 1/0/1 to deny the packets of VLAN 1 (by default, the packets of VLAN 1are permitted to pass through on all the ports).[DeviceA-GigabitEthernet1/0/1] undo port trunk permit vlan 1