Which command would you use to apply an access list to a router interface *?

Which command would you use to apply an access list to a router interface?

A. ip access-list 101 out

B. access-list ip 101 in

C. ip access-group 101 in

D. access-group ip 101 in

Answer: Option C

Solution[By Examveda Team]

To apply an access list, the proper command is ip access-group 101 in.

clear access-list ipv4

To clear IPv4 access list counters, use the clear access-list ipv4 command in EXEC mode.

clear access-list ipv4 access-list name [ sequence-number | hardware { ingress | egress}] [interface type interface-path-id] [ location node-id | sequence number ]

Syntax Description

access-list-name

Name of a particular IPv4 access list. The name cannot contain a spaces or quotation marks, but can include numbers.

sequence-number

[Optional] Specific sequence number with which counters are cleared for an access list. Range is 1 to 2147483644 .

hardware

Identifies the access list as an access group for an interface.

ingress

Specifies an inbound direction.

egress

Specifies an outbound direction.

interface

[Optional] Clears the interface statistics.

type

Interface type. For more information, use the question mark [?] online help function.

interface-path-id

Physical interface or virtual interface.

Note

Use the show interfaces command to see a list of all interfaces currently configured on the router.

For more information about the syntax for the router, use the question mark [?] online help function.

location node-id

[Optional] Clears hardware resource counters from the designated node. The node-id argument is entered in the rack/slot/module notation.

sequence number

[Optional] Clears counters for an access list with a specific sequence number. Range is 1 to 2147483644 .

Which command would you use to apply an access list to a router interface? Computer security

  • ip access-list 101 out
  • access-list ip 101 in
  • ip access-group 101 in
  • access-group ip 101 in
Answer: ip access-group 101 in
851 students attemted this question.
  • Bookmark
  • Add Comment
  • Share With Friends
  • Report

Video liên quan

Chủ Đề