Jump to content

DOO 1.13 Question 8 Scripting


Recommended Posts

1 hour ago, visasman said:

Your question is difficult to understand. Can you explain more?

One of the workbooks I saw has that listed for step 8, what are they referring to by this?

On Branch#3 complete and correct the configuration on switches sw601, sw602 and sw610 to allow HSRP and DHCP Relay operation in VLANs 2000 and 2001 according to these requirements:

  1. HSRP must implicitly use the MAC address range of 0000.0c9f.f000 through 0000.0c9f. ffff

  2. The group number must be 100 for VLAN 2000 and 101 for VLAN 2001

  3. Sw601 must be Active gateway for VLAN 2000 with a priority of 110; the Active role ownership must be deterministic.

  4. Sw602 must be Active gateway for VLAN 2001 with a priority of 110; the Active role ownership must be deterministic.

  5. Each Active switch must track its uplink interface g0/1 and g0/2. If either of these interface goes down, the Active switch must allow the other switch to become Active. Howeve, it is not allowed for the tracking to modify the HSRP priority to accomplish this requirements.

  6. Both sw601 and sw602 must be configured as DHCP relay agents in both VLANs 2000 and 2001, pointing toward the DHCP server 10.2.255.211 at sw211. However, at anytime, only the Active router in the particular VLAN should relay the DHCP messages.

  7. Place host61 and host62 into VLANs 2000 and 2001 respectively and make sure they are assigned their correct IPv4 configuration.

  8. It is not permitted to use any kind of scripting to complete this task.

Link to comment
Share on other sites

Apparently a few years back in the community there were ppl who resolved this using EEM Scripts.

 

But the solution that their looking for u to use is the "ip helper redundancy" or (Virtual Router Groups - VRG) feature which will make the UDP forwarding done by the DHCP Relay Agent "HSRP aware". With this configured, only the HSRP Router who is ACTIVE for a particular group will do the forwarding of the DHCP packets.

In order to take advantage of this feature, a VRG (Virtual Router Group) must be configured in HSRP - (standby [group #] name [group name]) and then that same group name must be referenced in the DHCP relay agent config in order to keep track of the HSRP Active/Standby state on the router - (ip helper-address x.x.x.x redundancy [group name])

For example:

 

interface vlan 2000
standby name HSRP_GROUP_2000 <- (Creates the Virtual Router Group)
ip helper-address 10.2.255.211 redundancy HSRP_GROUP_2000 <- (Allows the DHCP Relay Agent to track the state of the Active HSRP router)
 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...