
27-7
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
78-15908-01
Chapter 27 Administering the Switch
Defining and Using IP Aliases
--- -------------------------------------- ------ ---------- -----------------
3 00-10-7b-f6-b2-1a to 00-10-7b-f6-b2-1f 0.2
Console> (enable) sp3
Port Name Status Vlan Level Duplex Speed Type
----- ------------------ ---------- ---------- ------ ------ ----- ------------
3/1 notconnect 1 normal full 1000 1000BaseSX
Port Security Violation Shutdown-Time Age-Time Max-Addr Trap IfIndex
----- -------- --------- ------------- -------- -------- -------- -------
3/1 disabled shutdown 0 0 1 disabled 9
Port Num-Addr Secure-Src-Addr Age-Left Last-Src-Addr Shutdown/Time-Left
----- -------- ----------------- -------- ----------------- ------------------
3/1 0 - - - - -
Port Send FlowControl Receive FlowControl RxPause TxPause Unsupported
admin oper admin oper opcodes
----- -------- -------- -------- -------- ------- ------- -----------
3/1 desired off off off 0 0 0
Port Status Channel Admin Ch
Mode Group Id
----- ---------- -------------------- ----- -----
3/1 notconnect auto silent 29 0
Port Align-Err FCS-Err Xmit-Err Rcv-Err UnderSize
----- ---------- ---------- ---------- ---------- ---------
3/1 - 0 0 0 0
Port Single-Col Multi-Coll Late-Coll Excess-Col Carri-Sen Runts Giants
----- ---------- ---------- ---------- ---------- --------- --------- ---------
3/1 0 0 0 0 0 0 0
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:
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:
Task
Command
Step 1
Define an IP alias on the switch.
set ip alias name ip_addr
Step 2
Verify the currently defined IP aliases.
show ip alias [name]