beautypg.com

Configuring domain name server (dns) resolver, Deleting an ip address – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 70

background image

56

Brocade Virtual ADX Switch and Router Guide

53-1003246-01

Configuring IP parameters

4

NOTE

The Virtual ADX uses the lowest MAC address on the device (the MAC address of port 1 or 1/1) as
the MAC address for all ports within all virtual interfaces you configure on the device.

To add a virtual interface to a VLAN and configure an IP address on the interface, enter commands
such as the following.

Virtual ADX(config)# vlan 2 name IP-Subnet_10.1.2.0/24

Virtual ADX(config-vlan-2)# untag e1 to 4

Virtual ADX(config-vlan-2)# router-interface ve1

Virtual ADX(config-vlan-2)# interface ve1

Virtual ADX(config-vif-1)# ip address 10.1.2.1/24

The first two commands in this example create a Layer 3 protocol-based VLAN name
“IP-Subnet_10.1.2.0/24” and add a range of untagged ports to the VLAN. The router-interface
command creates virtual interface 1 as the routing interface for the VLAN. The last two commands
change to the interface configuration level for the virtual interface and assign an IP address to the
interface.

Syntax: router-interface ve num

Syntax: interface ve num

Refer to the syntax description in

“Assigning an IP address to an Ethernet port”

on page 55.

Deleting an IP address

To delete an IP address, enter a command such as the following.

Virtual ADX(config-if-1)# no ip address 10.1.2.1

This command deletes IP address 10.1.2.1. You do not need to enter the subnet mask.

To delete all IP addresses from an interface, enter the following command.

Virtual ADX(config-if-1)# no ip address *

Syntax: no ip address ip-addr | *

Configuring Domain Name Server (DNS) resolver

The Domain Name Server (DNS) resolver is a feature in a Layer 3 Switch that sends and receives
queries to and from the DNS server on behalf of a client. On most Brocade devices, the feature lets
you use one domain name to perform Telnet, ping, traceroute and other DNS query commands. You
define one domain name on a Brocade Layer 3 Switch and up to four DNS servers. Host names and
their IP addresses are configured on the DNS servers.

When a client performs a DNS query, all hosts within that domain can be recognized. After you
define a domain name, the Brocade Layer 3 Switch automatically appends the appropriate domain
to a host and forwards it to the DNS servers for resolution.

For example, if the domain “eng.company.com” is defined on a Brocade Layer 3 Switch and you
want to initiate a ping to “mary”. You need to reference only the host name instead of the host
name and its domain name. For example, you could enter the following command to initiate the
ping.

U:>ping mary