Cisco Systems A9014CFD Router User Manual


 
4-13
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter 4 Managing and Monitoring Network Management Features
How to Configure Network Management Features on ASR 901
Configuring a TFTP Server
You need to set up a TFTP server to provide a bootstrap configuration to the ASR 901 routers when they
boot using option 150.
Creating a Bootstrap Configuration
Create or download a file with the initial bootstrap configuration on the TFTP server. An example of the
configuration file is shown below:
hostname test-router
!
cns trusted-server all-agents 30.30.1.20
cns event 30.30.1.20 11011 keepalive 60 3
cns config initial 30.30.1.20 80
cns config partial 30.30.1.20 80
cns id hostname
Step 4
ip dhcp excluded-address
ip-address subnet-mask
Example:
Router# ip dhcp excluded-address 30.30.1.20
30.30.1.255
Assigns IP addresses with an exception of 30.30.1.6, which
is the IP address of the DHCP server.
Step 5
ip dhcp pool
pool-name
Example:
Router# ip dhcp pabudhcp2
Specifies the DHCP pool name.
Step 6
network
ip-address subnet-mask
Example:
Router# network 160.100.100.0 255.255.255.252
Specifies the IP address and subnet mask of the network.
Step 7
default-router
ip-address
Example:
Router# default-router 30.30.1.6
Specifies the IP address of the default router.
Step 8
option 43 ascii
string
or
option 150 ip <
TFTP-server-ip-address
>
Example:
Router# option 43 ascii 3A1D;A3;B161.100.100.2
Specifies Option 43 and a string value that has the CNS
details, serial number of the hardware, and the code for CE
IP address or Option 150 and the IP address of the TFTP
server.
For more information on Option 43, see
http://www.cisco.com/en/US/docs/ios-xml/ios/cns/configu
ration/15-mt/cns-dhcp.html#GUID-CA88C33A-D81B-41
D3-A1F4-F276DA11C8B5. ASR 901 supports only few
letter code options mentioned in this link.
Step 9
end
Example:
Router(config-if)# end
Exits configuration mode.
Command or Action Purpose