Defining And Using Ip Aliases - Cisco WS-C2948G-GE-TX Configuration Manual

Catalyst 4500 series switch
Table of Contents

Advertisement

Chapter 27
Administering the Switch
--- -------------------------------------- ------ ---------- -----------------
3
Console> (enable) sp3
Port
----- ------------------ ---------- ---------- ------ ------ ----- ------------
3/1
Port
----- -------- --------- ------------- -------- -------- -------- -------
3/1
Port
----- -------- ----------------- -------- ----------------- ------------------
3/1
Port
-----
3/1
Port
----- ---------- -------------------- ----- -----
3/1
Port
----- ---------- ---------- ---------- ---------- ---------
3/1
Port
----- ---------- ---------- ---------- ---------- --------- --------- ---------
3/1
Last-Time-Cleared
--------------------------
Mon Jun 26 2000, 08:53:49
Console> (enable)

Defining and Using IP Aliases

You can use the set ip alias command to define aliases for IP addresses. IP aliases can make it easier to
refer to other network devices when you use ping, telnet, and other commands, even when DNS is not
enabled.
For the name argument, specify a name for your IP alias. For the ip_addr argument, specify 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, which refers to IP address 172.20.52.3, and
cat4003, which refers to IP address 172.20.52.71. This example also shows how to verify the currently
defined IP aliases:
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
78-15908-01
00-10-7b-f6-b2-1a to 00-10-7b-f6-b2-1f 0.2
Name
Status
notconnect 1
Security Violation Shutdown-Time Age-Time Max-Addr Trap
disabled
shutdown
Num-Addr Secure-Src-Addr
0
Send FlowControl
admin
oper
-------- --------
desired
off
Status
Channel
Mode
notconnect auto silent
Align-Err
FCS-Err
-
0
Single-Col Multi-Coll Late-Coll
0
0
Vlan
Level
normal
0
0
Age-Left Last-Src-Addr
-
-
Receive FlowControl
RxPause TxPause Unsupported
admin
oper
-------- --------
------- ------- -----------
off
off
0
Admin Ch
Group Id
29
0
Xmit-Err
Rcv-Err
0
0
Excess-Col Carri-Sen Runts
0
0
Command
set ip alias name ip_addr
show ip alias [name]
Defining and Using IP Aliases
Duplex Speed Type
full
1000 1000BaseSX
IfIndex
1 disabled
9
Shutdown/Time-Left
-
-
opcodes
0
0
UnderSize
0
Giants
0
0
-
0
27-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents