Cisco Cisco Prime IP Express 8.3 Technical References
Examples
Status
See Also
extension
extension - Integrates user-written DHCP extensions into the DHCP server
Synopsis
extension list
extension listnames
extension listbrief
extension <name> create <lang> <file> <entry> [<attribute>=<value>...]
extension <name> delete
extension <name> get <attribute>
extension <name> set <attribute>=<value> [<attribute>=<value> ...]
extension <name> unset <attribute>
extension <name> show
extension listnames
extension listbrief
extension <name> create <lang> <file> <entry> [<attribute>=<value>...]
extension <name> delete
extension <name> get <attribute>
extension <name> set <attribute>=<value> [<attribute>=<value> ...]
extension <name> unset <attribute>
extension <name> show
Description
The extension command lets you configure extension modules. To
extend the DHCP server with an extension module, you must do the
following:
1. Write the extension module in either Tcl, C or C++, and install
it in the server scripts directory.
2. Configure the DHCP server to recognize this extension, using
this command.
3. Attach the configured extension to one or more DHCP script
points using the dhcp attachExtension command.
extend the DHCP server with an extension module, you must do the
following:
1. Write the extension module in either Tcl, C or C++, and install
it in the server scripts directory.
2. Configure the DHCP server to recognize this extension, using
this command.
3. Attach the configured extension to one or more DHCP script
points using the dhcp attachExtension command.
Examples
Create a tcl script, sample1, that does something.
nrcmd> extension sample1 create tcl sample1.tcl sample_ext
nrcmd> extension sample1 create tcl sample1.tcl sample_ext
Status
See Also
Attributes
required
Identifies the entry point for the module. This function is
called from any extension point to which this module is bound.
called from any extension point to which this module is bound.
required
Provides the filename relative to the directory extensions in the