788
Configuring IPv6 ACLs
Configuration Example
Configuration Example
The following example:
Creates an IPv6 ACL named CISCO.
Defines one deny entry that denies all packets that have a destination TCP port number greater than 5000 and a
second deny entry that denies packets that have a source UDP port number less than 5000. The second deny entry
also logs all matches to the console.
Defines a permit entry to permit all ICMP packets and another permit entry that allows all other traffic. The second
permit entry is necessary because an implicit deny-all condition is at the end of each IPv6 access list.
Applies the access list CISCO to outbound traffic on a Layer 3 interface.
Switch(config)#
ipv6 access-list CISCO
Switch(config-ipv6-acl)#
deny tcp any any gt 5000
Switch config-ipv6-acl)#
deny ::/0 lt 5000 ::/0 log
Switch(config-ipv6-acl)#
permit icmp any any
Switch(config-ipv6-acl)#
permit any any
Switch(config-ipv6-acl)#
exit
Switch(config)#
interface gigabitethernet 0/3
Switch(config-if)#
no switchport
Switch(config-if)#
ipv6 address 2001::/64 eui-64
Switch(config-if)#
ipv6 traffic-filter CISCO out
Command
Purpose
show access-lists
Display all access lists configured on the switch.
show ipv6 access-list
[
access-list-name
]
Display all configured IPv6 access list or the access list specified by
name.
Summary of Contents for IE 4000
Page 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Page 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Page 108: ...104 Configuring Switch Clusters Additional References ...
Page 128: ...124 Performing Switch Administration Additional References ...
Page 130: ...126 Configuring PTP ...
Page 140: ...136 Configuring CIP Additional References ...
Page 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Page 192: ...188 Configuring Switch Based Authentication Additional References ...
Page 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Page 298: ...294 Configuring VLANs Additional References ...
Page 336: ...332 Configuring STP Additional References ...
Page 408: ...404 Configuring DHCP Additional References ...
Page 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Page 490: ...486 Configuring SPAN and RSPAN Additional References ...
Page 502: ...498 Configuring Layer 2 NAT ...
Page 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Page 930: ...926 Configuring IP Unicast Routing Related Documents ...
Page 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Page 978: ...974 Dying Gasp ...
Page 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Page 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Page 996: ...992 Ethernet CFM ...
Page 1066: ...1062 Using an SD Card SD Card Alarms ...