Configuring Ip Parameters - Layer 2 Switches; Configuring The Management Ip Address And Specifying The Default Gateway; Configuring Domain Name Server (Dns) Resolver - Foundry Networks FESX Manual

Fastiron x-series
Hide thumbs Also See for FESX:
Table of Contents

Advertisement

Configuring IP Parameters – Layer 2 Switches
The following sections describe how to configure IP parameters on a Foundry Layer 2 Switch.
NOTE: This section describes how to configure IP parameters for Layer 2 Switches. For IP configuration
information for Layer 3 Switches, see "Configuring IP Parameters – Layer 3 Switches" on page 16-17.

Configuring the Management IP Address and Specifying the Default Gateway

To manage a Layer 2 Switch using Telnet or Secure Shell (SSH) CLI connections or the Web management
interface, you must configure an IP address for the Layer 2 Switch. Optionally, you also can specify the default
gateway.
Foundry devices support both classical IP network masks (Class A, B, and C sub-net masks, and so on) and
Classless Interdomain Routing (CIDR) network prefix masks.
To enter a classical network mask, enter the mask in IP address format. For example, enter
"209.157.22.99 255.255.255.0" for an IP address with a Class-C sub-net mask.
To enter a prefix network mask, enter a forward slash ( / ) and the number of bits in the mask immediately
after the IP address. For example, enter "209.157.22.99/24" for an IP address that has a network mask with
24 significant bits (ones).
By default, the CLI displays network masks in classical IP address format (example: 255.255.255.0). You can
change the display to prefix format. See "Changing the Network Mask Display to Prefix Format" on page 16-57.
To assign an IP address to a Foundry Layer 2 Switch, enter a command such as the following at the global
CONFIG level:
FESX424 Switch(config)# ip address 192.45.6.110 255.255.255.0
Syntax: ip address <ip-addr> <ip-mask>
or
Syntax: ip address <ip-addr>/<mask-bits>
NOTE: You also can enter the IP address and mask in CIDR format, as follows:
FESX424 Switch(config)# ip address 192.45.6.1/24
To specify the Layer 2 Switch's default gateway, enter a command such as the following:
FESX424 Switch(config)# ip default-gateway 192.45.6.1 255.255.255.0
Syntax: ip default-gateway <ip-addr>
or
Syntax: ip default-gateway <ip-addr>/<mask-bits>

Configuring Domain Name Server (DNS) Resolver

The Domain Name Server (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 Foundry Layer 2 Switch or Layer 3 Switch and thereby
recognize all hosts within that domain. After you define a domain name, the Foundry 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 Foundry 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:
FESX424 Switch# ping nyc01
FESX424 Switch# ping nyc01.newyork.com
December 2005
© Foundry Networks, Inc.
Configuring IP
16 - 51

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents