Dhcp agent id overwrite, Using the ip dhcp relay agent-id-overwrite command, Using the ip dhcp relay advertise-protocol command – ADC SG-1 User Manual

Page 130

Advertising
background image

Chapter 7: Second Level Commands

June 30, 2006

7-50

SG1-UM-8500-03

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

Usage

ip dhcp relay agent-id-overwrite interface <Ethernet | ATM| VLAN | default>

<slot>\<port number>\[sub-interface number] <priority> [replace]

Parameter(s)

Example(s)

Using the ip dhcp relay advertise-protocol command

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>

Host(config)# ip dhcp relay agent-id-overwrite interface

Parameter

Description

Legal values/range

<slot>

PMC slot number.

0 - 2; Default value 0

<port number >

Physical port number.

1 - 2; Default value 0

<sub-interface number>

Sub interface number.

1- 4095; Default value 0

<priority>

DHCP server priority.

1- 10

<Ethernet | ATM | VLAN |

default>

Interface format.

Ethernet, ATM, VLAN

Host(config)# ip dhcp relay agent-id-overwrite interface Ethernet 0 \ 1 3

Host(config)# ip dhcp relay agent-id-overwrite interface Ethernet 0 \ 1 3 replace

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

Host(config)# ip dhcp relay advertise-protocol

Advertising