hit counter script

Cisco Catalyst 2950 Software Configuration Manual page 95

Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

Chapter 4
Assigning the Switch IP Address and Default Gateway
Table 4-2
DHCP Server Configuration
Binding key (hardware
address)
IP address
Subnet mask
Router address
DNS server address
TFTP server name
Boot filename
(configuration file)
(optional)
Host name (optional)
DNS Server Configuration
The DNS server maps the TFTP server name maritsu 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 (switch1-confg,
switch2-confg, and so forth) as shown in this example:
prompt> cd /tftpserver/work/
prompt> ls
network-confg
switch1-confg
switch2-confg
switch3-confg
switch4-confg
prompt> cat network-confg
ip host switch1 10.0.0.21
ip host switch2 10.0.0.22
ip host switch3 10.0.0.23
ip host switch4 10.0.0.24
DHCP Client Configuration
No configuration file is present on Switch 1 through Switch 4.
Configuration Explanation
In
Figure
78-11380-04
Switch-1
Switch-2
00e0.9f1e.2001
00e0.9f1e.2002
10.0.0.21
10.0.0.22
255.255.255.0
255.255.255.0
10.0.0.10
10.0.0.10
10.0.0.2
10.0.0.2
maritsu or 10.0.0.3
maritsu or 10.0.0.3
switch1-confg
switch2-confg
switch1
switch2
4-3, Switch 1 reads its configuration file as follows:
It obtains its IP address 10.0.0.21 from the DHCP server.
If no configuration filename is given in the DHCP server reply, Switch 1 reads the network-confg
file from the base directory of the TFTP server.
It adds the contents of the network-confg file to its host table.
Switch-3
00e0.9f1e.2003
10.0.0.23
255.255.255.0
10.0.0.10
10.0.0.2
maritsu or 10.0.0.3
switch3-confg
switch3
Catalyst 2950 Desktop Switch Software Configuration Guide
Assigning Switch Information
Switch-4
00e0.9f1e.2004
10.0.0.24
255.255.255.0
10.0.0.10
10.0.0.2
maritsu or 10.0.0.3
switch4-confg
switch4
4-9

Advertisement

Table of Contents
loading

Table of Contents