Using Tftp - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Sample Configuration and Reference Information

Using TFTP

Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
6-30
}
subclass "WS-4500X-16" 1:30:e4:db:f8:a4:9f {
filename "example-ios-image.bin";
option routers 198.0.2.254;
option dhcp-parameter-request-list 43,3;
option vendor-class-identifier "WS-4500X-16";
vendor-option-space EXAMPLE;
option EXAMPLE.startup-config
"http://example-httpserver-url.com/example-config.config";
option EXAMPLE.user-script
"http://example-httpserver-url.com/example-script.py";
option EXAMPLE.user-ova
"http://example-httpserver-url.com/example-container.ova";
option dhcp-parameter-request-list 43,3;
}
#ASSIGN A POOL TO GIVE IP ADDRESSES TO THE MEMBERS OF THE VENDOR-SPECIFIC CLASS
subnet 192.0.2.0 netmask 255.255.255.0 {
pool {
allow members of "WS-X45-SUP8L-E";
range 192.0.2.10 192.0.2.50;
}
pool {
allow members of "WS-4500X-16";
range 192.0.2.51 192.0.2.100;
}
}
subnet 203.0.113.0 netmask 255.255.255.0 {
range 203.0.113.12 203.0.113.100;
option routers 198.51.100.3;
option subnet-mask 255.255.255.0;
server-identifier 198.51.100.2;
next-server 198.51.100.2;
}
allow booting;
allow bootp;
ddns-update-style none;
#DEFINE AN OPTION SPACE. "EXAMPLE" IS USED HERE. IT IS A VARIABLE YOU CAN SET.
#MAINTAIN code 1,2 AND 3 CONSISTENTLY SINCE THE VALUES CORRESPOND TO CONFIG,SCRIPT AND
#OVA FILES RESEPCTIVELY.
option space EXAMPLE;
option EXAMPLE.startup-config code 1=text;
option EXAMPLE.user-script code 2=text;
option EXAMPLE.user-ova code 3=text;
#ENTER THESE DETAILS AS APPLICABLE TO YOUR NETWORK.
option domain-name "example.com";
option domain-name-servers 198.51.100.3;
option subnet-mask 255.255.255.0;
option broadcast-address 192.0.2.255;
#DEFINE A CLASS FOR THE VENDOR-SPECIFIC IDENTIFIER NAME THAT THE DEVICE HAS.
#EXAMPLE:FOR SUP8E/8LE IT IS "WS-X45-SUP8L-E"
#FOR CATALYST 4500-X IT IS "WS-4500X-16"
#ALSO DEFINE THE ROUTER,TFTP SERVER IDENTIFIER,NEXT SERVER IP DETAILS - AS APPLICABLE
#TO YOUR NETWORK
Chapter 6
Programmability

Advertisement

Table of Contents
loading

Table of Contents