beautypg.com

3 configuration example, I. network requirements, Ii. configuration procedures – H3C Technologies H3C S3100 Series Switches User Manual

Page 366: 3 configuration example -5

background image

Operation Manual – DLDP

H3C S3100-52P Ethernet Switch

Chapter 3 DHCP/BOOTP Client Configuration

3-5

3.3.3 Configuration Example

I. Network requirements

To manage the Switch A remotely, which operates as a DHCP client, through Telnet,
The following are required:

z

Switch A obtains an IP address through DHCP

z

The route between Switch A and the remote console is reachable.

To achieve this, you need to perform the following configuration for the switch:

z

Configuring the management VLAN interface to obtain an IP address through
DHCP

z

Configuring a default route

II. Configuration procedures

# Enter system view.

system-view

# Create VLAN 10 and configure VLAN 10 to be the management VLAN.

[H3C] vlan 10

[H3C-vlan10] quit

[H3C] management-vlan 10

# Create VLAN 10 interface and enter VLAN interface view.

[H3C] interface vlan-interface 10

# Configure the management VLAN interface to obtain an IP address through DHCP.

[H3C-Vlan-interface10] ip address dhcp-alloc

[H3C-Vlan-interface10] quit

# Configure the default route.

[H3C] ip route-static 0.0.0.0 0.0.0.0 1.1.1.2

3.4 Displaying the Information about a DHCP/BOOTP Client

Table 3-2

Display the information about a DHCP/BOOTP client

Operation

Command

Description

Display the information

about IP address

assignment on the DHCP

client

display dhcp client

[ verbose ]

Display the information

about the BOOTP client

display bootp client

[ interface

vlan-interface

vlan-id ]

Optional
You can execute

the

display

commands in any

view.