How To Attach An Ipv6 Snooping Policy To An Interface - 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

How to Attach an IPv6 Snooping Policy to an Interface

Beginning in privileged EXEC mode, follow these steps to attach an IPv6 Snooping policy on an interface or
VLAN:
SUMMARY STEPS
1. configure terminal
2. interface Interface_type stack/module/port
3. switchport
4. ipv6 snooping [attach-policy policy_name [ vlan {vlan_id | add vlan_ids | exceptvlan_ids | none |
remove vlan_ids}] | vlan {vlan_id | add vlan_ids | exceptvlan_ids | none | remove vlan_ids | all} ]
5. do show running-config
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
Switch# configure terminal
Step 2
interface Interface_type stack/module/port
Example:
Switch(config)# interface gigabitethernet
1/1/4
Step 3
switchport
Example:
Switch(config-if)# switchport
Step 4
ipv6 snooping [attach-policy policy_name [ vlan
{vlan_id | add vlan_ids | exceptvlan_ids | none |
remove vlan_ids}] | vlan {vlan_id | add vlan_ids
| exceptvlan_ids | none | remove vlan_ids | all} ] To attach the default policy to VLANs on the interface, use the ipv6
Example:
Switch(config-if)# ipv6 snooping
or
Purpose
Enters the global configuration mode.
Specifies an interface type and identifier; enters the interface
configuration mode.
Enters the Switchport mode.
Note
Attaches a custom ipv6 snooping policy to the interface or the specified
VLANs on the interface. To attach the default policy to the interface,
use the ipv6 snooping command without the attach-policy keyword.
snooping vlan command. The default policy is, security-level guard,
device-role node, protocol ndp and dhcp.
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
How to Configure an IPv6 Snooping Policy
To configure Layer 2 parameters, if the interface is in Layer
3 mode, you must enter the switchport interface configuration
command without any parameters to put the interface into
Layer 2 mode. This shuts down the interface and then
re-enables it, which might generate messages on the device
to which the interface is connected. When you put an interface
that is in Layer 3 mode into Layer 2 mode, the previous
configuration information related to the affected interface
might be lost, and the interface is returned to its default
configuration. The command prompt displays as (config-if)#
in Switchport configuration mode.
683

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents