H3C S3100-52P Operation Manual
H3C S3100-52P Operation Manual

H3C S3100-52P Operation Manual

Dldp
Hide thumbs Also See for S3100-52P:

Advertisement

Operation Manual - DLDP
H3C S3100-52P Ethernet Switch
Chapter 1 DHCP Overview............................................................................................................ 1-1
1.1 Introduction to DHCP......................................................................................................... 1-1
1.2 DHCP IP Address Assignment .......................................................................................... 1-1
1.2.1 IP Address Assignment Policy ................................................................................ 1-1
1.2.2 Obtaining IP Addresses Dynamically ...................................................................... 1-2
1.2.3 Updating IP Address Lease .................................................................................... 1-2
1.3 DHCP Packet Format ........................................................................................................ 1-3
1.4 Protocol Specification ........................................................................................................ 1-4
Chapter 2 DHCP Snooping Configuration .................................................................................. 2-1
2.1 Introduction to DHCP Snooping......................................................................................... 2-1
2.2 DHCP Snooping Configuration .......................................................................................... 2-2
2.3 Displaying DHCP Snooping............................................................................................... 2-3
2.4 Configuration Example ...................................................................................................... 2-3
Chapter 3 DHCP/BOOTP Client Configuration ........................................................................... 3-1
3.1 Introduction to DHCP Client............................................................................................... 3-1
3.2 Introduction to BOOTP Client ............................................................................................ 3-3
3.3 DHCP/BOOTP Client Configuration .................................................................................. 3-4
3.3.1 Prerequisites ........................................................................................................... 3-4
3.3.2 Configuring a DHCP/BOOTP Client........................................................................ 3-4
3.3.3 Configuration Example............................................................................................ 3-5
3.4 Displaying the Information about a DHCP/BOOTP Client ................................................. 3-5

Table of Contents

i
Table of Contents

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S3100-52P and is the answer not in the manual?

Questions and answers

Summary of Contents for H3C S3100-52P

  • Page 1: Table Of Contents

    Operation Manual – DLDP H3C S3100-52P Ethernet Switch Table of Contents Table of Contents Chapter 1 DHCP Overview......................1-1 1.1 Introduction to DHCP......................1-1 1.2 DHCP IP Address Assignment ..................1-1 1.2.1 IP Address Assignment Policy ................1-1 1.2.2 Obtaining IP Addresses Dynamically ..............1-2 1.2.3 Updating IP Address Lease ..................
  • Page 2: Chapter 1 Dhcp Overview

    Operation Manual – DLDP H3C S3100-52P Ethernet Switch Chapter 1 DHCP Overview Chapter 1 DHCP Overview 1.1 Introduction to DHCP With networks getting larger in size and more complicated in structure, lack of available IP addresses becomes the common situation the network administrators have to face, and network configuration becomes a tough task for the network administrators.
  • Page 3: Obtaining Ip Addresses Dynamically

    Operation Manual – DLDP H3C S3100-52P Ethernet Switch Chapter 1 DHCP Overview Dynamic assignment. The DHCP server assigns IP addresses to DHCP clients for predetermined period of time. In this case, a DHCP client must apply for an IP address again at the expiration of the period. This policy applies to most clients.
  • Page 4: Dhcp Packet Format

    Operation Manual – DLDP H3C S3100-52P Ethernet Switch Chapter 1 DHCP Overview By default, a DHCP client updates its IP address lease automatically by unicasting a DHCP-REQUEST packet to the DHCP server when half of the lease time elapses. The DHCP server responds with a DHCP-ACK packet to notify the DHCP client of a new IP lease if the server can assign the same IP address to the client.
  • Page 5: Protocol Specification

    Operation Manual – DLDP H3C S3100-52P Ethernet Switch Chapter 1 DHCP Overview flags: The first bit is the broadcast response flag bit. It is used to identify that the DHCP response packet is sent in the unicast or broadcast mode. Other bits are reserved.
  • Page 6: Chapter 2 Dhcp Snooping Configuration

    DHCP servers. Trusted ports forward any received DHCP packets to ensure that DHCP clients can obtain IP addresses from valid DHCP servers. Figure 2-1 illustrates a typical network diagram for DHCP snooping application, where Switch A is an S3100-52P series Ethernet switch. DHCP client DHCP client...
  • Page 7: Dhcp Snooping Configuration

    Operation Manual – DLDP H3C S3100-52P Ethernet Switch Chapter 2 DHCP Snooping Configuration DHCP client DHCP client DHCP client DHCP server DHCP server DHCP server DHCP client DHCP client DHCP client DHCP server DHCP server DHCP server DHCP client DHCP client...
  • Page 8: Displaying Dhcp Snooping

    2.4 Configuration Example I. Network requirements As shown in Figure 2-1, the Ethernet1/0/1 port of Switch A ( S3100-52P ) is connected to Switch B (acting as a DHCP relay). A network segment containing some DHCP clients is connected to the Ethernet1/0/2 port of Switch A.
  • Page 9 Operation Manual – DLDP H3C S3100-52P Ethernet Switch Chapter 2 DHCP Snooping Configuration [H3C] dhcp-snooping # Enter Ethernet1/0/1 port view. [H3C] interface Ethernet1/0/1 # Set the port to a trusted port. [H3C-Ethernet1/0/1] dhcp-snooping trust...
  • Page 10: Chapter 3 Dhcp/Bootp Client Configuration

    Operation Manual – DLDP H3C S3100-52P Ethernet Switch Chapter 3 DHCP/BOOTP Client Configuration Chapter 3 DHCP/BOOTP Client Configuration 3.1 Introduction to DHCP Client As the network scale expands and the network complexity increases, the network configurations become more and more complex accordingly. It is usually the case that the computer locations change (such as the portable computers in wireless networks) or the number of the computers exceeds that of the available IP addresses.
  • Page 11 Operation Manual – DLDP H3C S3100-52P Ethernet Switch Chapter 3 DHCP/BOOTP Client Configuration DHCP Client DHCP Client DHCP Client DHCP Client DHCP Client DHCP Client DHCP Client DHCP Server DHCP Server DHCP Client DHCP Client DHCP Client DHCP Client DHCP Client...
  • Page 12: Introduction To Bootp Client

    DHCP-REQUEST packets to the DHCP server when half of the lease period expires. The DHCP server, in turn, responds with a DHCP-ACK packet to notify the DHCP client of the new lease if the IP address is still available. An S3100-52P switch operating as a DHCP support this lease auto-update process.
  • Page 13: Dhcp/Bootp Client Configuration

    IP address after sending three successive BOOTP request packets. 3.3 DHCP/BOOTP Client Configuration An S3100-52P Ethernet switch can operate as a DHCP client or BOOTP client. In this case, the IP address of the management VLAN interface is obtained through DHCP or BOOTP.
  • Page 14: Configuration Example

    # 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...

Table of Contents