Chapter 3
Configuring the Switch IP Address and Default Gateway
Console> (enable) show interface
sl0: flags=51<UP,POINTOPOINT,RUNNING>
sc0: flags=63<UP,BROADCAST,RUNNING>
dhcp server: 172.20.25.254
Console>
Renewing and Releasing a DHCP-Assigned IP Address
If you are using DHCP for IP address assignment, you can perform either of these tasks:
•
•
To renew or release a DHCP-assigned IP address on the in-band (sc0) management interface, perform
one of these tasks in privileged mode:
Task
Renew the lease on a DHCP-assigned IP address. set interface sc0 dhcp renew
Release the lease on a DHCP-assigned IP address. set interface sc0 dhcp release
This example shows how to renew the lease on a DHCP-assigned IP address:
Console> (enable) set interface sc0 dhcp renew
Renewing IP address...
Console> (enable) Sending DHCP packet with address: 00:90:0c:5a:8f:ff
<...output truncated...>
This example shows how to release the lease on a DHCP-assigned IP address:
Console> (enable) set interface sc0 dhcp release
Releasing IP address...
Console> (enable) Sending DHCP packet with address: 00:90:0c:5a:8f:ff
Done
Console> (enable)
78-12647-02
slip 0.0.0.0 dest 0.0.0.0
vlan 1 inet 172.20.25.244 netmask 255.255.255.0 broadcast 172.20.25.255
Renew—Renew the lease on a DHCP-assigned IP address
Release—Release the lease on a DHCP-assigned IP address
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
Renewing and Releasing a DHCP-Assigned IP Address
Command
3-11