Setup guide

2-3
Cisco 6400 Software Setup Guide
OL-1183-04
Chapter2 Basic NSP Configuration
DHCP
DHCP
Dynamic Host Configuration Protocol (DHCP) is the default IP assignment protocol for a new NSP, or
for an NSP that has had its configuration file cleared by means of the erase nvram:startup-config
command. For DHCP, an Ethernet IP address, subnet mask, and the default route are retrieved from the
DHCP server for any interface set with the ip address negotiated command. To configure the DHCP
server, add an entry in the DHCP database using the instructions that came with the server.
Note The Cisco 6400 performs a DHCP request only if the NME interface is configured with the ipaddress
negotiated interface configuration command.
Verifying DHCP
Use the show dhcp lease command to confirm the IP address, subnet mask, default gateway, and static
route information obtained from a DHCP server:
Switch# show dhcp lease
Temp IP addr: 10.1.1.3 for peer on Interface: unknown
Temp sub net mask: 255.255.0.0
DHCP Lease server: 172.18.254.254, state: 3 Bound
DHCP transaction id: 18D9
Lease: 86400 secs, Renewal: 43200 secs, Rebind: 75168 secs
Temp default-gateway addr: 10.1.0.1
Temp ip static route0: dest 172.18.254.254 router 10.1.0.1
Next timer fires after: 00:29:59
Retry count: 0 Client-ID: cisco-0010.7ba9.c600-Ethernet0/0/0
Configuring the System Clock and Hostname
Although they are not required, several system parameters should be set as part of the initial system
configuration. To set the system clock and hostname, complete the following steps beginning in
privileged EXEC mode:
Example
In the following example, the system clock and hostname are configured:
Switch# clock set 15:01:00 17 October 2002
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# hostname Publications
Publications(config)#
Command Purpose
Step1
Switch# clock set hh:mm:ss day_of_month month year
Sets the system clock.
Step2
Switch# configure terminal
Enters global configuration mode.
Step3
Switch(config)# hostname name_string
Sets the system hostname.