HP (Hewlett-Packard) 2520 Switch User Manual


 
Configuring IP Addressing
IP Preserve: Retaining VLAN-1 IP Addressing Across Configuration File Downloads
ProCurve# show run
Running configuration:
; J9137A Configuration Editor; Created on release #S.14.XX
hostname "ProCurve"
trunk A11-A12 Trk1 Trunk
ip default-gateway 10.10.10.1
snmp-server community "public" Unrestricted
Because switch 4 (figure 8-7) received
vlan 1
its most recent IP addressing from a
DHCP/Bootp server, the switch
ignores the ip preserve command and
name "DEFAULT_VLAN"
untagged A1,A7-A10,A13-A24,B1-B24,Trk1
implements the IP addressing
ip address 10.10.10.5 255.255.255.0
included in this file.
tagged A4-A6
no untagged A2-A3
exit
vlan 2
name "VLAN2"
untagged A2-A3
no ip address
exit
spanning-tree Trk1 priority 4
password manager
password operator
Figure 8-9. Configuration File in TFTP Server, with Dedicated IP Addressing Instead of DHCP/Bootp
To summarize the IP Preserve effect on IP addressing:
If the switch received its most recent VLAN 1 IP addressing from a DHCP/
Bootp server, it ignores the IP Preserve command when it downloads the
configuration file, and implements whatever IP addressing instructions
are in the configuration file.
If the switch did not receive its most recent VLAN 1 IP addressing from a
DHCP/Bootp server, it retains its current IP addressing when it downloads
the configuration file.
The content of the downloaded configuration file determines the IP
addresses and subnet masks for other VLANs.
8-19