12.2 IPv6 and Extended ACLs Flashcards
What are the two types of IPv6 ACLs
Router ACLs filter inbound and outbound traffic on layer 3 interfaces (e.g., routed ports, switch virtual interfaces (SVIs), etc.)
Port ACLs filter inbound traffic on layer 2 interfaces.
Router(config)#ipv6 access-list [name]
Creates an IPv6 ACL with the specified name and enters the IPv6 ACL configuration mode.
Router(config-ipv6-acl)#permit|deny [protocol] [source] [destination]
Router(config-ipv6-acl)#permit|deny [protocol] [source] [destination] eq [port]
Router(config-ipv6-acl)#permit|deny [protocol] [source] [destination] established
Configures an ACL entry in the IPv6 ACL.
protocol is the name or number of an IPv6 protocol, such as:
tcp
udp
icmp
source and destination can be either a single host, network, or any
The eq keyword and port argument specifies only packets on the given port number.
The established keyword indicates that traffic will be permitted only if the TCP ACK or reset (RST) bits are set, which indicate that the packet is a response to a request that originated from an internal host.
Router(config-if)#ipv6 traffic-filter [name] in|out
Applies the IPv6 ACL to an interface.
name is the name of the ACL that has been configured.
Use the in or out keyword to specify which direction to apply the rule.
Router(config-if)#ipv6 access-class [name] in|out
Applies the IPv6 ACL to a line.
name is the name of the ACL that has been configured.
Use the in or out keyword to specify which direction to apply the rule
Router#show ipv6 access-list
Displays the saved IPv6 access lists.
When do you use an inverse wildcard mask
used with IPv4 access control lists (ACLs) to identify which parts of an IP address are available for examination
Router(config)#ip access-list extended [name]
Creates a named extended ACL. The action statements go on separate lines.
Router(config)#access-list [number] permit icmp [source] [destination] [icmp type]
Configures extended ACL entries for ICMP packets.
Router(config)#access-list [number] deny ip any any log
Configures permit/deny for an informational logging message about the packet that matches the entry to be sent to the console.
Router(config-if)#ip access-group [name|number] in|out
Applies the ACL to an interface.
Router(config)#access-list [number] permit|deny [protocol] [source] [destination]
Router(config)#access-list [number] permit|deny [protocol] [source] [destination] eq [port]
Router(config)#access-list [number] permit|deny [protocol] [source] [destination] established
Router(config)#access-list [number] permit|deny [protocol] [source] [destination] range [min port range] [max port range]
Creates an extended ACL.