7-4
Cisco uBR7200 Series Universal Broadband Router Software Configuration Guide
OL-2239-03
Chapter 7 Overview of the Cisco Network Registrar for the Cisco uBR7200 Series
Activate Scripts in Cisco Network Registrar
Activate Scripts in Cisco Network Registrar
To activate the scripts after you have placed them in the appropriate directory:
Step 1
Open up a text editor.
Step 2
Open one of the scripts at the
nrcmd>
command prompt.
Step 3
Create the extension points and attach them to the system.
Note
The easiest way to do this is to simply cut and paste the command lines from the scripts to the
nrcmd>
command line.
Step 4
After you have created and attached the extension points, do a
dhcp
reload.
The scripts are active.
Configuring the Cisco uBR7200 Series to Use Scripts
Each cable interface must be set up as a BOOTP forwarder and have the relay-option enabled. The
primary and secondary IP addresses for each cable interface must be in sync with the CNR tool.
To properly communicate with scripts in the system, implement the following commands on the
Cisco uBR7200 series universal broadband router:
•
On Cisco IOS Release 11.3—Command is interface specific:
cable relay-agent-option
This enables Option82 on the Cisco uBR7200 series.
•
On Cisco IOS Release 12.0—Command has been changed to the following global option:
ip dhcp relay info option
•
On Cisco IOS Release 12.0 to 12.5, use the following command:
no ip dhcp relay information option check
Note
You can also use the
cable dhcp-giaddr
command in cable interface configuration mode to modify the
GIADDR field of DHCPDISCOVER and DHCPREQUEST packets to provide a relay IP address before
packets are forwarded to the DHCP server. Use this command to set a “policy” option such that primary
addresses are used for CMs and secondary addresses are used for hosts behind the CMs.