You issue the following commands on a CME router:
Dial-peer voice 1 pots
Destination-pattern 9….
Forward-digits 3
prefix 9
port 1/0/0
Which of the following digits will be forwarded to the PSTN when a caller dials 94267? (Select the best answer.)
A.
426
B.
942
C.
4267
D.
9267
E.
94267
Explanation:
The following command set issued on a Cisco Unified Communications Manager Express (CME) router will
forward the digits 9267 to the public switched telephone network (PSTN) when a caller dials 94267:
Dial-peer voice 1 pots
Destination-pattern 9….
Forward-digits 3
prefix 9
port 1/0/0
The dialpeer voice command is used to define how calls are routed to destination endpoints on either the PSTN
or a Voice over IP (VoIP) network. To define call routing for the PSTN, you should issue the dialpeer voice
command with the pots keyword.
The destinationpattern command is used to match both inbound and outbound dial peers. The sequence of
dialed digits that will be matched for a dial peer can contain the digits 0 through 9, the asterisk (*), and the
pound sign (#). In addition, you can use a period (.) as a wildcard symbol to refine the dialing pattern or to
match multiple dial strings for a single dial peer. The command set in this scenario configures a dial peer on a
CME router to match fivedigit patterns beginning with 9. By default, CME only forwards digits matched by
wildcards in a destination pattern, not digits that are explicitly defined in the destination pattern. Therefore, the
destinationpattern 9…. command configures CME to forward the digits 4267 in the destination pattern
when a user dials 94267. However, theforwarddigits 3 and prefix 9 commands will modify the digits that are
forwarded to the PSTN.The forwarddigits command configures a dial peer to forward the rightmost number of digits matched by the
destination pattern, even if the digits are explicitly matched. The number of digits forwarded by CME depends
on the value configured in the forwarddigits command. In this scenario, the forwarddigits 3 command
configures CME to forward only the rightmost three digits, which are 267, of the dialed string. However, the
prefix 9 command will modify the digits that are forwarded to the PSTN.
The prefix command is used to add one or more digits to the front of the dial string before the dial string is
forwarded to the destination network. Issuing the prefix 9 command in this scenario will add the digit 9 to the
front of the dial string. Therefore, the dial string 9267 will be forwarded to the PSTN.
Issuing the forwarddigits implicit command or the no forwarddigits command configures a dial peer to perform
its default behavior of stripping digits that are explicitly matched in the destination pattern. Issuing the
forwarddigits all command configures a dial peer to forward every digit that matches the destination pattern,
even if the digits are explicitly matched.
The router will not forward the digits 94267 when a caller dials 94267. Any of the following command sets will
configure the router to forward the digits 94267 to the PSTN when a caller dials 94267:
dialpeer voice 1 pots
destinationpattern …..
port 1/0/0
dialpeer voice 1 pots
destinationpattern 9….
prefix 9
port 1/0/0
dialpeer voice 1 pots
destinationpattern 9….
forwarddigits all
port 1/0/0
The router will not forward the digits 4267 when a caller dials 94267. The following command set will configure
the router to forward the digits 4267 to the PSTN when a caller dials 94267:
dialpeer voice 1 pots
destinationpattern 9….
port 1/0/0
The router will not forward the digits 942 to the PSTN when a caller dials 94267. The following command set
will configure the router to forward the digits 942 to the PSTN when a caller dials 94267:
dialpeer voice 1 pots
destinationpattern 94267
prefix 942 port 1/0/0
The router will not forward the digits 426 to the PSTN when a caller dials 94267. The following command set
will configure the router to forward the digits 426 to the PSTN when a caller dials 94267:
dialpeer voice 1 pots
destinationpattern 9…7
port 1/0/0
The command set above explicitly defines the digits 9 and 7 in the destination pattern. Because the
forwarddigits command has not been issued and because no prefix command has been issued, the dialed
digits that match the three wildcards in the destination pattern string will be forwarded to the PSTN.https://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/14074-in-dial-peer-match.html