- Print
- PDF
ZTP (Zero Touch Provisioning) feature enables automatic provisioning of a switch connected to a network. The ZTP is configurable and managed by CLI and SNMP interfaces. This article provides the various modes for the CLI configuration and the various operations for the SNMP configuration.
The ZTP feature uses DHCPv4 protocol on Linux IP for fetching the IP address from the DHCP server.
This article describes the configuration of the following ZTP features using CLI and SNMP interfaces.
- Enable/Disable Use Beacon Rate
- Start/Stop Beacon Advertisement
- Configure Advertisement Interval
- Enable/Disable Domain ID Match
- Configure Domain ID Value
- Configure ZTP Trace Level
- Enable/Disable Beacon Discovery over the interface
Note: The subsections on SNMP configurations have references to tables for the index values used in setting up the variables.
Enable/Disable Use Beacon Rate
The following lists the CLI and SNMP configuration steps to enable and disable the use beacon Rate.
When the use beacon rate is enabled, the advertisement frame will be transmitted at the rate which is present in the received beacon packet; otherwise, the configured advertisement interval will be used for the advertisement frame transmission.
By Default, Use beacon Rate is enabled.
CLI Configuration
The CLI configuration steps to enable the use of beacon rate are listed below.
Enter Global configuration mode:
your product# configure terminalEnable the use beacon rate:
your product(config)# set use-beacon-rate enableExit the Global Configuration mode:
your product(config)# endView the ZTP global information for default switch:
your product# show ztp globals
ZTP Global Configurations:
Beacon Domain-ID is defaultDomain
Beacon Domain-ID Match is disabled
Use Beacon Rate is enabled
Beacon Advertisment is enabled
Beacon Advertisement Interval is 60 secs
Beacon discovery is enabled for Interface XL-ethernet 0/1
Beacon discovery is enabled for Interface XL-ethernet 0/2
Beacon discovery is enabled for Interface XL-ethernet 0/3
Beacon discovery is enabled for Interface XL-ethernet 0/4
Beacon discovery is enabled for Interface gigabitethernet 0/1
The CLI configuration steps to enable the use beacon rate are listed below.
Enter Global configuration mode:
your product# configure terminalDisable the use beacon rate:
your product(config)# set use-beacon-rate disableExit the Global Configuration mode:
your product(config)# endView the ZTP global information for default switch:
your product# show ztp globals
ZTP Global Configurations:
Beacon Domain-ID is defaultDomain
Beacon Domain-ID Match is disabled
Use Beacon Rate is disabled
Beacon Advertisment is enabled
Beacon Advertisement Interval is 60 secs
Beacon discovery is enabled for Interface XL-ethernet 0/1
Beacon discovery is enabled for Interface XL-ethernet 0/2
Beacon discovery is enabled for Interface XL-ethernet 0/3
Beacon discovery is enabled for Interface XL-ethernet 0/4
Beacon discovery is enabled for Interface gigabitethernet 0/1
SNMP Configuration
The SNMP configuration steps to enable/disable of use beacon rate are listed below.
Enable the use beacon rate in switch default:
% snmp0 set {{ fsaccztpUseBeaconRate.0 1}}
{1.3.6.1.4.1.2076.81.101.1.1.0 INTEGER 1}Disable use beacon rate in switch default:
% snmp0 set {{ fsaccztpUseBeaconRate.0 0}}
{1.3.6.1.4.1.2076.81.101.1.1.0 INTEGER 0}
Start/Stop Beacon Advertisement
This section lists the CLI and SNMP configuration steps to start and stop beacon advertisements.
When Beacon Advertisment is enabled, the beacon advertisement frame will be transmitted; otherwise, the beacon advertisement frame will not be transmitted.
By Default, the Beacon Advertisement frame will be transmitted.
CLI Configuration
The CLI configuration steps to start the beacon advertisement are listed below.
Enter Global configuration mode:
your product# configure terminalStart the beacon advertisement:
your product(config)# set beacon advertisment enableExit the Global Configuration mode:
your product(config)# endView the ZTP global information for default switch:
your product# show ztp globals
ZTP Global Configurations:
Beacon Domain-ID is defaultDomain
Beacon Domain-ID Match is disabled
Use Beacon Rate is enabled
Beacon Advertisment is enabled
Beacon Advertisement Interval is 60 secs
Beacon discovery is enabled for Interface XL-ethernet 0/1
Beacon discovery is enabled for Interface XL-ethernet 0/2
Beacon discovery is enabled for Interface XL-ethernet 0/3
Beacon discovery is enabled for Interface XL-ethernet 0/4
Beacon discovery is enabled for Interface gigabitethernet 0/1
The CLI configuration steps to stop the beacon advertisement are listed below.
Enter Global configuration mode:
your product# configure terminalStop the beacon advertisement:
your product(config)# set beacon advertisment disableExit the Global Configuration mode:
your product(config)# endView the ZTP global information for default switch:
your product# show ztp globals
ZTP Global Configurations:
Beacon Domain-ID is defaultDomain
Beacon Domain-ID Match is disabled
Use Beacon Rate is enabled
Beacon Advertisment is disabled
Beacon Advertisement Interval is 60 secs
Beacon discovery is enabled for Interface XL-ethernet 0/1
Beacon discovery is enabled for Interface XL-ethernet 0/2
Beacon discovery is enabled for Interface XL-ethernet 0/3
Beacon discovery is enabled for Interface XL-ethernet 0/4
Beacon discovery is enabled for Interface gigabitethernet 0/1
Configure Advertisement Interval
This section lists the CLI and SNMP configuration steps to configure beacon advertisement interval.
When the use beacon rate is disabled and the advertisement frame is enabled, the advertisement frame will be sent with configured beacon advertisement interval.
By Default, the Beacon Advertisement interval is 60 sec.
SNMP Configuration
The SNMP configuration steps to start/stop beacon advertisement are listed below.
Start the beacon advertisement in switch default:
% snmp0 set {{ fsaccztpBeaconAdv.0 1}}
{1.3.6.1.4.1.2076.81.101.1.2.0 INTEGER 1}Stop the beacon advertisement in switch default:
% snmp0 set {{ fsaccztpBeaconAdv.0 0}}
{1.3.6.1.4.1.2076.81.101.1.2.0 INTEGER 0}
CLI Configuration
The CLI configuration steps to configure the beacon advertisement interval are listed below.
Enter Global configuration mode:
your product# configure terminalConfigure the beacon advertisement interval:
your product(config)# set beacon advertisment interval 600Exit the Global Configuration mode:
your product(config)# endView the ZTP global information for default switch:
your product# show ztp globals
ZTP Global Configurations:
Beacon Domain-ID is defaultDomain
Beacon Domain-ID Match is disabled
Use Beacon Rate is enabled
Beacon Advertisment is enabled
Beacon Advertisement Interval is 600 secs
Beacon discovery is enabled for Interface XL-ethernet 0/1
Beacon discovery is enabled for Interface XL-ethernet 0/2
Beacon discovery is enabled for Interface XL-ethernet 0/3
Beacon discovery is enabled for Interface XL-ethernet 0/4
Beacon discovery is enabled for Interface gigabitethernet 0/1
SNMP Configuration
The SNMP configuration steps to configure the beacon advertisement interval are listed below.
% snmp0 set {{ fsaccztpBeaconconAdvInterval.0 600}}
{1.3.6.1.4.1.2076.81.101.1.3.0 Unsigned32 600}
Enable/Disable Domain ID Match
This section lists the CLI and SNMP configuration steps to enable/disable domain id match.
When domain id match is enabled, the switch will accept beacons only if the beacon's domain ID matches the local domain ID
By Default, domain id match is disabled.
CLI Configuration
The CLI configuration steps to enable domain id match are listed below.
Enter Global configuration mode:
your product# configure terminalEnable the domain id match:
your product(config)# set beacon domain-id-match enableExit the Global Configuration mode:
your product(config)# endView the ZTP global information for default switch:
your product# show ztp globals
ZTP Global Configurations:
Beacon Domain-ID is defaultDomain
Beacon Domain-ID Match is enabled
Use Beacon Rate is enabled
Beacon Advertisment is enabled
Beacon Advertisement Interval is 60 secs
Beacon discovery is enabled for Interface XL-ethernet 0/1
Beacon discovery is enabled for Interface XL-ethernet 0/2
Beacon discovery is enabled for Interface XL-ethernet 0/3
Beacon discovery is enabled for Interface XL-ethernet 0/4
Beacon discovery is enabled for Interface gigabitethernet 0/1
The CLI configuration steps to disable domain id match are listed below.
Enter Global configuration mode:
your product# configure terminalDisable domain id match:
your product(config)# set beacon domain-id-match disableExit the Global Configuration mode:
your product(config)# endView the ZTP global information for default switch:
your product# show ztp globals
ZTP Global Configurations:
Beacon Domain-ID is defaultDomain
Beacon Domain-ID Match is disabled
Use Beacon Rate is enabled
Beacon Advertisment is enabled
Beacon Advertisement Interval is 60 secs
Beacon discovery is enabled for Interface XL-ethernet 0/1
Beacon discovery is enabled for Interface XL-ethernet 0/2
Beacon discovery is enabled for Interface XL-ethernet 0/3
Beacon discovery is enabled for Interface XL-ethernet 0/4
Beacon discovery is enabled for Interface gigabitethernet 0/1
SNMP Configuration
The SNMP configuration steps to enable/disable domain id match are listed below.
Enable the domain id match in switch default:
% snmp0 set {{ fsaccztpDomainIdMatch.0 1}}
{1.3.6.1.4.1.2076.81.101.1.4.0 INTEGER 1}Disable the domain id match in switch default:
% snmp0 set {{ fsaccztpDomainIdMatch.0 0}}
{1.3.6.1.4.1.2076.81.101.1.4.0 INTEGER 0}
Configure Domain ID Value
This section lists the CLI and SNMP configuration steps to configure domain id value.
When domain id match is enabled, the switch will accept beacons only if the beacon's domain ID matches the local configured domain ID
By Default, defaultDomain is the domain ID.
CLI Configuration
The CLI configuration steps to configure domain id are listed below:
Enter Global configuration mode:
your product# configure terminalConfigure the domain id:
your product(config)# set beacon domain-id-value testExit the Global Configuration mode:
your product(config)# endView the ZTP global information for default switch:
your product# show ztp globals
ZTP Global Configurations:
Beacon Domain-ID is test
Beacon Domain-ID Match is disabled
Use Beacon Rate is enabled
Beacon Advertisment is enabled
Beacon Advertisement Interval is 60 secs
Beacon discovery is enabled for Interface XL-ethernet 0/1
Beacon discovery is enabled for Interface XL-ethernet 0/2
Beacon discovery is enabled for Interface XL-ethernet 0/3
Beacon discovery is enabled for Interface XL-ethernet 0/4
Beacon discovery is enabled for Interface gigabitethernet 0/1
SNMP Configuration
The SNMP configuration steps to configure domain id value are listed below.
% snmp0 set {{ fsaccztpDomainId.0 test}}
{1.3.6.1.4.1.2076.81.101.1.5.0 {OCTET STRING} test}
Configure ZTP Trace Level
This section details the CLI and SNMP configurations to configure the below ZTP Trace Level.
- Function Entry/Exit
- Management
- Information
- Critical
- Resource
- All Failure
- All
By Default, the Critical Trace level is set.
CLI Configuration
The CLI configuration steps to configure the ZTP trace level are listed below:
your product# debug ztp level all
The CLI configuration to disable ZTP is listed below:
your product# no debug ztp
SNMP Configuration
The SNMP configuration step to configure the ZTP trace level is listed below:
% snmp0 set {{ fsaccztpTraceLevel.0 4352}}
{1.3.6.1.4.1.2076.81.101.1.6.0 Integer32 4352}
Enable/Disable Beacon Discovery Over the Interface
This section lists the CLI and SNMP configuration steps to enable/disable the beacon discovery over the interface.
Beacon packets received on the interface will be processed only if the beacon discovery is enabled on the interface.
By Default, beacon discovery is enabled on all interfaces.
CLI Configuration
The CLI configuration steps to enable beacon discovery are listed below.
Enter Global configuration mode:
your product# configure terminalEnter Interface configuration mode:
your product(config)# int xl-ethernet 0/1Enable the beacon discovery:
your product(config-if)# set beacon discovery enableExit the interface configuration mode:
your product(config-if)# endView the ZTP global information for default switch:
your product# show ztp globals
ZTP Global Configurations:
Beacon Domain-ID is defaultDomain
Beacon Domain-ID Match is disabled
Use Beacon Rate is enabled
Beacon Advertisment is enabled
Beacon Advertisement Interval is 60 secs
Beacon discovery is enabled for Interface XL-ethernet 0/1
Beacon discovery is enabled for Interface XL-ethernet 0/2
Beacon discovery is enabled for Interface XL-ethernet 0/3
Beacon discovery is enabled for Interface XL-ethernet 0/4
Beacon discovery is enabled for Interface gigabitethernet 0/1
The CLI configuration steps to disable beacon discovery over the interface are listed below.
Enter Global configuration mode:
your product# configure terminalEnter Interface configuration mode:
your product(config)# int xl-ethernet 0/1Disable the beacon discovery:
your product(config-if)# set beacon discovery disableExit the interface configuration mode:
your product(config-if)# endView the ZTP global information for default switch:
your product# show ztp globals
ZTP Global Configurations:
Beacon Domain-ID is defaultDomain
Beacon Domain-ID Match is disabled
Use Beacon Rate is enabled
Beacon Advertisment is enabled
Beacon Advertisement Interval is 60 secs
Beacon discovery is disabled for Interface XL-ethernet 0/1
Beacon discovery is enabled for Interface XL-ethernet 0/2
Beacon discovery is enabled for Interface XL-ethernet 0/3
Beacon discovery is enabled for Interface XL-ethernet 0/4
Beacon discovery is enabled for Interface gigabitethernet 0/1
SNMP Configuration
The SNMP configuration steps to enable/disable the beacon discovery are listed below.
Enable the beacon discovery over interface 1 in switch default:
% snmp0 set {{ fsaccztpDiscoveryEnable.1 1}}
{ 1.3.6.1.4.1.2076.81.101.2.1.2.1 INTEGER 1}Disable the beacon discovery over interface 1 in switch default:
% snmp0 set {{ fsaccztpDiscoveryEnable.1 0}}
{ 1.3.6.1.4.1.2076.81.101.2.1.2.1 INTEGER 0}
Note: The last number in the OID object denotes the interface index.
© 2024 Cisco and/or its affiliates. All rights reserved.
For more information about trademarks, please visit: Cisco trademarks
For more information about legal terms, please visit: Cisco legal terms
For legal information about Accedian Skylight products, please visit: Accedian legal terms and tradmarks