beautypg.com

Modifying the startup configuration – IBM 12.1(22)EA6 User Manual

Page 50

background image

3-6

Cisco Systems Intelligent Gigabit Ethernet Switch Modules for the IBM BladeCenter, Software Configuration Guide

24R9746

Chapter 3 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 copy 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