beautypg.com

Configuring ipv6 autoconfiguration, Displaying the network interface – Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 69

background image

NOTE
When you connect the DHCP-enabled switch to the network and power on the switch, the switch
automatically obtains the Ethernet IP address, prefix length, and default gateway address from the
DHCP server. The DHCP client can only connect to a DHCP server on the same subnet as the switch.
Do not enable DHCP if the DHCP server is not on the same subnet as the switch.

The following example enables DHCP for IPv4 addresses.

switch(config)# interface management 1/1

switch(config-Management-1/1)# ip address dhcp

The following example enables DHCP for IPv6 addresses.

switch(config)# interface management 1/1

switch(config-Management-1/1)# ipv6 address dhcp

The show running-config interface management command indicates whether DHCP is enabled. The
following example shows a switch with DHCP enabled for IPv4 addresses.

switch# show running-config interface management

interface Management 2/0

ip address dhcp

ip route 0.0.0.0/0 10.24.80.1

ip address 10.24.73.170/20

no ipv6 address autoconfig

NOTE
Enabling DHCP removes all configured static IP addresses.

Configuring IPv6 autoconfiguration

Refer also to

Stateless IPv6 autoconfiguration

on page 53.

1. In privileged EXEC mode, issue the configure terminal command to enter global configuration

mode.

2. Take the appropriate action based on whether you want to enable or disable IPv6 autoconfiguration.

• Enter the ipv6 address autoconfig command to enable IPv6 autoconfiguration for all managed

entities on the target platform.

• Enter the no ipv6 address autoconfig command to disable IPv6 autoconfiguration for all

managed entities on the target platform.

NOTE
On the Brocade VDX 8770, the autoconfig command can be issued only on the interface rbridge-
id
/1. However, this operation enables auto-configuration for the entire chassis.

Displaying the network interface

If an IP address has not been assigned to the network interface, you must connect to the Network OS
CLI using a console session on the serial port. Otherwise, connect to the switch through Telnet or SSH.
Enter the show interface management command to display the management interface.

The following example shows the management interface on a Brocade VDX compact switch.

switch# show interface management

interface Management 9/0

ip address 10.24.81.65/20

ip route 0.0.0.0/0 10.24.80.1

Configuring IPv6 autoconfiguration

Network OS Administrator’s Guide

69

53-1003225-04