Cisco WS-C4003 Software Guide - Page 44
Specifying MAC Addresses, Specifying IP Addresses, Host Names, and IP Aliases
View all Cisco WS-C4003 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 44 highlights
Specifying MAC Addresses Chapter 2 Using the Command-Line Interface 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 shows examples of how to designate ports and port ranges. Table 2-4 Designating Ports and Port Ranges Example 2/1 3/4-8 5/2,5/4,6/10 3/1-2,4/8 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 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 shows examples of how to designate VLANs and VLAN ranges. Table 2-5 Designating VLANs and VLAN Ranges Example 10 5,10,15 10-50,500 Function Specifies VLAN 10 Specifies VLANs 5, 10, and 15 Specifies VLANs 10 through 50, inclusive, and VLAN 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 Chapter 34, "Configuring DNS." 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 "Defining and Using IP Aliases" section on page 26-7. Software Configuration Guide-Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4 2-8 78-12647-02