Chapter 22 Advanced DHCP Server Properties

Setting DHCP Forwarding

As the DHCP server processes these scripts, it checks the environment dictionary for this string:

cnr-forward-dhcp-request

3.When it finds that string and it has the value true (enabled), the server calls its forwarding code.

4.The forwarding code checks the environment dictionary for a string with this key:

cnr-request-forward-address-list

It expects a list of comma-separated IP addresses with an optional colon-delimited port number, as in this example:

192.168.168.15:1025,192.168.169.20:1027

By default, the server forwards to port 67. It sends a copy of the entire client request to each IP address and port in turn. If any element in the list is invalid, the server stops trying to parse the list.

5.After the forwarding code returns, the server stops processing the request. In the post-client-lookup extension point script, however, this action might create an optional log message with client-entry details.

The following example of a portion of a TCL extension script tells the DHCP server to forward a request to another server based on the information in the request. You can use such a script if there are multiple device provisioning systems in the same environment. In this case, you would run the extension script on the DHCP server to which routers forward broadcast requests. The script would determine which (if any) other server or servers should handle the request, and tell the original server to forward the request.

The sample script uses a static mapping of MAC address prefix to send modems from a specific vendor to a specific system:

proc postPktDecode {req resp env} { set mac [$req get chaddr]

set addrs ""

;# Very simple, static classifier that forwards all requests from devices

;# with a vendor-id of 01:0c:10 to the DHCP servers at 10.1.2.3 and 10.2.2.3: switch -glob -- $mac {

01:0c:10* {

set addrs "10.1.2.3,10.2.2.3"

}

}

;# If we decide to forward the packet, the $addrs var will have the IP addresses ;# where to forward the packet:

if {$addrs != ""} {

;# Tell the DHCP server to forward the packet...

$env put cnr-forward-dhcp-request true ;# ...and where to forward it:

$env put cnr-request-forward-address-list $addrs ;# No more processing is required.

return

}

}

A more flexible script could use a per-client configuration object, such as the Network Registrar client entry, to indicate which DHCP server should get the request.

 

Cisco CNS Network Registrar User’s Guide

22-20

OL-6240-02

Page 20
Image 20
Cisco Systems OL-6240-02 manual 22-20

OL-6240-02 specifications

Cisco Systems OL-6240-02 is a highly regarded certification exam that delves into the realm of enterprise networking, particularly focusing on the Cisco Certified Network Professional (CCNP) Routing and Switching track. This particular exam serves as a critical test for network professionals aiming to validate their skills and knowledge in advanced routing technologies and network design.

One of the main features of OL-6240-02 is its emphasis on in-depth understanding of IP routing principles. Candidates are expected to demonstrate proficiency in configuring, maintaining, and troubleshooting complex routing protocols like OSPF (Open Shortest Path First), EIGRP (Enhanced Interior Gateway Routing Protocol), and BGP (Border Gateway Protocol). This includes comprehending routing algorithms, path selection, and the implementation of route redistribution, which are essential for optimizing network performance.

The exam also covers the characteristics of network security and infrastructure, where candidates must exhibit knowledge of implementing security protocols and best practices to safeguard network communications. This includes configuring virtual private networks (VPNs), utilizing access control lists (ACLs), and applying encryption techniques to secure data in transit.

Another crucial technology tested in OL-6240-02 is Quality of Service (QoS). Professionals must be adept at configuring QoS mechanisms to prioritize traffic, ensuring that critical applications receive the necessary bandwidth and latency requirements. This is increasingly important as businesses rely on a multitude of applications that have varying performance needs.

Cisco's emphasis on network automation and programmability is also a focal point of this certification. Candidates are expected to be familiar with using Cisco's software-defined networking (SDN) solutions and automation tools, which are essential for modern network management. This involves understanding how to leverage APIs and modeling tools to streamline network operations and enhance efficiency.

To succeed in OL-6240-02, candidates should possess a solid foundation in network fundamentals and have hands-on experience with Cisco devices. The certification not only validates expertise but also prepares professionals for real-world challenges in designing, implementing, and troubleshooting enterprise networks. Overall, OL-6240-02 is a stepping stone for network professionals seeking higher-level certifications and career advancements in the ever-evolving field of networking.