Specifications

4-11
Catalyst 2970 Switch Software Configuration Guide
78-15462-03
Chapter 4 Assigning the Switch IP Address and Default Gateway
Checking and Saving the Running Configuration
Checking and Saving the Running Configuration
You can check the configuration settings you entered or changes you made by entering this privileged
EXEC command:
Switch# show running-config
Building configuration...
Current configuration: 1363 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch A
!
enable secret 5 $1$ej9.$DMUvAUnZOAmvmgqBEzIxE0
!
interface gigabitethernet0/1
no switchport
ip address 172.20.137.50 255.255.255.0
!
interface gigabitethernet0/2
!
interface gigabitethernet0/3
mvr type source
!
interface gigabitethernet0/4
!
interface gigabitethernet0/5
!
interface gigabitethernet0/6
!
interface gigabitethernet0/7
!
interface gigabitethernet0/8
!
interface gigabitethernet0/9
no ip address
!
interface gigabitethernet0/10
!
interface gigabitethernet0/11
!
interface gigabitethernet0/12
...!
interface VLAN1
ip address 172.20.137.50 255.255.255.0
no ip directed-broadcast
!
ip default-gateway 172.20.137.1 !
!
snmp-server community private RW
snmp-server community public RO
snmp-server community private@es0 RW
snmp-server community public@es0 RO
snmp-server chassis-id 0x12
!
end