EasyManua.ls Logo

Cisco Catalyst 4500 Series - Page 347

Cisco Catalyst 4500 Series
2086 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
6-35
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 6 Programmability
Sample Configuration and Reference Information
#Generally you do not have to specify any filters for the relay agent. The range is
#automatically selected based on the relay agent IP and subnet mask of the range. The
#Relay agent always sends it's subnet side IP. This server uses only the DHCP Range, which
#matches this IP. This ensures that correct range is used. This feature
#eliminate the need of additional configuration. For matching purpose, range is
#recalculated using Subnet Mask of range and Relay Agent IP. However if you want
#to manually configure the subnet selection, you can use FilterSubnetSelection in
#a RANGE_SET. If this fitler is specified it will be first matched with SubnetSelection
#Option 118 sent by client. If client sends no such option, it will be matched
#with relay Agent IP. If not relay agent IP is sent, Listening Interface's IP
#will be matched. You can also override the Target Relay Agent using TargetRelayAgent
#option.
[RANGE_SET]
#This is first and simple DHCP range section example,
#If you need range filters, look at example below
DHCPRange=192.0.2.3-192.0.2.250
VendorClass="Example Server"
43=01:15:65:78:61:6d:70:6c:65:2d:63:6f:6e:66:69:67:2e:63:6f:6e:66:69:67:02:11:65:78:61:6d:
70:6c:65:2d:73:63:72:69:70:74:2e:70:79:03:19:65:78:61:6d:70:6c:65:5f:64:6d:69:5f:63:6f:6e:
74:61:69:6e:65:72:2e:6f:76:61:ff
;43="example-config.config"65:78:61:6d:70:6c:65:2d:63:6f:6e:66:69:67:2e:63:6f:6e:66:69:67;
;"example-script.py"65:78:61:6d:70:6c:65:2d:73:63:72:69:70:74:2e:70:79
;”example_dmi_container.ova"05:78:61:6d:70:6c:65:5f:64:6d:69:5f:63:6f:6e:74:61:69:6e:65:72
;:2e:6f:76:61
#The following are the range specific DHCP options.
#You can copy more options names from [GLOBAL_OPTIONS]
SubnetMask=255.255.255.0
;DomainServer=198.51.100.3
Router=198.0.2.254
#Lease Time can be different for this Range
;AddressTime=360
[RANGE_SET]
#This section is also simple [RANGE_SET] section
#Here the options are specified as flat options.
;DHCPRange=192.0.2.3-192.0.2.250
#The following are the flat range specific DHCP options.
#SubnetMask below
;1=255.255.255.0
#DomainServers below
;6=198.51.100.3
#Router
;3=198.0.2.254
#AddressTime
;51=11000
[RANGE_SET]
#This is filtered [RANGE_SET] section.
#The first eight entries in this example are filters.
#Currently, only the following types of filters are supported
#However 32 filters of each type can be specified
;FilterMacRange=00:0d:60:c5:4e:00-00:0d:60:c5:4e:ff
;FilterMacRange=00:0e:12:c5:4e:00-00:0e:12:c5:4e:ff
;FilterMacRange=00:0f:60:c5:4e:a1-00:0f:60:c5:4e:a1
;FilterVendorClass="EXAMPLE 5.0"
;FilterVendorClass="EXAMPLE 5.1"
;FilterVendorClass="EXAMPLE 5.2"
;FilterUserClass="My User Class 4.0"
;FilterUserClass=123,56,87,123,109,0,23,56,156,209,234,56
;FilterUserClass=00:0d:60:c5:4e:0d:60:c5:4e
#You can select RANGE_SET based on FilterSubnetSelection

Table of Contents

Other manuals for Cisco Catalyst 4500 Series

Related product manuals