Example Configuration - Cisco 2950 - Catalyst Switch Configuration Manual

Software configuration guide
Hide thumbs Also See for 2950 - Catalyst Switch:
Table of Contents

Advertisement

Chapter 5
Assigning the Switch IP Address and Default Gateway

Example Configuration

Figure 5-3
Figure 5-3
Cisco router
Table 5-2
Table 5-2
DHCP Server Configuration
Switch-1
Binding key
00e0.9f1e.2001
(hardware address)
IP address
10.0.0.21
Subnet mask
255.255.255.0
Router address
10.0.0.10
DNS server address
10.0.0.2
TFTP server name
tftpserver or 10.0.0.3
Boot filename
switcha-confg
(configuration file)
(optional)
Host name (optional)
switcha
DNS Server Configuration
The DNS server maps the TFTP server name tftpserver to IP address 10.0.0.3.
TFTP Server Configuration (on UNIX)
The TFTP server base directory is set to /tftpserver/work/. This directory contains the network-confg file
used in the two-file read method. This file contains the host name to be assigned to the switch based on
its IP address. The base directory also contains a configuration file for each switch (switcha-confg,
switchb-confg, and so forth) as shown in this display:
prompt> cd /tftpserver/work/
prompt> ls
network-confg
switcha-confg
78-11380-10
shows a sample network for retrieving IP information by using DHCP-based autoconfiguration.
DHCP-Based Autoconfiguration Network Example
Switch 1
Switch 2
00e0.9f1e.2001
00e0.9f1e.2002
10.0.0.10
10.0.0.1
DHCP server
shows the configuration of the reserved leases on the DHCP server.
Switch-2
00e0.9f1e.2002
10.0.0.22
255.255.255.0
10.0.0.10
10.0.0.2
tftpserver or 10.0.0.3
switchb-confg
switchb
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
Switch 3
00e0.9f1e.2003
00e0.9f1e.2004
10.0.0.2
10.0.0.3
DNS server
TFTP server
(tftpserver)
Switch-3
00e0.9f1e.2003
10.0.0.23
255.255.255.0
10.0.0.10
10.0.0.2
tftpserver or 10.0.0.3
switchc-confg
switchc
Assigning Switch Information
Switch 4
Switch-4
00e0.9f1e.2004
10.0.0.24
255.255.255.0
10.0.0.10
10.0.0.2
tftpserver or 10.0.0.3
switchd-confg
switchd
5-9

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2955

Table of Contents