3-6
Cisco Systems IntelligentGigabit Ethernet Switch Modules for the IBMBladeCenter, Software Configuration Guide
24R9746
Chapter3 Assigning the Switch IP Address and Default Gateway
Modifying the Startup Configuration
!
ip default-gateway 172.20.138.178
ip http server
!
ip access-list extended SecWiz_Gi0_1_out_ip
ip access-list extended SecWiz_Gi0_2_in_ip
deny ip any host 1.1.1.1
permit ip any any
!
snmp-server community public RO
snmp-server community private RW
!
line con 0
login local
line vty 0 4
login local
line vty 5 15
login local
!
end
To store the configuration or changes you have made to your startup configuration in flash memory, enter
the copy running-config startup-config privileged EXEC command. 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.
Switch# copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
For more information about alternative locations from which to c opy the configuration file, see
Appendix B, “Working with the Cisco IOS File System, Configuration Files, and Software Images.”
Modifying the Startup Configuration
This section describes how to modify the switch startup configuration. It contains this configuration
information:
Default Boot Configuration, page 3-7
Specifying the Filename to Read and Write the System Configuration, page 3-7
Booting a Specific Software Image, page 3-8
Controlling Environment Variables, page 3-8