3Com 3800 Switch User Manual


 
4-10 CHAPTER 4: COMMANDS
VLAN Commands Table 4-7 describes VLAN commands.
config snmp syscontact <string> Allows you to configure the name of the system
contact. A maximum of 32 characters is allowed.
config snmp sysname <string> Allows you to configure the name of the Switch. The
sysname appears in the command line interface prompt.
A maximum of 32 characters is allowed. The default
sysname is 3C16910.
config snmp syslocation <string> Allows you to configure the location of the Switch. A
maximum of 32 characters is allowed.
unconfig management Restores default values to all SNMP-related entries.
Table 4-6 Switch Management Commands (continued)
Command Description
Table 4-7 VLAN Commands
Command Description
show vlan {<name> | all} When used with the keyword “all”, or with no named
VLANs, displays a summary list of VLAN names with a
portlist and associated status of each. When used with
a named identifier, displays port information including
port membership list, IP address, tag information.
create vlan <name> Allows you to create a named VLAN.
delete vlan <name> Allows you to remove a VLAN.
config vlan <name> [add | delete]
<portlist> {tagged | untagged}
Allows you to add and delete ports. You can specify
tagged and untagged port(s). By default, ports are
untagged.
config vlan <name> tag <vlanid> Allows you to assign a numerical VLANid. The valid
range is from 1 to 4095.
config vlan <name> protocol
[<protocol_name> | any]
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.
config vlan <name> ipaddress <ipaddress>
{<mask>}
Allows you to assign an IP address and an optional
mask to the VLAN.
config dot1q ethertype <ethertype> 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.
unconfig vlan <name> ipaddress Allows you to remove the IP address associated with a
VLAN.
SW3800.BK Page 10 Tuesday, May 5, 1998 5:20 PM