Chapter 7: Second Level Commands

June 30, 2006

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

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

Interface format.

Ethernet, ATM, VLAN

default>

 

 

Example(s)

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

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

SG1-UM-8500-03

Page 130
Image 130
ADC SG-1 user manual Hostconfig# ip dhcp relay agent-id-overwrite interface, Hostconfig# ip dhcp relay advertise-protocol