Cisco Systems 2940 Switch User Manual


 
4-10
Catalyst 2940 Switch Software Configuration Guide
78-15507-02
Chapter 4 Assigning the Switch IP Address and Default Gateway
Checking and Saving the Running Configuration
To remove the switch IP address, use the no ip address interface configuration command. If you are
removing the address through a Telnet session, your connection to the switch will be lost. To remove the
default gateway address, use the no ip default-gateway global configuration command.
For information on setting the switch system name, protecting access to privileged EXEC commands,
and setting time and calendar services, see Chapter 6, “Administering the Switch.”
Checking and Saving the Running Configuration
You can check the configuration settings that you entered or changes that you made by entering this
privileged EXEC command:
Switch# show running-config
Building configuration...
Current configuration : 1720 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname 2940-Switch
!
enable secret level 5 5 $1$jbIa$5u.vTJQ5Nm0Qs62DvHKC2.
enable password password
!
ip subnet-zero
!
vtp domain perd-group
vtp mode transparent
cluster enable 2940Cluster 0
cluster member 1 mac-address 0003.fd62.8d00
!
port-channel load-balance dst-mac
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
vlan 2-3
!
interface FastEthernet0/1
no ip address
storm-control broadcast level 99.99 99.98
storm-control multicast level 99.99 99.98
storm-control unicast level 99.99 99.98
storm-control action shutdown
!
interface FastEthernet0/2
no ip address
duplex half
speed 10
!
<output truncated>
interface GigabitEthernet0/1
no ip address
!
interface Vlan1
ip address 172.20.139.142 255.255.255.224