Purpose
Command or Action
(Optional) Saves your entries in the configuration file.
copy running-config startup-config
Example:
Switch#
copy running-config startup-config
Step 6
What to Do Next
See the
“
Configuring DHCP
”
section of the
“
IP Addressing and Services
”
section of the
Cisco IOS IP
Configuration Guide, Release 12.4
for these procedures:
•
Checking (validating) the relay agent information
•
Configuring the relay agent forwarding policy
Specifying the Packet Forwarding Address
If the DHCP server and the DHCP clients are on different networks or subnets, you must configure the switch
with the
ip helper-address address
interface configuration command. The general rule is to configure the
command on the Layer 3 interface closest to the client. The address used in the
ip helper-address
command
can be a specific DHCP server IP address, or it can be the network address if other DHCP servers are on the
destination network segment. Using the network address enables any DHCP server to respond to requests.
Beginning in privileged EXEC mode, follow these steps to specify the packet forwarding address:
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface vlan vlan-id
4.
ip address ip-address subnet-mask
5.
ip helper-address address
6.
end
7.
Use one of the following:
•
interface range port-range
•
interface interface-id
8.
switchport mode access
9.
switchport access vlan vlan-id
10.
end
11.
show running-config
12.
copy running-config startup-config
Catalyst 2960-X Switch Security Configuration Guide, Cisco IOS Release 15.0(2)EX
OL-29048-01
219
Configuring DHCP
Specifying the Packet Forwarding Address