|
4-10 CHAPTER 4: COMMANDSVLAN Commands Table 4-7 describes VLAN commands.config snmp syscontact Allows you to configure the name of the systemcontact. A maximum of 32 characters is allowed.config snmp sysname Allows you to configure the name of the Switch. Thesysname appears in the command line interface prompt.A maximum of 32 characters is allowed. The defaultsysname is 3C16910.config snmp syslocation Allows you to configure the location of the Switch. Amaximum of 32 characters is allowed.unconfig management Restores default values to all SNMP-related entries.Table 4-6 Switch Management Commands (continued)Command DescriptionTable 4-7 VLAN CommandsCommand Descriptionshow vlan { | all} When used with the keyword “all”, or with no namedVLANs, displays a summary list of VLAN names with aportlist and associated status of each. When used witha named identifier, displays port information includingport membership list, IP address, tag information.create vlan Allows you to create a named VLAN.delete vlan Allows you to remove a VLAN.config vlan [add | delete] {tagged | untagged}Allows you to add and delete ports. You can specifytagged and untagged port(s). By default, ports areuntagged.config vlan tag Allows you to assign a numerical VLANid. The validrange is from 1 to 4095.config vlan protocol[ | any]Allows you to configure a protocol based VLAN. If thekeyword “any” is specified, then it becomes the defaultVLAN. All packets that cannot be classified into otherprotocol-based VLANs are assigned to the defaultVLAN of that port.config vlan ipaddress {}Allows you to assign an IP address and an optionalmask to the VLAN.config dot1q ethertype Allows you to configure an IEEE 802.1Q EtherType. Usethis command if you have another switch that supports802.1Q, but uses a different EtherType. The defaultvalue used by the Switch is 8100.unconfig vlan ipaddress Allows you to remove the IP address associated with aVLAN.
PreviousNext |