System information
IP Interface Commands
4-221
4
IP Interface Commands
An IP addresses may be used for management access to the switch over your
network. An IPv4 address for this switch is obtained via DHCP by default. You can
manually configure a specific IPv4 address, or direct the device to obtain an address
from a BOOTP or DHCP server when it is powered on. Both IP Version 4 and
Version 6 addresses can be defined and used simultaneously to access the switch.
An IPv6 address can either be manually configured or dynamically generated. You
may also need to a establish an IPv4 or IPv6 default gateway between this device
and management stations that exist on another network segment.
Table 4-74 Basic IP Configuration Commands
Command Function Mode Page
IP Version 4
ip address Sets the IP address for the current interface IC 4-222
ip default-gateway Defines the default gateway through which this router can reach
other subnetworks
GC 4-223
ip dhcp restart Submits a BOOTP or DHCP client request PE 4-224
show ip interface Displays the IP settings for this device PE 4-224
show ip redirects Displays the default gateway configured for this device PE 4-225
ping Sends ICMP echo request packets to another node on the network NE, PE 4-225
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 4-226
ipv6 general-prefix Defines an IPv6 general prefix for the network address segment GC 4-227
show ipv6
general-prefix
Displays all configured IPv6 general prefixes NE, PE 4-228
ipv6 address Configures an IPv6 global unicast address with an option to use an
IPv6 general prefix, and enables IPv6 on an interface
IC 4-229
ipv6 address
autoconfig
Enables automatic configuration of IPv6 global unicast addresses
on an interface and enables IPv6 on the interface
IC 4-230
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 4-231
ipv6 address
link-local
Configures an IPv6 link-local address for an interface and enables
IPv6 on the interface
IC 4-233
show ipv6 interface Displays the usability and configured settings for IPv6 interfaces NE, PE 4-234
ipv6 default-gateway Sets an IPv6 default gateway for traffic GC 4-236
show ipv6
default-gateway
Displays the current IPv6 default gateway NE, PE 4-237
ipv6 mtu Sets the size of the maximum transmission unit (MTU) for IPv6
packets sent on an interface
IC 4-237
Note: "ipv6 mtu" command is not supported with this product.