exam questions

Exam 350-401 All Questions

View all questions & answers for the 350-401 exam

Exam 350-401 topic 1 question 363 discussion

Actual exam question from Cisco's 350-401
Question #: 363
Topic #: 1
[All 350-401 Questions]

A network engineer is configuring OSPF on a router. The engineer wants to prevent having a route to 172.16.0.0/16 learned via OSPF in the routing table and configures a prefix list using the command ip prefix-list OFFICE seq 5 deny 172.16.0.0/16. Which two additional configuration commands must be applied to accomplish the goal? (Choose two.)

  • A. ip prefix-list OFFICE seq 10 permit 0.0.0.0/0 le 32
  • B. distribute-list prefix OFFICE in under the OSPF process
  • C. distribute-list OFFICE in under the OSPF process
  • D. distribute-list OFFICE out under the OSPF process
  • E. ip prefix-list OFFICE seq 10 permit 0.0.0.0/0 ge 32
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
[Removed]
Highly Voted 2 years ago
Selected Answer: AB
when referencing a prefix-list, you need to specify that its a prefix you are referencing, without the keyword prefix, you'll be referencing an ACL
upvoted 8 times
HarwinderSekhon
2 years ago
Yes. ACL vs Prefix.
upvoted 1 times
...
...
TSKARAN
Highly Voted 2 years, 6 months ago
CORRECT Answer: AB vIOS-R1(config)#router ospf 10 vIOS-R1(config-router)#dis? discard-route distance distribute-list vIOS-R1(config-router)#distr vIOS-R1(config-router)#distribute-list ? <1-199> IP access list number <1300-2699> IP expanded access list number WORD Access-list name gateway Filtering incoming updates based on gateway prefix Filter prefixes in routing updates route-map Filter prefixes based on the route-map vIOS-R1(config-router)#distribute-list pre vIOS-R1(config-router)#distribute-list prefix ? WORD Name of an IP prefix-list vIOS-R1(config-router)#distribute-list prefix OFFICE ? gateway Filtering incoming updates based on gateway in Filter incoming routing updates out Filter outgoing routing updates vIOS-R1(config-router)#distribute-list prefix OFFICE
upvoted 7 times
...
andrpercud
Most Recent 8 months, 3 weeks ago
Selected Answer: AB
To prevent the route to 172.16.0.0/16 from being learned via OSPF, the engineer needs to configure a prefix list and apply it properly in the OSPF process. The correct additional configuration commands are: Correct Options: B. distribute-list prefix OFFICE in under the OSPF process Explanation: This command applies the prefix list to incoming OSPF updates, filtering out the denied route (172.16.0.0/16) from being accepted into the OSPF routing table. A. ip prefix-list OFFICE seq 10 permit 0.0.0.0/0 le 32 Explanation: This command allows all other routes by permitting any prefix length up to 32 bits, ensuring that the prefix list is valid and does not block all traffic.
upvoted 2 times
Marlboro2001
1 month, 3 weeks ago
distribute-list prefix OFFICE in .....prevents the route from entering the local routing table (into RIB).
upvoted 1 times
...
...
djedeen
1 year, 10 months ago
Selected Answer: AB
permit 0.0.0.0/0 le 32 -> all networks (subnet mask of /32 or smaller, e.g. everything).
upvoted 2 times
...
nikramor
2 years, 1 month ago
Selected Answer: AB
Given answer is correct
upvoted 1 times
...
bendarkel
2 years, 4 months ago
Selected Answer: AB
Correct answers: A and B
upvoted 2 times
...
kewokil120
2 years, 6 months ago
Selected Answer: AB
I like ab
upvoted 3 times
...
nushadu
2 years, 6 months ago
Selected Answer: AB
pay attention to 172.16.13.0/24 & 172.16.113.0/24 netw (they'll disappear in the end) sw1(config-router)#do s run | s router ospf 1 router ospf 1 passive-interface default no passive-interface Vlan10 network 0.0.0.0 255.255.255.255 area 0 sw1(config-router)# sw1(config-router)#do s ip rou ospf | b Gate Gateway of last resort is 192.168.255.1 to network 0.0.0.0 3.0.0.0/32 is subnetted, 1 subnets O 3.3.3.3 [110/2] via 192.168.255.3, 00:00:17, Vlan10 172.16.0.0/24 is subnetted, 2 subnets O 172.16.13.0 [110/11] via 192.168.255.3, 00:00:17, Vlan10 <<<<<<<<<<<<<< remove it O 172.16.113.0 [110/11] via 192.168.255.3, 00:00:17, Vlan10 <<<<<<<<<<<<<<< remove it sw1(config-router)# sw1(config-router)#do s runn | s pref ip prefix-list PL_1 seq 10 deny 172.16.13.0/24 ip prefix-list PL_1 seq 11 deny 172.16.113.0/24 ip prefix-list PL_1 seq 20 permit 0.0.0.0/0 le 32 sw1(config-router)#
upvoted 1 times
nushadu
2 years, 6 months ago
sw1(config-router)#distribute-list prefix PL_1 in sw1(config-router)# sw1(config-router)#do s ip rou ospf | b Gate Gateway of last resort is 192.168.255.1 to network 0.0.0.0 3.0.0.0/32 is subnetted, 1 subnets O 3.3.3.3 [110/2] via 192.168.255.3, 00:00:03, Vlan10 sw1(config-router)# ### rollback sw1(config-router)# sw1(config-router)#no distribute-list prefix PL_1 in sw1(config-router)# sw1(config-router)#do s ip rou ospf | b Gate Gateway of last resort is 192.168.255.1 to network 0.0.0.0 3.0.0.0/32 is subnetted, 1 subnets O 3.3.3.3 [110/2] via 192.168.255.3, 00:00:02, Vlan10 172.16.0.0/24 is subnetted, 2 subnets O 172.16.13.0 [110/11] via 192.168.255.3, 00:00:02, Vlan10 O 172.16.113.0 [110/11] via 192.168.255.3, 00:00:02, Vlan10 sw1(config-router)#
upvoted 1 times
...
...
Xerath
2 years, 6 months ago
Selected Answer: AB
A & B are 100% correct.
upvoted 1 times
...
jucevabe
2 years, 10 months ago
AyB tested in GNS3
upvoted 2 times
...
jucevabe
2 years, 10 months ago
R1(config-router)#distri R1(config-router)#distribute-list ? <1-199> IP access list number <1300-2699> IP expanded access list number WORD Access-list name gateway Filtering incoming updates based on gateway prefix Filter prefixes in routing updates route-map Filter prefixes based on the route-map R1(config-router)#distribute-list pref R1(config-router)#distribute-list prefix OFFICE % Incomplete command. R1(config-router)#distribute-list prefix OFFICE ? gateway Filtering incoming updates based on gateway in Filter incoming routing updates out Filter outgoing routing updates R1(config-router)#distribute-list prefix OFFICE in R1(config-router)# R1# *Sep 15 15:23:26.891: %SYS-5-CONFIG_I: Configured from console by console R1# EN GNS3 router 7200
upvoted 1 times
...
greencafe24
2 years, 10 months ago
Selected Answer: AC
Wrong answer. AC is correct. Command B doesn't exist. Router(config)#router ospf 1 Router(config-router)#distribute-list test ? in Filter incoming routing updates out Filter outgoing routing updates
upvoted 2 times
greencafe24
2 years, 10 months ago
Forget what I said, I don't know how to remove my comment. AB is correct.
upvoted 6 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...