Specifications

Table Of Contents
A-24
Cisco AS5800 Operations, Administration, Maintenance, and Provisioning Guide
DOC-7810814=
Appendix A Advanced Quick Reference
Advanced Quick Reference Configurations
IP Address Pools Configuration
The following Cisco IOS CLI script serves as a sample IP address pool configuration or setup.
Sample Configuration
5800(config)# ip dhcp-server x.x.x.x (if using dhcp)
5800(config)# ip local pool default 1.1.1.1 1.1.1.255
5800(config)# ip local pool default 1.1.2.1 1.1.2.255
5800(config)# ip local pool default 21.21.21.1 21.21.21.255
5800(config)# ip local pool 1 10.100.1.1 10.100.1.64
5800(config)# ip local pool 1 172.17.18.1 172.17.18.255
Command Line Description
5800(config)# ip dhcp-server x.x.x.x (if using dhcp)
Defines the IP address for the DHCP server. Cisco IOS queries this particular DHCP server (instead of
broadcasting on all interfaces) when it needs to get an address for a client from DHCP.
5800(config)# ip local pool default 1.1.1.1 1.1.1.255
Defines the IP address pool for network 1.1.1.0. The range is from 1 to 254 as 255 is a broadcast address.
Configures a local address pool called default with addresses spanning 1.1.1.1 to 1.1.1.255.
5800(config)# ip local pool default 1.1.2.1 1.1.2.255
Defines the IP address pool for network 1.1.2.0. The range is from 1 to 254 since 255 is a broadcast
address. Appends the address range 1.1.2.1 to 1.1.2.255 to the address pool called default.
5800(config)# ip local pool default 21.21.21.1 21.21.21.255
Defines the IP address pool for network 1.1.2.0. The range is from 1 to 254 since 255 is a broadcast
address. Appends the address range 21.21.21.1 to 21.21.21.255 to the address pool called default.
5800(config)# ip local pool 1 10.100.1.1 10.100.1.64
Defines the IP address pool for network 1.1.2.0. Range is from 1 to 64. Configures a local address pool
called 1 with the address spanning from 10.100.1.1 to 10.100.1.64.
5800(config)# ip local pool 1 172.17.18.1 172.17.18.255
Defines the IP address pool for network 1.1.2.0. The range is from 1 to 254 since 255 is a broadcast
address. Appends the address range 172.16.18.1 to 172.17.18.255 to the address pool called 1.
To Modify, Copy, & Paste
ip dhcp-server x.x.x.x
ip local pool default 1.1.1.1 1.1.1.255
ip local pool default 1.1.2.1 1.1.2.255
ip local pool default 21.21.21.1 21.21.21.255
ip local pool 1 10.100.1.1 10.100.1.64
ip local pool 1 172.17.18.1 172.17.18.255