Vlan Configuration Examples - 3Com 3800 User Manual

3com switch user guide
Hide thumbs Also See for 3800:
Table of Contents

Advertisement

5-12
C
5: V
HAPTER
IRTUAL
Table 5-1 VLAN Configuration Commands
Command
create vlan <name>
create protocol <protocol_name>
config protocol <protocol_name> add
<protocol_type> <hex_value>
config vlan <name> ipaddress <ipaddress>
{<mask>}
config vlan <name> [add | delete] port
<portlist> {tagged | untagged}
config vlan <name> protocol
[<protocol_name> | any]
config vlan <name> tag <vlanid>
config dot1p ethertype <ethertype>
VLAN Configuration
Examples
LAN
(VLAN
)
S
S
Table 5-1 describes the commands used to configure a VLAN.
The following example creates a port-based VLAN named accounting,
assigns the IP address 132.15.121.1, and assigns ports 1, 2, 3, and 6 to
it:
create vlan accounting
config accounting ipaddress 132.15.121.1
config accounting add port 1-3,6
Because VLAN names are unique, you do not need to enter the
keyword "vlan" after you have created the unique VLAN name. You
can use the VLAN name alone.
Description
Allows you to create a named VLAN.
Allows you to create a user-defined protocol.
Allows you to configure a protocol filter. Supported
protocol types include:
EtherType
LLC
SNAP
Allows you to assign an IP address and an optional
mask to the VLAN.
Allows you to add and delete ports within the
VLAN. You can specify tagged and untagged
port(s). By default, ports are untagged.
Allows you to configure a protocol-based VLAN. If
the keyword "any" is specified, then it becomes
the default VLAN. All packets that cannot be
classified into other protocol-based VLANs are
assigned to the default VLAN of that port.
Allows you to assign a numerical VLANid. The
valid range is from 1 to 4095.
Allows you to configure an IEEE 802.1Q
EtherType. Use this command if you have another
Switch that supports 802.1Q, but uses a different
EtherType. The default value used by the Switch is
8100.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Superstack ii 3800

Table of Contents