76
Performing Switch Setup Configuration
Configuration Examples for Performing Switch Setup Configuration
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 hostname 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
switchb-confg
switchc-confg
switchd-confg
prompt>
cat network-confg
ip host switcha 10.0.0.21
ip host switchb 10.0.0.22
ip host switchc 10.0.0.23
ip host switchd 10.0.0.24
DHCP Client Configuration
No configuration file is present on Switch A through Switch D.
Scheduling Software Image Reload: Examples
This example shows how to reload the software on the switch on the current day at 7:30 p.m:
Switch#
reload at 19:30
Reload scheduled for 19:30:00 UTC Wed Jun 5 1996 (in 2 hours and 25 minutes)
Proceed with reload? [confirm]
This example shows how to reload the software on the switch at a future time:
Switch#
reload at 02:00 jun 20
Reload scheduled for 02:00:00 UTC Thu Jun 20 1996 (in 344 hours and 53 minutes)
Proceed with reload? [confirm]
To cancel a previously scheduled reload, use the
reload cancel
privileged EXEC command.
Configuring DHCP Auto-Image Update: Example
Switch#
configure terminal
Switch(config)#
ip dhcp pool
pool1
Switch(dhcp-config)#
network
10.10.10.0 255.255.255.0
Switch(dhcp-config)#
bootfile
config-boot.text
TFTP server name
tftpserver
or
10.0.0.3
tftpserver
or
10.0.0.3
tftpserver
or
10.0.0.3
tftpserver
or
10.0.0.3
Boot filename (configuration file)
(optional)
switcha-confg
switchb-confg
switchc-confg
switchd-confg
Hostname (optional)
switcha
switchb
switchc
switchd
Table 15
DHCP Server Configuration (continued)
Switch A
Switch B
Switch C
Switch D
Содержание IE 4000
Страница 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Страница 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Страница 108: ...104 Configuring Switch Clusters Additional References ...
Страница 128: ...124 Performing Switch Administration Additional References ...
Страница 130: ...126 Configuring PTP ...
Страница 140: ...136 Configuring CIP Additional References ...
Страница 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Страница 192: ...188 Configuring Switch Based Authentication Additional References ...
Страница 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Страница 274: ...270 Configuring SGT Exchange Protocol over TCP SXP and Layer 3 Transport Configuring Cisco TrustSec Caching ...
Страница 298: ...294 Configuring VLANs Additional References ...
Страница 336: ...332 Configuring STP Additional References ...
Страница 408: ...404 Configuring DHCP Additional References ...
Страница 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Страница 490: ...486 Configuring SPAN and RSPAN Additional References ...
Страница 502: ...498 Configuring Layer 2 NAT ...
Страница 559: ...555 Configuring Network Security with ACLs How to Configure Network Security with ACLs Creating a Numbered Extended ACL ...
Страница 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Страница 930: ...926 Configuring IP Unicast Routing Related Documents ...
Страница 956: ...952 Configuring IPv6 Unicast Routing Configuring IPv6 network 2010 AB8 2 48 network 2010 AB8 3 48 exit address family ...
Страница 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Страница 978: ...974 Dying Gasp ...
Страница 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Страница 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Страница 996: ...992 Ethernet CFM ...
Страница 1030: ...1026 Working with the Cisco IOS File System Configuration Files and Software Images Working with Software Images ...
Страница 1066: ...1062 Using an SD Card SD Card Alarms ...