4-12

Catalyst 2950 Desktop Switch Software Configuration Guide
78-14982-01
Chapter 4 Assigning the Switch IP Address and Default Gateway
Checking and Saving the Running Configuration
no ip address
shutdown
!
interface Vlan1
ip address 172.20.139.133 255.255.255.224
no ip route-cache
!
ip default-gateway 172.20.139.129
ip http server
!
ip access-list extended CMP-NAT-ACL
!
snmp-server engineID local 8000000903000005742809C1
snmp-server community public RO
snmp-server community public@es0 RO
snmp-server enable traps MAC-Notification
!
line con 0
password letmein
line vty 0 4
password letmein
login
line vty 5 15
password letmein
login
!
end

To store the con figurati on or c ha nges y ou have made t o your st artup c onfigura tion i n Fl as h m emor y,

enter this privileged EXEC command:

Switch# copy running-config startup-config
Destination filename [startup-config]?
Building configuration...

This com ma nd saves the configurati on set tings that you mad e. If you fail to do thi s, you r co nfiguration

will be lost the next time you reload the system. To display information stored in the NVRAM section

of Flas h m emo ry, u se th e show st artup-config or more startup-config privileged EXEC command.