cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
794
Views
0
Helpful
1
Replies

Using Advanced Baseline Template to Push Change

drizvi
Level 1
Level 1

LMS 3.2.1

Can someone help me with the correct baseline template syntax to accomplish the requirement 2:

Requirement 1

• Check if the router is running H323: You can do it looking for the command “h323-gateway voip interface”. If that command is found on a router then it is an H323 voice gateway

• Configure the global command:

    voice class h323 1

     h225 timeout tcp establish 3

I have done this already.

Requirement 2

• Check for any “dial-peer voice XXXX voip” that has any of the following destination patterns:

session target ipv4:192.168.188.12

session target ipv4:192.168.188.13

session target ipv4:192.168.188.17

session target ipv4:10.10.188.20

session target ipv4:10.10.188.21

session target ipv4:10.10.188.23

session target ipv4:10.10.188.24

If a dial-peer has any of those targets then add the following command under that particular dial-peer :

     voice class h323 1

1 Accepted Solution

Accepted Solutions

Joe Clarke
Cisco Employee
Cisco Employee

The second template could be done like this:

Name: CheckDialPeer

IsPrereq: true

Submode: dial-peer voice [PEER] voip

Body:

+ session target [#ipv4:(192\.168\.188\.12|192\.168\.188\.13|192\.168\.118\.17|10\.10\.188\.20|10\.10\.188\.21|10\.10\.188\.23|10\.10\.188\.24)#]

Name: AddDPH323

Prereq: CheckDialPeer

Parent: CheckDialPeer

Body:

+ voice class h323 1

View solution in original post

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

The second template could be done like this:

Name: CheckDialPeer

IsPrereq: true

Submode: dial-peer voice [PEER] voip

Body:

+ session target [#ipv4:(192\.168\.188\.12|192\.168\.188\.13|192\.168\.118\.17|10\.10\.188\.20|10\.10\.188\.21|10\.10\.188\.23|10\.10\.188\.24)#]

Name: AddDPH323

Prereq: CheckDialPeer

Parent: CheckDialPeer

Body:

+ voice class h323 1

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: