SR2330 - Configuring DHCP
The following configuration script will enable a DHCP Server on a SR2330 for Nortel/Avaya IP Phones.
IP Phones reside on the TLAN. Edit the script to match the customers network using the explaination below:
conf t ip dhcps pool POOL_NAME callserver 10.10.10.17 port 4100 network 10.10.10.0 255.255.255.0 default_router 10.10.10.254 exclude-range 10.10.10.1 10.10.10.50 commit exit pool interface ethernet0/2 enable exit dhcps exit conf wr mem
The command steps explained:.
Command | Description |
---|---|
conf t | Enter configuration mode |
ip dhcps | Enter DHCP Server configuration mode |
pool POOL_NAME | Name your DHCP Pool something unique |
callserver 10.10.10.17 port 4100 | Call Server Node IP address, use port 4100 for Avaya IP phones |
network 10.10.10.0 255.255.255.0 | Entire network range for the TLAN |
default_router 10.10.10.254 | Default gateway for the TLAN network |
exclude-range 10.10.10.1 10.10.10.50 | Start and ending IP of excluded range (enter as many exclude ranges as required) |
commit | Put the DHCP Pool into service, use "no commit" to make changes to existing pool |
exit pool | Exit building the DHCP Pool |
interface ethernet0/2 | Assign the DHCP Pool to an interface on the TLAN to serve IP addresses |
enable | Turn on the DHCP service, "no enable" to make any changes to the pool above |
exit dhcps | Exit DHCP Server configuration |
exit conf | Exit configuration mode |
wr mem | Save the configuration to memory |