[Contents] [Prev] [Next] [Index] [Report an Error]

Username with MAC Address

This example shows the steps to configure a service profile that generates a username that includes a MAC address.

Note: Including a MAC address in a username works only for DHCP users. It does not work for IP subscribers that have statically configured IP addresses.

host1(config)#ip service-profile atlServiceProfile
host1(config-service-profile)#user-prefix xyzcorp.atl
host1(config-service-profile)#domain eastcoast
host1(config-service-profile)#include hostname
host1(config-service-profile)#include circuit-identifier vlan
host1(config-service-profile)#include mac-address
host1(config-service-profile)#include dhcp-option 82 agent-circuit-id
host1(config-service-profile)#exit
host1(config)#

The example generates the following username, which includes the MAC address:

Image service-profile-mac-example.gif
[Contents] [Prev] [Next] [Index] [Report an Error]