Ya I think I need to read about this some more. I think I see how this works on the router now. But how does the DHCP server take that string and use it to assign IP's base off that. I can't quite get my head around that.
Thanks for the info. This is not a very well documented feature. From: Bob McCouch [mailto:[email protected]] Sent: Wednesday, May 16, 2012 4:05 PM To: Bodnar, Edward Cc: [email protected] Subject: Re: [OSL | CCIE_RS] ? Hi Ed, Take a look at this: http://www.cisco.com/en/US/docs/switches/lan/catalyst3550/software/release/12.1_19_ea1/configuration/guide/swdhcp82.html#wp1069615 That little blurb explains a bit how DHCP Option 82 is used. For more detail, consult RFC 3046 (a short read). Doing a "show ip dhcp snooping" on a switch shows the following as part of the output: Insertion of option 82 is enabled circuit-id default format: vlan-mod-port remote-id: 001e.7a07.c500 (MAC) So you can see the default values used for each of the sub-option fields. These would allow a server to make some sort of decision based on the information provided in those fields, specifically that the relay was the "remote-id" with that MAC address, and the circuit ID was something like 452-0-24 for port 24 of module 0 in VLAN 452. What you referenced as one command is actually two: (config)#ip dhcp snooping info option format remote {hostname|string {blah}} and (config-if)#ip dhcp snooping vlan 500 information option format-type circuit-id string {blah} Note one is global and one is interface specific. Once you grok the purpose of the sub-options, that makes perfect sense. They can be used to override the default formats for those options listed above. So you could change the remote-id from a MAC to either the switch hostname or an arbitrary string like "Columbus-Edge-CPE" and you can modify the circuit-id to be an interface specific string like "CustID_5555555" or something like that. Again, it's so the DHCP server can serve the desired addresses based on the info it can glean from these hints. See the DHCP class function for how it could be done on IOS. Why would you use each? Because the lab tells you to. :-) For the record I had to research that detail... I knew they were related to Opt 82 but had to dig around a little bit to figure all that out. HTH, Bob On Wed, May 16, 2012 at 2:25 PM, Bodnar, Edward <[email protected]<mailto:[email protected]>> wrote: Can anybody provide some clarity around these commands. Ip dhcp snooping information option format-type ( circuit-id | remote-id ) Need info on what they do and why I would use them. _______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com<http://www.ipexpert.com> Are you a CCNP or CCIE and looking for a job? Check out www.PlatinumPlacement.com<http://www.PlatinumPlacement.com> http://onlinestudylist.com/mailman/listinfo/ccie_rs _______________________________________________ For more information regarding industry leading CCIE Lab training, please visit www.ipexpert.com Are you a CCNP or CCIE and looking for a job? Check out www.PlatinumPlacement.com http://onlinestudylist.com/mailman/listinfo/ccie_rs
