Enables Dynamic Host Configuration (DHCP) relay.
Syntax
After the dhcp-relay command
is entered, the following configuration syntax is available:
{
dhcp-option82
|
dhcp-server1
server-name
|
dhcp-server2
server-name
}After the dhcp-option82
command is entered, the following configuration syntax is available:
{
subopt1
}
{
ap-essid
|
ap-info-default
|
ap-info-location
|
ap-mac
|
format
}subopt151
{
essid
area-name
area-name}subopt2
{
ap-essid
|
ue-essid
|
ue-mac
|
ap-mac
}
Command Default
DHCP relay is not enabled.
Parameters
- dhcp-option82
- Enables DHCP Option82.
- subopt1
- Enables Subopt-1.
- ap-essid
- Uses the Access Point (AP) MAC hex ESSID.
- ap-info-default
- Uses the default AP information in the following format: IF-Name:VLAN-ID:ESSID:AP-Model:AP-Name:AP-MAC.
- ap-info-location
- Uses the AP location information in the following format: IF-Name:VLAN-ID:ESSID:AP-Model:AP-Name:AP-MAC:Location.
- ap-mac
- Uses the AP MACin the following format: AP-MAC-hex.
- format
- Uses the specified format.
- subopt150
- Enables Subopt-1.
- subopt151
- Enables Subopt-1.
- dhcp-server1
- Sets DHCP server 1
- dhcp-server2
- Sets DHCP server 1
Modes
TTG PDG Profile configuration mode
Domain configuration mode
Zone configuration mode
Usage Guidelines
This command is used in several different configuration modes.
This command is supported on all the controllers in zone and domain configuration
mode. In TTG PDG Profile configuration mode, only the SmartZone 300 supports this
command.
Examples
The following example creates a TTG PDG profile named newprofile123 and configures
DHCP relay with DHCP Option82 parameters.
device# config
device(config)# ttg-pdg-profile newprofile123
device(config-ttg-pdg-profile)# dhcp-relay
device(config-ttg-pdg-profile)# dhcp-option82
device(config-ttg-pdg-profile-dhcp-option82)# subopt1 ap-essid
The following example disables DHCP Relay when in the Zone configuration mode.
device(config-zone)# no dhcp-relay
Do you want to continue to disable (or input 'no' to cancel)? [yes/no] yes
Successful operation