CLI Reference Guide-R04

Table Of Contents
Chapter 9
| General Security Measures
IPv6 Source Guard
– 359 –
Default Setting
No configured entries
Command Mode
Global Configuration
Command Usage
Table entries include an associated MAC address, IPv6 global unicast address,
entry type (Static-IPv6-SG-Binding, Dynamic-ND-Snooping, Dynamic-DHCPv6-
Snooping), VLAN identifier, and port identifier.
Traffic filtering is based only on the source IPv6 address, VLAN ID, and port
number.
All static entries are configured with an infinite lease time, which is indicated
with a value of zero by the show ipv6 source-guard command.
When source guard is enabled, traffic is filtered based upon dynamic entries
learned via ND snooping, DHCPv6 snooping, or static addresses configured in
the source guard binding table with this command.
An entry with same MAC address and a different VLAN ID cannot be added to
the binding table.
Static bindings are processed as follows:
If there is no entry with same and MAC address and IPv6 address, a new
entry is added to binding table using static IPv6 source guard binding.
If there is an entry with same MAC address and IPv6 address, and the type
of entry is static IPv6 source guard binding, then the new entry will replace
the old one.
If there is an entry with same MAC address and IPv6 address, and the type
of the entry is either a dynamic ND snooping binding or DHCPv6 snooping
binding, then the new entry will replace the old one and the entry type will
be changed to static IPv6 source guard binding.
Only unicast addresses are accepted for static bindings.
Example
This example configures a static source-guard binding on port 5.
Console(config)#ipv6 source-guard binding 00-ab-11-cd-23-45 vlan 1 2001::1
interface ethernet 1/5
Console(config)#
Related Commands
ipv6 source-guard (360)