Administrator Guide
puts $fp "Interface $intf_slot is Connected\r\n"
} else {
puts "ERROR: Interface $intf_slot is Not Connected\r\n"
# Write the Result to Status Fileputs $fp "ERROR: Interface
$intf_slot is Not Connected\r\n"
}}
# Close & FTP Status File
puts $fp "========================================\n"
close $fp
# Configure FTP - Interface
print_f10do "configure terminal"
print_f10do "interface TenGigabitEthernet 0/22"
print_f10do "ip address 20.0.0.34/16"
print_f10do "no shutdown"
print_f10do "end"
puts "Uploading Status File($status_file) to $ftp_ip ...\n"
spawn ftp "$ftp_ip"
expect "Name .*: "
send "lab\n"
expect "Password:"
send "lab\n"
expect "ftp>"
send "cd scripts\n"
expect "ftp>"
send "ls\n"
expect "ftp>"
send "put $status_file\n"
expect "ftp>"
send "ls\n"
expect "ftp>"
send "bye\n"
expect eof
print_f10do "configure terminal"
print_f10do "interface TenGigabitEthernet 0/22"
print_f10do "no ip address"
print_f10do "shutdown"
print_f10do "end"
puts "Post-Config Script Execution Successfull !!!!!\r\n"
exit 0
BMP Operations on Servers Overview
The following sections describe how to prepare the different servers for BMP functionality.
• Configuring the DHCP Server Settings
• File Server Settings
• Domain Name Server Settings
DHCP Server
To configure the DHCP server use the following information.
36
Bare Metal Provisioning