IP Addressing: DHCP Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 920 Series) FirstPublished:2014-07-29 LastModified:2014-11-22 AmericasHeadquarters CiscoSystems,Inc. 170WestTasmanDrive SanJose,CA95134-1706 USA http://www.cisco.com Tel:408526-4000 800553-NETS(6387) Fax:408527-0883 ©2014–2019CiscoSystems,Inc.Allrightsreserved. CONTEN TS CHAPTER 1 DHCPOverview 1 InformationAboutDHCP 1 DHCPOverview 1 BenefitsofUsingDHCP 2 DHCPServerRelayAgentandClientOperation 2 DHCPDatabase 3 DHCPAttributeInheritance 3 DHCPOptionsandSuboptions 4 DHCPServerOn-DemandAddressPoolManagementOverview 5 AdditionalReferencesforDHCPOverview 5 TechnicalAssistance 6 Glossary 7 CHAPTER 2 ConfiguringtheCiscoIOSXEDHCPServer 9 PrerequisitesforConfiguringtheDHCPServer 9 InformationAbouttheCiscoIOSXEDHCPServer 10 OverviewoftheDHCPServer 10 DatabaseAgents 10 AddressConflicts 10 DHCPAddressPoolConventions 10 DHCPAddressPoolSelection 10 AddressBindings 11 PingPacketSettings 11 DHCPAttributeInheritance 11 DHCPServerAddressAllocationUsingOption82 12 DHCPAddressAllocationUsingOption82FeatureDesign 13 IPAddressing:DHCPConfigurationGuide,CiscoIOSXERelease3S(CiscoASR920Series) iii Contents UsageScenarioforDHCPAddressAllocationUsingOption82 13 DHCPClassCapability 14 HowtoConfiguretheCiscoIOSXEDHCPServer 15 ConfiguringaDHCPDatabaseAgentorDisablingConflictLogging 15 ExcludingIPAddresses 16 ConfiguringDHCPAddressPools 17 ConfiguringaDHCPAddressPool 17 ConfiguringaDHCPAddressPoolwithSecondarySubnets 21 TroubleshootingTips 25 VerifyingtheDHCPAddressPoolConfiguration 26 ConfiguringManualBindings 27 TroubleshootingTips 29 ConfiguringDHCPStaticMapping 30 ConfiguringtheDHCPServertoReadaStaticMappingTextFile 31 CustomizingDHCPServerOperation 33 ConfiguringaRemoteDevicetoImportDHCPServerOptionsfromaCentralDHCPServer 35 ConfiguringtheCentralDHCPServertoUpdateDHCPOptions 35 ConfiguringtheRemoteDevicetoImportDHCPOptions 36 ConfiguringDHCPAddressAllocationUsingOption82 37 RestrictionsforDHCPAddressAllocationUsingOption82 37 EnablingOption82forDHCPAddressAllocation 38 TroubleshootingTips 38 DefiningtheDHCPClassandRelayAgentInformationPatterns 38 TroubleshootingTips 40 DefiningtheDHCPAddressPool 40 ConfiguringaStaticRoutewiththeNext-HopDynamicallyObtainedThroughDHCP 41 ClearingDHCPServerVariables 42 ConfigurationExamplesfortheCiscoIOSXEDHCPServer 43 Example:ConfiguringtheDHCPDatabaseAgent 43 Example:ExcludingIPAddresses 43 Example:ConfiguringDHCPAddressPools 44 Example:ConfiguringaDHCPAddressPoolwithMultipleDisjointSubnets 45 ConfiguringManualBindingsExample 47 Example:ConfiguringStaticMapping 47 IPAddressing:DHCPConfigurationGuide,CiscoIOSXERelease3S(CiscoASR920Series) iv Contents ImportingDHCPOptionsExample 48 ConfiguringDHCPAddressAllocationUsingOption82Example 49 ConfiguringaStaticRoutewiththeNext-HopDynamicallyObtainedThroughDHCPExample 49 AdditionalReferences 50 FeatureInformationfortheCiscoIOSXEDHCPServer 51 CHAPTER 3 ConfiguringtheCiscoIOSXEDHCPClient 53 FeatureInformationfortheCiscoIOSXEDHCPClient 53 InformationAbouttheDHCPClient 54 DHCPClientOperation 54 DHCPClientOverview 55 HowtoConfiguretheDHCPClient 56 ConfiguringtheDHCPClient 56 TroubleshootingTips 57 ConfigureAdministrativeDistance 57 ConfigurationExamplesfortheDHCPClient 58 ConfiguringtheDHCPClientExample 58 CustomizingtheDHCPClientConfigurationExample 58 Example:ConfiguringtheDHCPClientinUnicastMode 59 AdditionalReferences 60 TechnicalAssistance 61 CHAPTER 4 ImplementingDHCPforIPv6 63 DHCPv6PrefixDelegation 63 ConfiguringNodesWithoutPrefixDelegation 63 ClientandServerIdentification 64 RapidCommit 64 DHCPv6ClientandRelayFunctions 64 ClientFunction 64 DHCPv6RelayAgent 65 DHCPv6RelaySSOandISSU 66 HowtoImplementDHCPforIPv6 68 ConfiguringtheDHCPv6ServerFunction 68 ConfiguringtheDHCPv6ConfigurationPool 68 IPAddressing:DHCPConfigurationGuide,CiscoIOSXERelease3S(CiscoASR920Series) v Contents ConfiguringaBindingDatabaseAgentfortheServerFunction 70 ConfiguringtheDHCPv6ClientFunction 71 ConfiguringtheDHCPv6RelayAgent 72 ConfiguringRouteAdditionforRelayandServer 73 DefiningaGeneralPrefixwiththeDHCPv6PrefixDelegationClientFunction 73 ConfiguringaVRF-AwareRelayforMPLSVPNSupport 74 ConfiguringaVRF-AwareRelay 74 RestartingtheDHCPv6ClientonanInterface 75 DeletingAutomaticClientBindingsfromtheDHCPv6BindingTable 76 TroubleshootingDHCPv6 76 VerifyingtheDHCPv6Configuration 77 ExampleVerifyingtheDHCPv6Configuration 77 ConfigurationExamplesforImplementingDHCPv6 80 Example:ConfiguringtheDHCPv6ClientFunction 80 CHAPTER 5 IPv6AccessServices:DHCPv6RelayAgent 81 InformationAboutIPv6AccessServices:DHCPv6RelayAgent 81 DHCPv6RelayAgent 81 DHCPv6RelayAgentNotificationforPrefixDelegation 83 DHCPv6RelayOptions:RemoteIDforEthernetInterfaces 83 DHCPv6RelayOptions:ReloadPersistentInterfaceIDOption 83 DHCPv6RelayChaining 84 HowtoConfigureIPv6AccessServices:DHCPv6RelayAgent 84 ConfiguringtheDHCPv6RelayAgent 84 ConfigurationExamplesforIPv6AccessServices:DHCPv6RelayAgent 85 Example:ConfiguringtheDHCPv6RelayAgent 85 AdditionalReferences 85 FeatureInformationforIPv6AccessServices:DHCPv6RelayAgent 86 CHAPTER 6 IPv6AccessServices:DHCPv6PrefixDelegation 87 RestrictionsforIPv6AccessServices:DHCPv6PrefixDelegation 87 InformationAboutIPv6AccessServices:DHCPv6PrefixDelegation 87 DHCPv6PrefixDelegation 87 ConfiguringNodesWithoutPrefixDelegation 88 IPAddressing:DHCPConfigurationGuide,CiscoIOSXERelease3S(CiscoASR920Series) vi Contents ClientandServerIdentification 88 RapidCommit 88 DHCPv6Client,Server,andRelayFunctions 88 HowtoConfigureIPv6AccessServices:DHCPv6PrefixDelegation 93 ConfiguringtheDHCPv6ServerFunction 93 ConfiguringtheDHCPv6ConfigurationPool 93 ConfiguringaBindingDatabaseAgentfortheServerFunction 96 ConfiguringtheDHCPv6ClientFunction 96 DeletingAutomaticClientBindingsfromtheDHCPv6BindingTable 98 RemovingPreviously-AcquiredPrefixes 98 DebuggingDHCPv6BindingDatabase 98 ConfigurationExamplesforIPv6AccessServices:DHCPv6PrefixDelegation 99 Example:ConfiguringtheDHCPv6ServerFunction 99 Example:ConfiguringtheDHCPv6ConfigurationPool 100 Example:ConfiguringtheDHCPv6ClientFunction 101 Example:ConfiguringaDatabaseAgentfortheServerFunction 102 Example:DisplayingDHCPServerandClientInformationontheInterface 102 Example:DebuggingDHCPv6 103 AdditionalReferences 106 FeatureInformationforIPv6AccessServices:DHCPv6PrefixDelegation 107 CHAPTER 7 ConfiguringDHCPFeatures 109 LimitationsandRestrictions 109 DHCPFeatures 109 DHCPServer 109 DHCPRelayAgent 110 DHCPSnooping 110 Option-82DataInsertion 111 CiscoIOSDHCPServerDatabase 114 DHCPSnoopingBindingDatabase 114 ConfiguringDHCPFeatures 116 DefaultDHCPConfiguration 116 DHCPSnoopingConfigurationGuidelines 117 ConfiguringtheDHCPServer 118 IPAddressing:DHCPConfigurationGuide,CiscoIOSXERelease3S(CiscoASR920Series) vii Contents ConfiguringtheDHCPRelayAgent 118 SpecifyingthePacketForwardingAddress 118 EnablingDHCPSnoopingandOption82 119 EnablingtheCiscoIOSDHCPServerDatabase 121 EnablingtheDHCPSnoopingBindingDatabaseAgent 121 StoppingtheDatabaseAgentandBindingfiles 122 ClearingtheStatisticsoftheDHCPSnoopingBindingDatabaseAgent 122 DeletingBindingEntriesfromtheDHCPSnoopingBindingDatabase 122 DisablingDHCPSnooping 123 DisplayingDHCPSnoopingInformation 123 Pre-assignedAddressReservedintheDHCPPool 123 AutomaticGenerationofSubscriberIdentifier 124 AdditionalReferences 124 FeatureInformationforConfiguringDHCPFeatures 125 CHAPTER 8 ConfiguringDynamicARPInspection 127 DynamicARPInspection 127 InterfaceTrustStatesandNetworkSecurity 129 RateLimitingofARPPackets 130 RelativePriorityofARPACLsandDHCPSnoopingEntries 130 LoggingofDroppedPackets 130 ConfiguringDynamicARPInspection 130 DefaultDynamicARPInspectionConfiguration 130 DynamicARPInspectionConfigurationGuidelines 131 ConfiguringDynamicARPInspectioninDHCPEnvironments 132 ExampleforConfiguringDynamicARPInspection 134 DisablingDynamicARPInspection 134 ConfiguringARPACLsforNon-DHCPEnvironments 134 ExampleforConfiguringanARPACL 136 RemovingtheARPACL 136 LimitingtheRateofIncomingARPPackets(optional) 136 PerformingValidationChecks(optional) 138 ConfiguringtheLogBuffer(optional) 139 ReturningtotheDefaultLogBufferSettings 141 IPAddressing:DHCPConfigurationGuide,CiscoIOSXERelease3S(CiscoASR920Series) viii Contents DisplayingDynamicARPInspectionInformation 142 ClearingorDisplayingDynamicARPInspectionStatistics 142 ClearingorDisplayingDynamicARPInspectionLoggingInformation 142 AdditionalReferences 143 FeatureInformationforConfiguringDynamicARP 144 IPAddressing:DHCPConfigurationGuide,CiscoIOSXERelease3S(CiscoASR920Series) ix Contents IPAddressing:DHCPConfigurationGuide,CiscoIOSXERelease3S(CiscoASR920Series) x
Description: