To configure subscriber management for clients by using an external DHCP server, as in Figure 15, use the following procedure on E-series routers:
- host1(config)#service dhcp-external
- host1(config)#ip dhcp-external server-address
10.10.10.1
- host1(config)#ip policy-list filterAll
- host1(config-policy-list)#classifier-group
filterGroupA
- host1(config-policy-list-classifier-group)#filter
- host1(config-policy-list-classifier-group)#exit
- host1(config-policy-list)#exit
- host1(config)#profile disableUser
- host1(config-profile)#ip policy input filterAll
- host1(config-profile)#ip policy output filterAll
- host1(config-profile)#exit
- host1(config)#route-map routeMapWest21
- host1(config-route-map)#set ip interface-profile
disableUser
- host1(config-route-map)#exit
- host1(config)#interface gigabitEthernet 12/0
- host1(config-if)#ip address 192.168.1.1 255.255.255.0
- host1(config-if)#ip auto-configure ip-subscriber
include-primary
- host1(config-if)#ip route-map ip-subscriber
routeMapWest21
- host1(config-if)#ip auto-detect ip-subscriber
- host1(config-profile)#exit