3com 9000 SX Manual De Usuario
![3com](https://files.manualsbrain.com/attachments/960452ff43b9899cbcffced60c87abf956e7967a/common/fit/150/50/f6ac125d7af2cf40fec58935fa6d4bf71457a57efe50bee91208a434f325/brand_logo.jpeg)
4-10
C
HAPTER
4: C
OMMANDS
VLAN Commands
config snmp syscontact <string>
Allows you to configure the name of the system
contact. A maximum of 32 characters is allowed
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
sysname appears in the command line interface prompt.
A maximum of 32 characters is allowed. The default
sysname is
3C16990
.
config snmp syslocation <string>
Allows you to configure the location of the Switch. A
maximum of 32 characters is allowed.
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
membership list, IP address, tag information.
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
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}
<portlist> {tagged | untagged}
Allows you to add and delete ports. You can specify
tagged and untagged port(s). By default, ports are
untagged.
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.
range is from 1 to 4095.
config vlan <name> protocol
[<protocol_name> | any]
[<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.
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>}
{<mask>}
Allows you to assign an IP address and an optional
mask to the VLAN.
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.
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.
VLAN.
SW9000.BK Page 10 Wednesday, April 1, 1998 11:00 AM