Refer to the exhibit.
A PSTN caller initiates an inbound call. Which two dial peers can be selected as inbound dial peers?
(Choose two.)
A.
dial-peer voice 100 pots
answer-address [2-9]..[2-9]…$
voice-port 0/0/0:23
B.
dial-peer voice 200 pots
destination-pattern [2-9]..[2-9]..[2-9]…$
voice-port 0/1/0:15
C.
dial-peer voice 300 pots
incoming called-number 704[2-9]…$
voice-port 0/1/0:15
D.
dial-peer voice 400 pots
answer-address 672[2-9]…$
voice-port 0/0/0:15
E.
dial-peer voice 500 pots
incoming called-number 6..[2345689]…$
voice-port 0/1/0:15
Explanation:
$ means “end of digits” and is used for a more specific match. If you have two dial-peers with the same pattern and one with $ and the other without $, then call routing logic will always match the one with $, because that is more specific. Even if you give a lower preference to the dial-peer with $, still it will be matched because by default the dial-plan hunting algorithm is more specific match first and then preference.
dial-peer voice 10 pots
destination-pattern 1000
port 1/0/0
dial-peer voice 11 pots
destination-pattern 1000$
port 1/0/0
preference 5
In this case, always dial-peer 11 will be used to route calls to 1000, even though it has a lower preference.
Dial Peer Attribute
Description
Call Setup Element (See Table 2)
gwy(config-dial-peer)# incoming called-number DNIS_string This dial peer command defines the called number destination or dialed number identification service (DNIS) string. When properly configured, this dial peer command uses the called number to match the incoming call leg to an inbound dial peer. Called number (DNIS)
gwy(config-dial-peer)# answer-address ANI_string This dial peer command defines the originating calling number or automatic number identification (ANI) string. When properly configured, this dial peer command uses the calling number to match the incoming call leg to an inbound dial peer. Calling Number (ANI)
gwy(config-dial-peer)# destination-pattern string When inbound call legs are matched, this command uses the calling number (originating or ANI string) to match the incoming call leg to an inbound dial peer.
Note: For outbound dial peers, this command is matched against the called number or DNIS strings.
Calling Number (ANI) for inbound or the Called number (DNIS) strings for outbound
Can anyone explain why answer “E” is correct?
In this dial-peer neither the called-number nor the port are matching.
The correct answers are B as the destination number matches the calling number and D as the port matches the incoming port.