Syntax:
ip address
ip-addr
/
mask-bits
You also can enter the IP address and mask in CIDR format, as follows.
device(config)# ip address 10.45.6.1/24
To specify the Layer 2 switch default gateway, enter a command such as the following.
device(config)# ip default-gateway 10.45.6.1
Syntax:
ip default-gateway
ip-addr
NOTE
When configuring an IP address on a Layer 2 switch that has multiple VLANs, make sure the configuration includes a
designated management VLAN that identifies the VLAN to which the global IP address belongs. Refer to "Designated VLAN
for Telnet management sessions to a Layer 2 Switch" in the
FastIron Ethernet Switch Security Configuration Guide
.
Configuring Domain Name System resolver
The Domain Name System (DNS) resolver feature lets you use a host name to perform Telnet, ping, and traceroute commands. You can
also define a DNS domain on a Brocade Layer 2 switch or Layer 3 switch and thereby recognize all hosts within that domain. After you
define a domain name, the Brocade Layer 2 switch or Layer 3 switch automatically appends the appropriate domain to the host and
forwards it to the domain name server.
For example, if the domain "newyork.com" is defined on a Brocade Layer 2 switch or Layer 3 switch and you want to initiate a ping to
host "NYC01" on that domain, you need to reference only the host name in the command instead of the host name and its domain
name. For example, you could enter either of the following commands to initiate the ping.
device# ping nyc01
device# ping nyc01.newyork.com
Defining a DNS entry
You can define up to four DNS servers for each DNS entry. The first entry serves as the primary default address. If a query to the primary
address fails to be resolved after three attempts, the next gateway address is queried (also up to three times). This process continues for
each defined gateway address until the query is resolved. The order in which the default gateway addresses are polled is the same as the
order in which you enter them.
To define four possible default DNS gateway addresses, enter command such as the following:
device(config)# ip dns server-address 10.157.22.199 10.96.7.15 10.95.7.25 10.98.7.15
Syntax:
ip dns server-address
ip-addr
[
ip-addr
] [
ip-addr
] [
ip-addr
]
In this example, the first IP address in the
ip dns server-address
command becomes the primary gateway address and all others are
secondary addresses. Because IP address 10.98.7.15 is the last address listed, it is also the last address consulted to resolve a query.
Using a DNS name to initiate a trace route
Suppose you want to trace the route from a Brocade Layer 2 switch to a remote server identified as NYC02 on domain newyork.com.
Because the newyork.com domain is already defined on the Layer 2 switch, you need to enter only the host name, NYC02, as noted in
the following command.
device# traceroute nyc02
Syntax:
traceroute host-ip-addr
[
maxttl
value
] [
minttl
value
] [
numeric
] [
timeout
value
] [
source-ip
ip-addr
]
Configuring IP parameters - Layer 2 switches
FastIron Ethernet Switch Layer 3 Routing
96
53-1003627-04
Summary of Contents for FastIron SX 1600
Page 2: ...FastIron Ethernet Switch Layer 3 Routing 2 53 1003627 04 ...
Page 16: ...FastIron Ethernet Switch Layer 3 Routing 16 53 1003627 04 ...
Page 20: ...FastIron Ethernet Switch Layer 3 Routing 20 53 1003627 04 ...
Page 142: ...FastIron Ethernet Switch Layer 3 Routing 142 53 1003627 04 ...
Page 150: ...FastIron Ethernet Switch Layer 3 Routing 150 53 1003627 04 ...
Page 200: ...FastIron Ethernet Switch Layer 3 Routing 200 53 1003627 04 ...
Page 214: ...FastIron Ethernet Switch Layer 3 Routing 214 53 1003627 04 ...
Page 350: ...FastIron Ethernet Switch Layer 3 Routing 350 53 1003627 04 ...
Page 476: ...FastIron Ethernet Switch Layer 3 Routing 476 53 1003627 04 ...
Page 588: ...FastIron Ethernet Switch Layer 3 Routing 588 53 1003627 04 ...