Consolidated Platform Configuration Guide, Cisco Ios Release 15.2(4)E (Catalyst 2960-X Switches - Cisco Catalyst 2960 series Configuration Manual

Consolidated platform configuration guide, ios release 15.2(4)e
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

Configuring IPv6 ACLs
Applying an IPv6 ACL to an Interface
This section describes how to apply IPv6 ACLs to network interfaces. You can apply an ACL to outbound
or inbound traffic on Layer 3 interfaces, or to inbound traffic on Layer 2 interfaces.
Beginning in privileged EXEC mode, follow these steps to control access to an interface:
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
Switch# configure terminal
Step 2
interface interface_id
Example:
Switch# interface interface-id
Step 3
no switchport
Example:
Switch# no switchport
Step 4
ipv6 address ipv6_address
Example:
Switch# ipv6 address ipv6-address
Step 5
ipv6 traffic-filter access-list-name
Example:
Switch# ipv6 traffic-filter
access-list-name {in | out}
Step 6
end
Example:
Switch(config)# end
Step 7
show running-config
Step 8
copy running-config startup-config
Example:
copy running-config startup-config
Displaying IPv6 ACLs
You can display information about all configured access lists, all IPv6 access lists, or a specific access list by
using one or more of the privileged EXEC commands.

Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)

206
Purpose
Enters global configuration mode.
Identify a Layer 2 interface (for port ACLs) or Layer 3 interface
(for router ACLs) on which to apply an access list, and enter
interface configuration mode.
If applying a router ACL, change the interface from Layer 2 mode
(the default) to Layer 3 mode.
Configure an IPv6 address on a Layer 3 interface (for router ACLs).
This command is not required on Layer 2 interfaces or if the
interface has already been configured with an explicit IPv6 address.
Apply the access list to incoming or outgoing traffic on the
interface. The out keyword is not supported for Layer 2 interfaces
(port ACLs).
Returns to privileged EXEC mode. Alternatively, you can also
press Ctrl-Z to exit global configuration mode.
Verify the access list configuration.
(Optional) Saves your entries in the configuration file.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents