44

DHCP Commands

This chapter describes how to use the DHCP Relay and DHCP Snoop commands.

44.1 DHCP Relay Commands

Use these commands to configure the DHCP relay feature. See Chapter 25 on page 187 for background information on DHCP relay.

44.1.1 Show Command

Syntax:

ras> switch dhcprelay show

This command displays whether or not the DHCP relay feature is activated, which relay mode the IES-612-51A is using, the current list of DHCP servers by VLAN, the status of the DHCP relay agent info option 82 feature and the information configured for it.

Figure 145 Show Command Example

ras> switch dhcprelay show

 

DHCP

relay

status: disable

 

DHCP

relay

mode: auto

 

Server

list:

secondary-server

index

vid

primary-server

---------- ------------------ ------------------

1 1 (*)212.212.212.212 213.213.213.213

2 2 (*)214.214.214.214 215.215.215.251

option82 sub-opt1 info (Circuit ID)

----------------- ------------------------------

-

option82 sub-opt2 info (Remote ID)

----------------- ------------------------------

-

44.1.2 Enable Command

Syntax:

ras> switch dhcprelay enable

This command turns on the DHCP relay feature.

 

291

IES-612-51A User’s Guide