3-17
Cisco Catalyst Blade Switch 3020 for HP Software Configuration Guide
OL-8915-03
Chapter 3 Assigning the Switch IP Address and Default Gateway
Modifying the Startup Configuration
!
interface GigabitEthernet0/21
switchport access vlan 22
switchport trunk native vlan 2
switchport mode access
switchport backup interface Gi0/23
!
interface GigabitEthernet0/22
switchport access vlan 21
switchport trunk native vlan 21
switchport mode access
!
interface GigabitEthernet0/23
switchport access vlan 22
switchport trunk native vlan 2
switchport mode access
!
interface GigabitEthernet0/24
switchport access vlan 2
switchport trunk native vlan 2
!
interface Vlan1
no ip 2.2.2.122 255.255.255.0
no ip route-cache
!
ip http server
snmp-server community public RO
!
control-plane
!
To store the configuration or changes you have made to your startup configuration in flash memory, enter
this privileged EXEC command:
Switch#
copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
This command saves the configuration settings that you made. If you fail to do this, your configuration
will be lost the next time you reload the system. To display information stored in the NVRAM section
of flash memory, use the
show startup-config
or
more startup-config
privileged EXEC command.
For more information about alternative locations from which to copy the configuration file, see
Appendix B, “Working with the Cisco IOS File System, Configuration Files, and Software Images.”
Modifying the Startup Configuration
These sections describe how to modify the switch startup configuration:
•
Default Bootup Configuration, page 3-18
•
Automatically Downloading a Configuration File, page 3-18
•
Booting Up Manually, page 3-19
•
Booting Up a Specific Software Image, page 3-19
•
Controlling Environment Variables, page 3-20
See also
Appendix B, “Working with the Cisco IOS File System, Configuration Files, and Software
Images,”
for information about switch configuration files.