Overview
5-28
5.1.16 ip
Global Configuration Commands
Use this CLI command to configure a selected Internet Protocol.
Syntax
ip(access-list|default-gateway|dhcp|domain-lookup|domain-name|http|local|
name-server|nat|route|routing|ssh|telnet)
ip access-list [extended{<100-199|<2000-2699>|WORD}|standard{<1-99>|<1300-
1999>|WORD}]
ip default-gateway(A.B.C.D)
ip dhcp [bootp|class|excluded-address|option|ping|pool|restart]
ip dhcp bootp(ignore)
ip dhcp class (class name)
ip dhcp excluded-address(A.B.C.D)
ip dhcp option(option name)
ip dhcp ping(timeout <1-10>)
ip dhcp pool(pool name)
ip dhcp restart
ip domain-lookup
ip domain-name(WORD)
ip http [secure-server|secure-trustpoint(WORD)|server(localhost)]
ip local [pool(default {low-ip-address(A.B.C.D)})]
ip name-server(A.B.C.D)
ip nat <inside | outside> source list <access-list name> interface <interface
name> overload
ip nat <inside | outside> <source | destination> static <local-ip>
[<tcp|udp> <1-65535>] <nat-ip> <1-65535>
ip route(A.B.C.D|A.B.C.D/M)<next hop>
ip routing
ip ssh(port|rsa)
ip ssh(port(<0-65536>))
ip ssh [rsa {keypair-name(WORD)}]
ip telnet [port(<0-65535>)]
NOTE Use an ip access-list extended command to move to the
(config-ext-nacl) instance. For additional information, see
Extended ACL Instance on page 14-1.
Use an
ip access-list standard command to move to the
(config-std-nacl) instance. For additional information, see
Standard ACL Instance on page 15-1.
Use an
ip dhcp pool (pool name) command to move to the (
config-dhcp)
instance. For additional information, see
DHCP Instance on page 17-1.