3Com 4500 PWR 50-PORT, 4500 PWR 26-PORT manual Address using Dhcp, Debugging dhcp-relay, User view

Models: 4500 26-PORT 4500 PWR 26-PORT 4500 PWR 50-PORT 4500 50-PORT

1 466
Download 466 pages 21.69 Kb
Page 116
Image 116

110CHAPTER 5: USING NETWORK PROTOCOL COMMANDS

 

Parameter

 

None

 

Description

 

Use the ip address dhcp-alloc command to configure VLAN interface to obtain IP

 

address using DHCP.

 

Use the undo ip address dhcp-alloc command to remove the configuration.

 

By default, the VLAN interface does not obtain an IP address using DHCP.

 

Example

 

To configure VLAN interface to obtain IP address using DHCP, enter the following:

 

<4500>system-view

 

System View: return to User View with Ctrl+Z.

 

[4500]interface vlan-interface 1

 

[4500-Vlan-interface1]ip address dhcp-alloc

 

 

DHCP Relay

This section describes the commands you can use to configure and manage the

Configuration

Dynamic Host Configuration Protocol (DHCP) operations on your Switch 4500.

Commands

 

debugging dhcp-relay

Syntax

 

debugging dhcp-relay

 

undo debugging dhcp-relay

 

View

 

User view

 

Parameter

 

None

 

Description

 

Use the debugging dhcp-relaycommand to enable DHCP relay debugging.

 

Use the undo debugging dhcp-relaycommand to disable DHCP relay

 

debugging. By default, DHCP relay debugging is disabled.

 

Related commands: dhcp-server ip, dhcp-server,display dhcp-server and

 

display dhcp-server interface vlan-interface.

 

Example

 

To enable DHCP relay debugging, enter the following:

 

<4500>debugging dhcp-relay

 

*0.7200205-DHCP-8-dhcp_debug:

 

From client to server:

 

Interface: VLAN-Interface 1

 

ServerGroupNo: 0

Page 116
Image 116
3Com 4500 PWR 50-PORT, 4500 PWR 26-PORT, 4500 50-PORT, 4500 26-PORT manual Address using Dhcp, Debugging dhcp-relay, User view