Cisco Configuring IP Source Guard User Guide
Document viewer
6 Pages · 118 KB · Cisco official PDF
Troubleshooting & error codes
Extracted diagnostic sections from the manufacturer manual
Default Settings for IP Source Guard
This table lists the default settings for IP Source Guard parameters.
IP Source Guard
No static or default IP source entries exist by default.
Configuring IP Source Guard
Enabling or Disabling IP Source Guard on a Layer 2 Interface You can enable or disable IP Source Guard on a Layer 2 interface. By default, IP Source Guard is disabled on all interfaces.
Make sure that the DHCP feature and DHCP snooping are enabled.
Make sure that the ACL TCAM region size for IPSG (ipsg) is configured.
Step 1
Enters interface configuration mode for the specified interface.
Step 2
switch(config)# interface ethernet 2/3 switch(config-if)# Configuring IP Source Guard Configuring IP Source Guard Default Settings for IP Source Guard Purpose Command or Action Enables IP Source Guard on the interface. The no form of this command disables IP Source Guard on the interface.
Example: switch(config-if)# ip verify source dhcp-snooping vlan Step 3 Displays the running configuration for DHCP snooping, including the IP Source Guard configuration.
Step 4
Copies the running configuration to the startup configuration.
Step 5
switch(config-if)# copy running-config startup-config Adding or Removing a Static IP Source Entry You can add or remove a static IP source entry on the device. By default, there are no static IP source entries.
Creates a static IP source entry for the current interface. The no form of this command removes the static IP source entry.
Manual overview & contents
Cisco · 6 PagesOfficial 6-page Cisco documentation (118 KB PDF). Key sections include About IP Source Guard, Prerequisites for IP Source Guard, Guidelines and Limitations for IP Source Guard, Default Settings for IP Source Guard, Configuring IP Source Guard for Trunk Ports.
This chapter describes how to configure IP Source Guard on Cisco NX-OS devices. IP Source Guard is a per-interface traffic filter that permits IP traffic only when the IP address and MAC address of each packet matches one of two sources of IP and MAC address bindings: - Entries in the Dynamic Host Configuration Protocol (DHCP) snooping binding table - Static IP source entries that you configure Filtering on trusted IP and MAC address bindings helps prevent spoofing attacks, in which an attacker uses the IP address of a valid host to gain unauthorized network access.
Sections inside this manual
Page numbers for quick lookup in the PDF- About IP Source Guardp. 1
- Prerequisites for IP Source Guardp. 2
- Guidelines and Limitations for IP Source Guardp. 2
- Default Settings for IP Source Guardp. 3
- Configuring IP Source Guard for Trunk Portsp. 5
- Displaying IP Source Guard Bindingsp. 5
- Clearing IP Source Guard Statisticsp. 6
- Configuration Example for IP Source Guardp. 6
- Additional Referencesp. 6
- Related Documentsp. 6
Extracted manual text
This chapter includes the following sections:
You can enable IP Source Guard on Layer 2 interfaces that are not trusted by DHCP snooping. IP Source Guard supports interfaces that are configured to operate in access mode and trunk mode. When you initially enable IP Source Guard, all inbound IP traffic on the interface is blocked except for the following:
Configuring IP Source Guard
The device drops IP packets when the IP address and MAC address of the packet do not have a binding table entry or a static IP source entry. For example, assume that the show ip dhcp snooping binding command displays the following binding table entry:
MacAddress — Ethernet2/3
If the device receives an IP packet with an IP address of 10.5.5.2, IP Source Guard forwards the packet only if the MAC address of the packet is 00:02:B3:3F:3B:99.
Prerequisites for IP Source Guard
By default the ipsg region size is zero. You need to allocate enough entries to this region for storing and enforcing the SMAC-IP bindings.
Frequently asked questions
What topics are covered in the Cisco Configuring IP Source Guard User Guide?
This 6-page manual covers: About IP Source Guard, Prerequisites for IP Source Guard, Guidelines and Limitations for IP Source Guard, Default Settings for IP Source Guard, Displaying IP Source Guard Bindings, Clearing IP Source Guard Statistics, Configuration Example for IP Source Guard, Additional References.
Does this manual include troubleshooting or error codes?
Yes, troubleshooting and fault information (Default Settings for IP Source Guard) is included inside the manual.
More manuals from Cisco
View all →CISCO Configuring Umbrella Integration User Guide
View or download the CISCO Configuring Umbrella Integration User Guide (18-page PDF). Covers Configuring Cisco Umbrella Integration.
CISCO Configuring Security Group Tag Mapping User Guide
View or download the CISCO Configuring Security Group Tag Mapping User Guide (14-page PDF). Covers Restrictions for SGT Mapping.
CISCO Nexus 7000 Series Switches Configuring PTP User Guide
View or download the CISCO Nexus 7000 Series Switches Configuring PTP User Guide (14-page PDF). Covers Finding Feature Information, About PTP.
Cisco Content Hub Configuring sFlow User Guide
View or download the Cisco Content Hub Configuring sFlow User Guide (10-page PDF). Covers Information About sFlow, Prerequisites.
CISCO Nexus 9000 Series Configuring Static Routing User Guide
View or download the CISCO Nexus 9000 Series Configuring Static Routing User Guide (8-page PDF). Covers 12, About Static Routing, Administrative Distance.
CISCO Configuring SSH File Transfer Protocol Software User Guide
View or download the CISCO Configuring SSH File Transfer Protocol Software User Guide (6-page PDF). Covers Prerequisites for SSH File Transfer Protocol.