DHCP configuration on a Cisco switch: step by step manual with examples

This article provides information and commands concerning the following topics:


Note

This section is not part of the CCNA vendor exam topics.

Enterprises with small branch offices that implement a VoIP solution may choose to implement Cisco Unified Communications Manager, often referred to as CallManager, at a central office to control Cisco IP Phones at small branch offices. This design allows for centralized call processing and reduces equipment and administration required (especially at the branch office).

Cisco IP Phones download their configuration from a TFTP server. When a Cisco IP Phone starts, if it does not have its IP address and TFTP server IP address preconfigured, it sends a request with option 150 or 66 to the DHCP server to obtain this information.

  • DHCP option 150 provides the IP address of a list of TFTP servers.

  • DHCP option 66 gives the IP address of a single TFTP server.

Note

Cisco IP Phones may also include DHCP option 3 in their requests, which sets a default route.

Note

The ip helper-address command forwards broadcast packets as a unicast to eight different UDP ports by default:

  • TFTP (port 69)

  • DNS (port 53)

  • Time service (port 37)

  • NetBIOS name server (port 137)

  • NetBIOS datagram server (port 138)

  • Boot Protocol (BOOTP) client and server datagrams (ports 67 and 68)

  • TACACS service (port 49)

If you want to close some of these ports, use the no ip forward-protocol udp x command at the global configuration prompt, where x is the port number you want to close. The following command stops the forwarding of broadcasts to port 49:

Click here to view code image

Router(config)# no ip forward-protocol udp 49

If you want to open other UDP ports, use the ip forward-helper udp x command, where x is the port number you want to open:

Click here to view code image

Router(config)# ip forward-protocol udp 517

Figure 17-1 illustrates the network topology for the configuration that follows, which shows how to configure DHCP services on a Cisco IOS router using the commands covered in this post.

Вас заинтересует / Intresting for you:

Configuring a Cisco Router: fi...
Configuring a Cisco Router: fi... 1340 views Валерий Павлюков Sun, 06 Feb 2022, 18:18:52
Cisco Discovery Protocol (CDP)...
Cisco Discovery Protocol (CDP)... 1007 views Валерий Павлюков Sat, 05 Feb 2022, 17:35:12
Cisco: Resetting Switch Config...
Cisco: Resetting Switch Config... 1710 views Андрей Волков Mon, 15 Feb 2021, 19:13:09
Cisco Switch Configuration: st...
Cisco Switch Configuration: st... 1925 views Валерий Павлюков Sun, 06 Feb 2022, 16:39:35
Comments (1)
This comment was minimized by the moderator on the site

Nice manual for DHCP configuring on Cisco! All commans list for your needs and goals!

1dz
There are no comments posted here yet
Leave your comments
Posting as Guest
×
Suggested Locations