December 2006
Intermediate to advanced
1188 pages
72h 8m
English
You want to filter IPv6 traffic using access-lists.
Cisco supports named access-lists for IPv6:
Router1#configure terminalEnter configuration commands, one per line. End with CNTL/Z. Router1(config)#ipv6 access-listRouter1(config-ipv6-acl)#EXAMPLESpermit ipv6AAAA:5::/64anyRouter1(config-ipv6-acl)#permit ipv6 hostAAAA:5::FE:1anyRouter1(config-ipv6-acl)#permit tcp any any eq telnet establishedRouter1(config-ipv6-acl)#deny tcp any any eq telnet synRouter1(config-ipv6-acl)#sequence55permit udp any any eq snmpRouter1(config-ipv6-acl)#remarkRouter1(config-ipv6-acl)#this is a commentsequence66remarkRouter1(config-ipv6-acl)#this comment has a sequence numberpermit icmp any any reflectRouter1(config-ipv6-acl)#ICMP-REFLECTdeny ipv6 any host AAAA:6::1 logRouter1(config-ipv6-acl)#deny ipv6 any any log-inputRouter1(config-ipv6-acl)#exitRouter1(config)#interfaceRouter1(config-if)#FastEthernet0/0ipv6 traffic-filterEXAMPLESinRouter1(config-if)#exitRouter1(config)#endRouter1#
The ACL shown in this example isn’t particularly useful, but it does show many of the features available with IPv6 access-lists. There are only named IPv6 access-lists, as numbered lists do not exist. However, as we previously saw in Recipes 19.11 and 19.15, this is not a drawback. Anything you can do with numbered access-lists, you can do with named access-lists, and several features such as reflexive access-lists and the ability to edit individual lines ...
Read now
Unlock full access