Chapter 7: Second Level Commands
DHCP Agent ID Overwrite
When configured, the SG-1 should overwrite the DHCP agent ID and the server identifier to its ID (IP address) in the
DHCP reply messages. The system does not overwrite the DHCP agent ID in its default behavior.
Using the ip dhcp relay agent-id-overwrite command
Host(config)# ip dhcp relay agent-id-overwrite interface
Usage
ip dhcp relay agent-id-overwrite interface <Ethernet | ATM| VLAN | default>
<slot>\<port number>\[sub-interface number] <priority> [replace]
Parameter(s)
Parameter
<slot>
<port number >
<sub-interface number>
<priority>
<Ethernet | ATM | VLAN |
default>
Example(s)
Host(config)# ip dhcp relay agent-id-overwrite interface Ethernet 0
Host(config)# ip dhcp relay agent-id-overwrite interface Ethernet 0
Host(config)# ip dhcp relay agent-id-overwrite interface Atm 2 \ 1 \ 43
Host(config)# ip dhcp relay agent-id-overwrite interface Atm 2 \ 1 \ 43 8 replace
Host(config)# ip dhcp relay agent-id-overwrite interface VLAN 1 \ 2 34
Host(config)# ip dhcp relay agent-id-overwrite interface VLAN 1 \ 2 34 5 replace
Host(config)# ip dhcp relay agent-id-overwrite interface default 0 \ 1 \ 1
Host(config)# ip dhcp relay agent-id-overwrite interface default 0 \ 1 \ 1 2 replace
Using the ip dhcp relay advertise-protocol command
Host(config)# ip dhcp relay advertise-protocol
This command defines the default protocol the system is using to advertise the user's DHCP allocated IP address.
Usage
ip dhcp relay advertise-protocol <rip | ospf>
7-50
Description
PMC slot number.
Physical port number.
Sub interface number.
DHCP server priority.
Interface format.
June 30, 2006
Legal values/range
0 - 2; Default value 0
1 - 2; Default value 0
1- 4095; Default value 0
1- 10
Ethernet, ATM, VLAN
\ 1 3
\ 1 3 replace
SG1-UM-8500-03