cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
734
Views
5
Helpful
1
Replies

What to include in service template

RichardD2
Level 1
Level 1

If i have configuration on a device that needs to configure two GigabitEthernet interfaces, what is the best practice to configure my template. Do I cut/paste the entire XML for both interfaces into my template, or should I think of this as I would run the service template twice, and so the template need only include the configuration for 1 of the interfaces?

thanks

1 Accepted Solution

Accepted Solutions

vleijon
Cisco Employee
Cisco Employee
You would normally add a loop. Either you do a for loop inside the template, or outside of the template applying the template twice. I would recommend looping in the template if possible.

View solution in original post

1 Reply 1

vleijon
Cisco Employee
Cisco Employee
You would normally add a loop. Either you do a for loop inside the template, or outside of the template applying the template twice. I would recommend looping in the template if possible.