HP
HPE6-A73 · Question #77
An administrator wants to drop traffic from VLAN 6 (10.1.6.0/24) to VLAN 5 (10.1.5.0/24), but allow all other traffic. What is correct configuration to accomplish this?
The correct answer is C. access-list ip VLANS 10 deny ip 10.1.6.0/24 10.1.5.0/24 20 permit ip any any exit interface vlan 5 apply access-list ip VLANS in exit. See the full explanation below for the reasoning.
Question
An administrator wants to drop traffic from VLAN 6 (10.1.6.0/24) to VLAN 5 (10.1.5.0/24), but allow all other traffic. What is correct configuration to accomplish this?
Options
- Aclass ip VLANS 10 match ip 10.1.6.0/24 10.1.5.0/24 exit policy VLANS 10 class ip VLANS action drop exit interface vlan 5 apply access-list ip VLAN5 in
- Baccess-list ip VLAN5 10 permit ip 10.1.6.0/0.0.255 10.1.5.0/0.0.255 20 permit ip any any exit interface vlan 5 apply access-list ip VLANS in exit
- Caccess-list ip VLANS 10 deny ip 10.1.6.0/24 10.1.5.0/24 20 permit ip any any exit interface vlan 5 apply access-list ip VLANS in exit
- Dclass ip VLANS 10 match ip 10.1.6.0/24 10.1.5.0/24 exit policy VLANS 10 class ip VLANS action drop exit vlan 5 apply policy VLAN5 in
How the community answered
(19 responses)- A5% (1)
- B11% (2)
- C79% (15)
- D5% (1)
Community Discussion
No community discussion yet for this question.