Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

voice class uri - how to define subnet

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
Cisco Employee

voice class uri - how to define 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]

4 REPLIES
New Member

voice class uri - how to define subnet

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...

New Member

voice class uri - how to define subnet

Okay, i've found out that:

pattern 10.10.10

is enough to match /24 subnet.

Cisco Employee

voice class uri - how to define 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]

New Member

voice class uri - how to define subnet

Thank You very much Michael for your clarification.

1811
Views
0
Helpful
4
Replies
CreatePlease login to create content