Example Configuration - Cisco WS-C3560-48PS-S Software Configuration Manual

Software configuration guide
Hide thumbs Also See for WS-C3560-48PS-S:
Table of Contents

Advertisement

Assigning Switch Information
Note
The switch broadcasts TFTP server requests if the TFTP server is not obtained from the DHCP replies,
if all attempts to read the configuration file through unicast transmissions fail, or if the TFTP server
name cannot be resolved to an IP address.

Example Configuration

Figure 4-3
Figure 4-3
Cisco router
Table 4-2
running on your switch.
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)
Catalyst 3560 Switch Software Configuration Guide
4-8
After obtaining its host name from the default configuration file or the DHCP reply, the switch reads
the configuration file that has the same name as its host name (hostname-confg or hostname.cfg,
depending on whether network-confg or cisconet.cfg was read earlier) from the TFTP server. If the
cisconet.cfg file is read, the filename of the host is truncated to eight characters.
If the switch cannot read the network-confg, cisconet.cfg, or the hostname file, it reads the
router-confg file. If the switch cannot read the router-confg file, it reads the ciscortr.cfg file.
shows a sample network for retrieving IP information by using DHCP-based autoconfiguration.
DHCP-Based Autoconfiguration Network Example
Switch A
00e0.9f1e.2001
10.0.0.10
DHCP server
shows the configuration of the reserved leases on the DHCP server or the DHCP server feature
Switch A
00e0.9f1e.2001
10.0.0.21
255.255.255.0
10.0.0.10
10.0.0.2
maritsu or 10.0.0.3
switcha-confg
switcha
Chapter 4
Switch B
Switch C
00e0.9f1e.2002
00e0.9f1e.2003
10.0.0.1
10.0.0.2
DNS server
Switch B
00e0.9f1e.2002
10.0.0.22
255.255.255.0
10.0.0.10
10.0.0.2
maritsu or 10.0.0.3
switchb-confg
switchb
Assigning the Switch IP Address and Default Gateway
Switch D
00e0.9f1e.2004
10.0.0.3
TFTP server
(maritsu)
Switch C
Switch D
00e0.9f1e.2003
00e0.9f1e.2004
10.0.0.23
10.0.0.24
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
switchc-confg
switchd-confg
switchc
switchd
78-16156-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents