Description:
With the following Addin script you can activate the DHCP relay agent.
Every IP helper address should only be rolled out once, as further rollouts with the same content may result in an error. The scriptLine "ip helper enable" only has to be rolled out once and can be removed afterwards.
List of used variables:
Variable | Description |
---|---|
Add-in code:
/** // DHCP-Relay-Agent aktivieren config.addScriptLine( "configure" ); config.addScriptLine( "ip helper enable" ); config.addScriptLine( "exit" ); config.addScriptLine( "configure" ); config.addScriptLine( "interface vlan 1102" ); config.addScriptLine( "ip helper-address 172.16.10.150" ); config.addScriptLine( "exit" ); config.addScriptLine( "interface vlan 64" ); config.addScriptLine( "ip helper-address 172.16.10.150" ); config.addScriptLine( "exit" ); config.addScriptLine( "interface vlan 80" ); config.addScriptLine( "ip helper-address 172.16.10.150" ); config.addScriptLine( "exit" ); config.addScriptLine( "interface vlan 100" ); config.addScriptLine( "ip helper-address 172.16.10.150" ); config.addScriptLine( "exit" ); config.addScriptLine( "interface vlan 110" ); config.addScriptLine( "ip helper-address 172.16.10.150" ); config.addScriptLine( "exit" ); config.addScriptLine( "exit" ); }; |
---|