3com 3031 Instruccion De Instalación
![3com](https://files.manualsbrain.com/attachments/960452ff43b9899cbcffced60c87abf956e7967a/common/fit/150/50/f6ac125d7af2cf40fec58935fa6d4bf71457a57efe50bee91208a434f325/brand_logo.jpeg)
Basic VLAN Configuration
229
The common protocol used to implement Trunk is IEEE802.1Q (dot1q), a standard
protocol of IEEE. It identifies the VLAN through adding a 4-byte VLAN TAG to the
end of the source address field in the original Ethernet packet.
protocol of IEEE. It identifies the VLAN through adding a 4-byte VLAN TAG to the
end of the source address field in the original Ethernet packet.
VLANs cannot directly interconnect with each other and routers supporting VLAN
must be used to connect each VLAN to implement the interconnection among
VLANs. Usually, this is a kind of layer 3 (IP layer) interconnection.
must be used to connect each VLAN to implement the interconnection among
VLANs. Usually, this is a kind of layer 3 (IP layer) interconnection.
Basic VLAN
Configuration
Configuration
Perform the following in the System View or interface view.
By default, there is no encapsulation mode on the system subinterface, nor is there
VLAN ID associated with the subinterface, nor the limit of maximum number of
processed packets.
VLAN ID associated with the subinterface, nor the limit of maximum number of
processed packets.
Displaying and
Debugging VLAN
Debugging VLAN
After finishing the above configurations, execute the
display
commands in any
view to view the running state information of the VLAN configuration for verifying
the effect of the configuration.
the effect of the configuration.
Execute the
reset
command in user views to clear the statistics information of
running.
Table 286 Basic VLAN configuration
Operation
Command
Create an Ethernet subinterface and enter its view
(in system view)
(in system view)
interface subinterface-type
interface-number
interface-number
Set the IP address of an Ethernet subinterface (in
interface view)
interface view)
ip address ip-address
ip-mask
ip-mask
Set the encapsulation type of an Ethernet
subinterface or a gigabit Ethernet subinterface and
related VLAN ID (in interface view)
subinterface or a gigabit Ethernet subinterface and
related VLAN ID (in interface view)
vlan-type dot1q vid vid
Set the maximum number of packets processed by a
VLAN per second (in system view)
VLAN per second (in system view)
max-packet-process count vid
Restore the default maximum number of packets
processed by a VLAN per second (in system view)
processed by a VLAN per second (in system view)
undo max-packet-process vid
Table 287 Displaying and debugging VLAN
Operation
Command
Display the maximum number of processed
packets configured on a specified VLAN
packets configured on a specified VLAN
display vlan max-packet-process
vid
vid
Display the packet statistics of the specified
VLAN, including the received and sent packet
numbers
VLAN, including the received and sent packet
numbers
display vlan statistics vid vid
Display the VLAN packet statistics of the
specified interface.
specified interface.
display vlan statistics interface
interface-type interface-num
protocol { arp | ip }
interface-type interface-num
protocol { arp | ip }
Display the VLAN configuration information
on an interface
on an interface
display vlan interface
interface-type interface-num
interface-type interface-num
Clear the packet statistics of specified VLAN
reset vlan statistics vid vid
Clear the VLAN packet statistics of specified
interface
interface
reset vlan statistics interface
interface-type interface-num
interface-type interface-num