Ip default-gateway – Brocade Communications Systems Brocate Ethernet Access Switch 6910 User Manual

Page 641

Advertising
background image

Brocade 6910 Ethernet Access Switch Configuration Guide

591

53-1002581-01

IPv4 Interface

29

If bootp or dhcp options are selected, the system will immediately start broadcasting service
requests for all VLANs configured to obtain address assignments through BOOTP or DHCP. IP is
enabled but will not function until a BOOTP or DHCP reply has been received. Requests are
broadcast periodically by the router in an effort to learn its IP address. (BOOTP and DHCP
values can include the IP address, default gateway, and subnet mask). If the DHCP/BOOTP
server is slow to respond, you may need to use the

ip dhcp restart client

command to re-start

broadcasting service requests, or reboot the switch.

NOTE

Management access and routing functions are supported for IPv4 interfaces, but only management
access is supported for IPv6 interfaces at this time.

Example

In the following example, the device is assigned an address in VLAN 1.

Console(config)#interface vlan 1

Console(config-if)#ip address 192.168.1.5 255.255.255.0

Console(config-if)#

Related Commands

ip dhcp restart client (582)
ip default-gateway (591)
ipv6 address (601)

ip default-gateway

This command specifies the default gateway for destinations not found in the local routing tables.
Use the no form to remove a default gateway.

Syntax

ip default-gateway gateway

no ip default-gateway

gateway - IP address of the default gateway

Default Setting

No default gateway is established.

Command Mode

Global Configuration

Command Usage

Static routes can also be defined using the

ip route

command to ensure that traffic to the

designated address or subnet passes through a preferred gateway.

A default gateway can only be successfully set when a network interface that directly connects
to the gateway has been configured on the switch.

A gateway must be defined if the management station is located in a different IP segment.

Use the

show ip route

command to display the default gateway.

Advertising