JunosE 11.3.x Broadband Access Configuration Guide
Username with MAC Address
590
The circuit identifier indicates a user on slot 1, port 0, no stacked vlan, and a vlan ID of
45.
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:
Copyright © 2010, Juniper Networks, Inc.