Cisco Systems WSC2960X48TSL configure terminal 2. cns template connect name, cli config-text, end

Models: WSC2960X24TSL C2960XSTACK WSC2960X24PDL WSC2960X24TSLL WSC2960X24PSL WSC2960X48TSL WSC2960X24TDL

1 112
Download 112 pages 36.97 Kb
Page 36
Image 36
1.configure terminal

Configuring Cisco IOS Configuration Engine

Enabling an Initial Configuration for Cisco IOS CNS Agent

SUMMARY STEPS

1.configure terminal

2.cns template connect name

3.cli config-text

4.Repeat Steps 2 to 3 to configure another CNS connect template.

5.exit

6.cns connect name [retries number] [retry-interval seconds] [sleep seconds] [timeout seconds]

7.discover {controller controller-typedlci [subinterface subinterface-number] interface [interface-type] line line-type}

8.template name [... name]

9.Repeat Steps 7 to 8 to specify more interface parameters and CNS connect templates in the CNS connect profile.

10.exit

11.hostname name

12.ip route network-number

13.cns id interface num {dns-reverse ipaddress mac-address} [event] [image]

14.cns id {hardware-serial hostname string string udi} [event] [image]

15.cns config initial {hostname ip-address}[port-number] [event] [no-persist] [page page] [source ip-address][syntax-check]

16.end

DETAILED STEPS

 

Command or Action

Purpose

Step 1

configure terminal

Enters the global configuration mode.

Example:

Switch# configure terminal

Step 2

cns template connect name

Enters CNS template connect configuration mode, and specifies the name

 

 

of the CNS connect template.

 

Example:

 

 

Switch(config)# cns template connect

 

 

template-dhcp

 

Step 3

cli config-text

Enters a command line for the CNS connect template. Repeat this step for

 

 

each command line in the template.

 

Example:

 

Switch(config-tmpl-conn)# cli ip address dhcp

Step 4 Repeat Steps 2 to 3 to configure another

CNS connect template.

 

Catalyst 2960-X Switch Network Management Configuration Guide, Cisco IOS Release 15.0(2)EX

24

OL-29044-01

Page 36
Image 36
Cisco Systems WSC2960X48TSL configure terminal 2. cns template connect name, cli config-text, exit, template name ... name