Defining Ip Aliases On The Switch - Cisco WS-C6506 Software Manual

Catalyst 6500 series switch
Hide thumbs Also See for WS-C6506:
Table of Contents

Advertisement

Chapter 22
Administering the Switch
sm8
sp8
Console> (enable) sm8
Mod Module-Name
--- ------------------- ----- --------------------- --------- --------- -------
8
Mod MAC-Address(es)
--- -------------------------------------- ------ ---------- -----------------
8
Console> (enable) sp8
Port
----- ------------------ ---------- ---------- ------ ------ ----- ------------
8/1
8/2
Port
-----
8/1
8/2
Use 'session' command to see ATM counters.
Last-Time-Cleared
--------------------------
Thu Sep 10 1998, 16:56:08
Console> (enable)

Defining IP Aliases on the Switch

You can use the set ip alias command to define textual aliases for IP addresses. IP aliases can make it
easier to refer to other network devices when using ping, telnet, and other commands, even when DNS
is not enabled.
The name argument defines the IP alias. The ip_addr argument defines the IP address to which the name
refers.
To define an IP alias on the switch, perform this task in privileged mode:
Task
Step 1
Define an IP alias on the switch.
Step 2
Verify the currently defined IP aliases.
This example shows how to define two IP aliases, sparc and cat6509. sparc refers to IP address
172.20.52.3, and cat6509 refers to IP address 172.20.52.71. This example also shows how to verify the
currently defined IP aliases and displays what happens when you use the IP aliases with the ping
command:
Console> (enable) set ip alias sparc 172.20.52.3
IP alias added.
Console> (enable) set ip alias cat6509 172.20.52.71
IP alias added.
Console> (enable) show ip alias
default
sparc
cat6509
OL-8978-04
show module 8
show port 8
Ports Module-Type
2
00-60-2f-45-26-2f
Name
Status
notconnect trunk
notconnect trunk
ifIndex
-------
285
286
0.0.0.0
172.20.52.3
172.20.52.71
DS3 Dual PHY ATM
Hw
Fw
2.0
1.3
Vlan
Level Duplex Speed Type
normal
normal
Command
set ip alias name ip_addr
show ip alias [name]
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
Defining IP Aliases on the Switch
Model
Serial-Num Status
WS-X5166
007243262 ok
Sw
51.1(103)
full
45 DS3 ATM
full
45 DS3 ATM
22-7

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6506Catalyst 6509Catalyst 6513

Table of Contents