System information
Command Line Interface
4-222
4
ip address
This command sets the IPv4 address for the currently selected VLAN interface. Use
the no form to restore the default IP address.
Syntax
ip address {ip-address netmask | bootp | dhcp}
no ip address
• ip-address - IP address
• netmask - Network mask for the associated IP subnet. This mask identifies
the host address bits used for routing to specific subnets.
• bootp - Obtains IP address from BOOTP.
• dhcp - Obtains IP address from DHCP.
Default Setting
DHCP
Command Mode
Interface Configuration (VLAN)
Command Usage
• You must assign an IP address to this device to gain management access
over the network or to connect the switch to existing IP subnets. You can
manually configure a specific IP address, or direct the device to obtain an
address from a BOOTP or DHCP server. Valid IP addresses consist of four
numbers, 0 to 255, separated by periods. Anything outside this format will not
be accepted by the configuration program.
• If you select the bootp or dhcp option, IP is enabled but will not function until
a BOOTP or DHCP reply has been received. Requests will be broadcast
show ipv6 mtu Displays maximum transmission unit (MTU) information for IPv6
interfaces
NE, PE 4-238
show ipv6 traffic Displays statistics about IPv6 traffic NE, PE 4-239
clear ipv6 traffic Resets IPv6 traffic counters PE 4-244
ping ipv6 Sends ICMP echo request packets to an IPv6 node on the network NE, PE 4-245
Neighbor Discovery
ipv6 neighbor Configures a static entry in the IPv6 neighbor discovery cache GC 4-246
ipv6 nd dad attempts Configures the number of consecutive neighbor solicitation
messages sent on an interface during duplicate address detection
IC 4-247
ipv6 nd ns interval Configures the interval between IPv6 neighbor solicitation
retransmissions on an interface
IC 4-248
show ipv6 neighbors Displays information in the IPv6 neighbor discovery cache NE, PE 4-250
clear ipv6 neighbors Deletes all dynamic entries in the IPv6 neighbor discovery cache PE 4-251
Table 4-74 Basic IP Configuration Commands
Command Function Mode Page