cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3336
Views
5
Helpful
4
Replies

voice class uri - how to define subnet

Maciej Bylica
Level 1
Level 1

Hi,

Does anyone know if there is a way to define IP subnet with "voice class uri" command instead of just one host?

I would like to use it as incoming uri XXX inside dial-peer.

Thanks in advance

1 Accepted Solution

Accepted Solutions

Hi Maciej

There is a subtle difference between host 10.10.10 and pattern 10.10.10

The pattern will match the entire URI, ie jeff10.10.10@192.168.0.1 will match.

To match a subnet, you can use

host 10.10.10 (which would also match 14.10.10.10)

or more specifically

host 10.10.10.[1-255]

View solution in original post

4 Replies 4

Maciej Bylica
Level 1
Level 1

Cisco(config-voice-uri-class)#host ipv4:10.10.10.[0-255]

Incorrect format for Host. Valid formats are:

        ipv4:[0-255].[0-255].[0-255].[0-255],

        ipv6:[X:X:X:X::X],

        dns:host.domain

Any advice please...

Okay, i've found out that:

pattern 10.10.10

is enough to match /24 subnet.

Hi Maciej

There is a subtle difference between host 10.10.10 and pattern 10.10.10

The pattern will match the entire URI, ie jeff10.10.10@192.168.0.1 will match.

To match a subnet, you can use

host 10.10.10 (which would also match 14.10.10.10)

or more specifically

host 10.10.10.[1-255]

Thank You very much Michael for your clarification.