Ip address – Brocade Communications Systems Brocate Ethernet Access Switch 6910 User Manual

Page 640

Advertising
background image

590

Brocade 6910 Ethernet Access Switch Configuration Guide

53-1002581-01

IPv4 Interface

29

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 | ip-address/prefix-length} [secondary]

[default-gateway ip-address] | bootp | dhcp}

no ip address [ip-address netmask [secondary] | dhcp]

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.

prefix-length - A decimal value indicating how many contiguous bits (from the left) of the
address comprise the network portion of the address. (Range: 0-32)

secondary - Specifies a secondary IP address.

default-gateway - The default gateway. (Refer to the

ip default-gateway

command which

provides the same function.)

bootp - Obtains IP address from BOOTP.

dhcp - Obtains IP address from DHCP.

Default Setting

DHCP

Command Mode

Interface Configuration (VLAN)

Command Usage

An IP address must be assigned to this device to gain management access over the network or
to connect the switch to existing IP subnets. A specific IP address can be manually configured,
or the switch can be directed to obtain an address from a BOOTP or DHCP server. Valid IP
addresses consist of four numbers, 0 to 255, separated by periods. Anything other than this
format is not be accepted by the configuration program.

An interface can have only one primary IP address, but can have many secondary IP
addresses. In other words, secondary addresses need to be specified if more than one IP
subnet can be accessed through this interface. Note that a secondary address cannot be
configured prior to setting the primary IP address, and the primary address cannot be removed
if a secondary address is still present. Also, if any router/switch in a network segment uses a
secondary address, all other routers/switches in that segment must also use a secondary
address from the same network or subnet address space.

show ip traffic

Displays statistics for IP, ICMP, UDP, TCP and ARP protocols

PE

traceroute

Shows the route packets take to the specified host

PE

ping

Sends ICMP echo request packets to another node on the network

NE, PE

TABLE 142

Basic IP Configuration Commands (Continued)

Command

Function

Mode

Advertising