IP I
NTERFACE
C
OMMANDS
36-2
Basic IP Configuration
Table 36-2 Basic IP Configuration Commands
Command Function Mode Page
IP Version 4
ip address Sets the IP address for the current
interface
IC 36-4
ip default-gateway Defines the default gateway through which
this router can reach other subnetworks
GC 36-6
ip dhcp restart client Submits a BOOTP or DHCP client
request
PE 36-7
show ip interface Displays the IP settings for this device PE 36-8
show ip redirects Displays the default gateway configured
for this device
PE 36-8
ping Sends ICMP echo request packets to
another node on the network
NE,
PE
36-9
IP Version 6
Interface Address Configuration and Utilities
ipv6 enable Enables IPv6 on an interface that has not
been configured with an explicit IPv6
address
IC 36-10
ipv6 general-prefix Defines an IPv6 general prefix for the
network address segment
GC 36-12
show ipv6
general-prefix
Displays all configured IPv6 general
prefixes
NE,
PE
36-13
ipv6 address Configures an IPv6 global unicast address
with an option to use an IPv6 general
prefix, and enables IPv6 on an interface
IC 36-14
ipv6 address
autoconfig
Enables automatic configuration of IPv6
global unicast addresses on an interface
and enables IPv6 on the interface
IC 36-16
ipv6 address eui-64 Configures an IPv6 global unicast address
for an interface using an EUI-64 interface
ID in the low order 64 bits, and enables
IPv6 on the interface
IC 36-18