preference keyword on PRI trunk group

Answered Question
Mar 24th, 2010

How is the preference # interpreted ?  Which PRI would be selected, a preference of 1, or a preference of 2 ?

thanks

I have this problem too.
0 votes
Correct Answer by William Bell about 6 years 10 months ago

Preference values with lower numbers are more preferred.  So a preference of 1 is more preferred than a preference of 64 (lowest).  If you do not specify a preference, the trunk is assigned a preference value of 65.  Which basically means that this particular interface is used only after other interfaces are saturated.  Now, if trunks have an equal preference then the trunk that was configured first will be used first.  Which could lead to interesting behaviors on a reboot.

As an example of using preference:

trunkgroup mypritrunkgroup

!

voice-port 0/1/0:23

<..snip..>

trunk-group mypritrunkgroup 1

!

voice-port 0/0/0:23

<..snip..>

trunk-group mypritrunkgroup 2

!

All other things being equal, if you have a pots dial-peer pointing to mypritrunkgroup then calls will be sent to 0/1/0:23 first and then roll over to 0/0/0:23.

HTH.

Regards,
Bill

Please remember to rate helpful posts.

Correct Answer by Paolo Bevilacqua about 6 years 10 months ago

Preference works from lower number up.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
William Bell Wed, 03/24/2010 - 12:51

Preference values with lower numbers are more preferred.  So a preference of 1 is more preferred than a preference of 64 (lowest).  If you do not specify a preference, the trunk is assigned a preference value of 65.  Which basically means that this particular interface is used only after other interfaces are saturated.  Now, if trunks have an equal preference then the trunk that was configured first will be used first.  Which could lead to interesting behaviors on a reboot.

As an example of using preference:

trunkgroup mypritrunkgroup

!

voice-port 0/1/0:23

<..snip..>

trunk-group mypritrunkgroup 1

!

voice-port 0/0/0:23

<..snip..>

trunk-group mypritrunkgroup 2

!

All other things being equal, if you have a pots dial-peer pointing to mypritrunkgroup then calls will be sent to 0/1/0:23 first and then roll over to 0/0/0:23.

HTH.

Regards,
Bill

Please remember to rate helpful posts.

balitewiczp Fri, 03/26/2010 - 14:09

Thank you very much for the reply.  I have the preference # set, and it is selecting the correct order of the lines,

however, its starting from channel 1 rather than 23.  The serial interface command isdn bchan-selection-order, does not seem to have

any effect.  Perhaps it only applies to individual pri's.

Actions

This Discussion