cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
556
Views
0
Helpful
1
Replies
Highlighted
Beginner

Using Advanced Baseline Template to Push Change

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
Highlighted
Hall of Fame 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
Highlighted
Hall of Fame 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

Content for Community-Ad