Vlan Configuration Example - 3Com S7906E Configuration Manual

S7900e family release 6600 series
Hide thumbs Also See for S7906E:
Table of Contents

Advertisement

To do...
Display hybrid ports or trunk
ports on the device
Display MAC address-to-VLAN
entries
Display all interfaces with
MAC-based VLAN enabled
Display protocol information
and protocol indexes of the
specified VLANs
Display protocol-based VLAN
information on specified
interfaces
Display IP subnet-based VLAN
information and IP subnet
indexes of specified VLANs
Display the IP subnet-based
VLAN information and IP
subnet indexes of specified
ports
Clear statistics on a port
The reset counters interface command can be used to clear statistics on a VLAN interface. For more
information, refer to Ethernet Interface Commands in the Access Volume.

VLAN Configuration Example

Network requirements
Device A connects to Device B through a trunk port GigabitEthernet 2/0/1;
The default VLAN ID of GigabitEthernet 2/0/1 is 100;
GigabitEthernet 2/0/1 allows packets from VLAN 2, VLAN 6 through VLAN 50, and VLAN 100 to
pass through.
Figure 1-4 Network diagram for port-based VLAN configuration
Configuration procedure
1)
Configure Device A
Use the command...
display port { hybrid | trunk }
display mac-vlan { all | dynamic |
mac-address mac-address [ mask
mac-mask ] | static | vlan vlan-id }
display mac-vlan interface
display protocol-vlan vlan
vlan
id
| all
-
]
}
display protocol-vlan interface
{ interface-type interface-number [ to
interface-type interface-number ] | all }
display ip-subnet-vlan vlan { vlan-id
[ to vlan-id ] | all }
display ip-subnet-vlan interface
interface-list
all
{
|
}
reset counters interface
interface-number
[
] ]
1-16
Remarks
Available in any view
Available in any view
Available in any view
vlan
id
to
{
-
[
Available in any view
Available in any view
Available in any view
Available in any view
interface-type
[
Available in user view

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

S7910eS7906e-vS7903eS7903e-sS7902e

Table of Contents