Using Zero Touch Provisioning (Auto Provisioning) on Edge Switches

Auto provisioning allows you to configure certain parameters on a switch automatically using a DHCP and TFTP server.

This process can make an Extreme Networks switch ready to do the initial provisioning without any manual intervention, resulting in time saving and efficiency.

The parameters that an auto-provision capable switch can obtain from a DHCP server and apply are as follows:
  • IP address

  • Gateway

  • TFTP server to contact

  • Configuration file to be loaded

A switch enabled with auto provision can be identified as follows:
  • A warning message for the console and each Telnet session is displayed as follows:

    Note: This switch has Auto-Provision enabled to obtain configuration remotely. Commands should be limited to: show auto-provision show log Any changes to this configuration will be discarded at the next reboot if auto provisioning sends a ".cfg" file.

  • The shell prompt reads as follows: (auto-provision) SummitX #
  • The status is shown in the show auto-provision command.

The DHCP server can be any that provides the needed functionality.

To obtain the desired parameters, the following DHCP options are used:
  • Option 43 - vendor-encapsulated-options

  • Option 60 - vendor-class-identifier. Extreme Networks switches use “Switch-type” as the option 60 parameter. You must configure this option on your DHCP server to provide the required attributes based on the specific model.

Following is a sample Linux DHCP configuration:
option space EXTREME;
option EXTREME.tftp-server-ip code 100 = ip-address;
option EXTREME.config-file-name code 101 = text;
option EXTREME.snmp-trap-ip code 102 = ip-address;
class "Edge-without-POE" {
match if (option vendor-class-identifier = "XSummit");
vendor-option-space EXTREME;
option EXTREME.tftp-server-ip 10.120.89.80;
option EXTREME.config-file-name "XSummit_edge.cfg";
option EXTREME.snmp-trap-ip 10.120.91.89;
}
class "Edge-SummitX-POE" {
match if (option vendor-class-identifier = "XSummit");
vendor-option-space EXTREME;
option EXTREME.tftp-server-ip 10.120.89.80;
option EXTREME.config-file-name "xSummit_edge.xsf";
option EXTREME.snmp-trap-ip 10.120.91.89;
}
subnet 10.127.8.0  netmask 255.255.255.0 {
option routers                  10.127.8.254;
option domain-name-servers      10.127.8.1;
option subnet-mask              255.255.255.0;
pool {
deny dynamic bootp clients;
range 10.127.8.170 10.127.8.190;
allow members of "Edge-without-POE";
allow members of "Edge-SummitX-POE";
}
}