set port membership 2/1−24 static
set cdp enable 2/1−24
set cdp interval 2/1−24 60
set spantree portfast 2/1−24 disable
set spantree portcost 2/11 10
set spantree portcost 2/12 10
set spantree portcost 2/17 10
set spantree portcost 2/18 10
set spantree portcost 2/19 100
set spantree portcost 2/21 10
set spantree portcost 2/1−10,2/13−16,2/20,2/22−24 19
set spantree portpri 2/1−24 32
!
#switch port analyzer
set span enable
!
#cam
set cam agingtime 1−2,10,1003,1005 300
end
Viewing the CLI−Based IOS Configuration
To view the CLI−based IOS configuration, use the show running−config command. Let’s take a look at an
example of the output from this command:
1912EN#show running−config
Building configuration…
Current configuration:
!
!
vtp domain "coriolis"
!
mac−address−table permanent 0030.194C.80A6 Ethernet 0/1
mac−address−table permanent 0000.0C00.4BD0 Ethernet 0/1
mac−address−table permanent 00A0.2457.2877 Ethernet 0/1
mac−address−table permanent 0000.0C33.4283 Ethernet 0/5
mac−address−table permanent 0000.0C33.4283 Ethernet 0/10
mac−address−table permanent 0000.0C33.4286 Ethernet 0/10
tftp server "68.127.186.39"
!
hostname "1912EN"
!
monitor−port monitored 0/1
monitor−port
!
network−port 0/8
!
address−violation ignore
!
multicast−store−and−forward
!
ip default−gateway 63.78.39.254
ip domain−name "rcsis.com"
ip name−server 208.45.228.3
ip name−server 208.45.228.4
!
snmp−server location "Sean’s Lab 1900EN"
snmp−server contact "Sean Odom"
!
enable password level 15 "book1"
!
interface Ethernet 0/1
320
Summary of Contents for Catalyst 1900 Series
Page 1: ......