Specifying Mac Addresses; Specifying Ip Addresses, Host Names, And Ip Aliases - Cisco WS-C4003 - Catalyst 4000 Chassis Switch Software Configuration Manual

Software guide
Table of Contents

Advertisement

Specifying MAC Addresses

With many commands, you can enter lists of ports. To specify a range of ports, use a comma-separated
list (do not insert spaces) to specify individual ports or a hyphen (-) between the port numbers to specify
a range of ports. Hyphens take precedence over commas.
Table 2-4
Table 2-4
Example
2/1
3/4-8
5/2,5/4,6/10
3/1-2,4/8
VLANs are identified using the VLAN ID, a single number associated with the VLAN. To specify a list
of VLANs, use a comma-separated list (do not insert spaces) to specify individual VLANs or a hyphen
(-) between the VLAN numbers to specify a range of VLANs.
Table 2-5
Table 2-5
Example
10
5,10,15
10-50,500
Specifying MAC Addresses
Some commands require you to specify a Media Access Control (MAC) address, which must be
designated in a standard format. The MAC address format must be six hexadecimal numbers separated
by hyphens, as shown in the following example:
00-00-0c-24-d2-fe

Specifying IP Addresses, Host Names, and IP Aliases

Some commands require an IP address, IP host name, or IP alias. The IP address format is 32 bits, written
in dotted decimal format, as shown in the following example:
172.16.10.1
If DNS is configured properly on the switch, you can use IP host names instead of IP addresses. For
information on configuring DNS, see
You can also configure IP aliases on the switch, which you can use in place of IP addresses. IP aliases
can be used for most commands that use an IP address, except for commands that define the IP address
or IP alias. For information on using IP aliases, see the
page
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
2-8
shows examples of how to designate ports and port ranges.
Designating Ports and Port Ranges
shows examples of how to designate VLANs and VLAN ranges.
Designating VLANs and VLAN Ranges
26-7.
Function
Specifies port 1 on module 2
Specifies ports 4, 5, 6, 7, and 8 on module 3
Specifies ports 2 and 4 on module 5 and port 10 on module 6
Specifies ports 1 and 2 on module 3 and port 8 on module 4
Function
Specifies VLAN 10
Specifies VLANs 5, 10, and 15
Specifies VLANs 10 through 50, inclusive, and VLAN 500
Chapter 34, "Configuring DNS."
"Defining and Using IP Aliases" section on
Chapter 2
Using the Command-Line Interface
78-12647-02

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 4000 seriesCatalyst 2948gCatalyst 2980g

Table of Contents