Verifying how IP preserve was implemented in a switch

After the switch reboots, enter the show run command. The following example shows all configurations settings which have been copied into the startup-config file except for the IPv6 address of VLAN 1 (2001:db8::214:c2ff:fe4c:e480) and the default IPv6 gateway (2001:db8:0:7::5), which were retained.

If a switch received its IPv6 address from a DHCP server, the "ip address" field under "vlan 1" would display dhcp-bootp.

Configuration file with dedicated IP addressing

Switch(config)# show run

Running configuration:

; J8715A Configuration Editor; Created on release #K.14.01

hostname " Switch"
module 1 type J8702A
module 2 type J8705A
trunk 11-12 Trk1 Trunk
ip default-gateway 2001:db8:0:7::5
snmp-server community "public" Unrestricted
vlan 1
   name "DEFAULT_VLAN"
   untagged 1-10,13-24,1-24,Trk1
   ip address 2001:db8::214:c2ff:fe4c:e480
spanning-tree Trk1 priority 4
password manager
password operator


Because the switch’s IPv6 address and default gateway were statically configured (not assigned by a DHCP server), when the switch boots up with the IP Preserve startup configuration file (see IP preserve for IPv6), its current IPv6 address, subnet mask, and default gateway are not changed. If a switch’s current IP address was acquired from a DHCP/Bootp server, the IP Preserve statement is ignored and the IP addresses in the downloaded configuration file are implemented.

More information

For more information on how to use the IP preserve feature, see the current ArubaOS-Switch Basic Operation Guide.