CISCO CATALYST CONFIGURATION EXAMPLE



begin
set password telnetpassword
set enablepass enablepassword
set prompt BDS-Switch-1
set length 24 default
set logout 20
!
#system
set system baud  9600
set system modem disable
set system name  BDS-1-5500
set system location BDS House
set system contact  Steve Warner
!
#snmp
set snmp community read-only      public
set snmp community read-write     bdsltd
set snmp community read-write-all bdsltd
set snmp rmon enable
set snmp trap enable  module
set snmp trap enable  chassis
set snmp trap enable  bridge
set snmp trap enable  repeater
set snmp trap enable  vtp
set snmp trap enable  auth
set snmp trap 10.0.0.10   bdsltd
!
#ip
set interface sc0 2 10.0.0.2 255.255.0.0 10.0.255.255

set interface sl0 0.0.0.0 0.0.0.0
set arp agingtime 1200
set ip redirect   enable
set ip unreachable   enable
set ip fragmentation enable
set ip route 0.0.0.0         10.0.0.1     1
set ip alias default         0.0.0.0
!
#Command alias
!
#switch port analyzer
set span 2/2  2/12 both
set span disable
!
#bridge
set bridge ipx snaptoether   8023raw
set bridge ipx 8022toether   8023
set bridge ipx 8023rawtofddi snap
!
#vtp
set vtp domain cginemea mode server
set vlan 1 name default type ethernet mtu 1500 said 100001 state active 
set vlan 2 name 2nd_floor type ethernet mtu 1500 said 100002 state active 
set vlan 3 name 3rd_floor type ethernet mtu 1500 said 100003 state active 
set vlan 4 name 4th_floor type ethernet mtu 1500 said 100004 state active 
set vlan 5 name 5th_floor type ethernet mtu 1500 said 100005 state active 
set vlan 13 name 13th_floor type ethernet mtu 1500 said 100013 state active 
set vlan 1002 name fddi-default type fddi mtu 1500 said 101002 state active parent 0 ring 0 
set vlan 1003 name token-ring-default type token_ring mtu 1500 said 101003 state active parent 0 ring 0 
set vlan 1004 name fddinet-default type fddi_net mtu 1500 said 101004 state active bridge 0 stp ieee 
set vlan 1005 name trnet-default type tr_net mtu 1500 said 101005 state active bridge 0 stp ieee 
!
#vlan
set vlan 1    1/1-2
set vlan 1    2/11-12
set vlan 1    3/11-12
set vlan 1    4/11-12
set vlan 1    5/11-12
set vlan 2    2/1-2
set vlan 2    3/1-2
set vlan 2    4/1-2
set vlan 2    5/1-2
set vlan 3    2/3-4
set vlan 3    3/3-4
set vlan 3    4/3-4
set vlan 3    5/3-4
set vlan 4    2/5-6
set vlan 4    3/5-6
set vlan 4    4/5-6
set vlan 4    5/5-6
set vlan 5    2/7-8
set vlan 5    3/7-8
set vlan 5    4/7-8
set vlan 5    5/7-8
set vlan 13   2/9-10
set vlan 13   3/9-10
set vlan 13   4/9-10
set vlan 13   5/9-10
!
#cam
set cam agingtime 1    300
set cam agingtime 2    300
set cam agingtime 3    300
set cam agingtime 4    300
set cam agingtime 5    300
set cam agingtime 13   300
!
#cdp
set cdp enable   1/1-2
set cdp enable   2/1-12
set cdp enable   3/1-12
set cdp enable   4/1-12
set cdp enable   5/1-12
set cdp interval 1/1-2 60
set cdp interval 2/1-12 60
set cdp interval 3/1-12 60
set cdp interval 4/1-12 60
set cdp interval 5/1-12 60
!
#trunks
set trunk 1/1  on 1-1000
set trunk 1/2  on 1-1000
set trunk 5/1  auto 1-1000
set trunk 5/2  auto 1-1000
set trunk 5/3  auto 1-1000
set trunk 5/4  auto 1-1000
set trunk 5/5  auto 1-1000
set trunk 5/6  auto 1-1000
set trunk 5/7  auto 1-1000
set trunk 5/8  auto 1-1000
set trunk 5/9  auto 1-1000
set trunk 5/10 auto 1-1000
set trunk 5/11 auto 1-1000
set trunk 5/12 auto 1-1000
!
#spantree
#vlan 1
set spantree enable         1
set spantree fwddelay 15    1
set spantree hello    2     1
set spantree maxage   20    1
set spantree priority 32768 1
set spantree portcost 2/11-12 100
set spantree portpri  2/11-12 32
set spantree portfast 2/11-12 disable
set spantree portcost 3/11-12 100
set spantree portpri  3/11-12 32
set spantree portfast 3/11-12 disable
set spantree portcost 4/11-12 100
set spantree portpri  4/11-12 32
set spantree portfast 4/11-12 disable
#vlan 2
set spantree enable         2
set spantree fwddelay 15    2
set spantree hello    2     2
set spantree maxage   20    2
set spantree priority 1     2
set spantree portcost 2/1-2 100
set spantree portpri  2/1-2 32
set spantree portfast 2/1-2 disable
set spantree portcost 3/1-2 100
set spantree portpri  3/1-2 32
set spantree portfast 3/1-2 disable
set spantree portcost 4/1-2 100
set spantree portpri  4/1-2 32
set spantree portfast 4/1-2 disable
#vlan 3
set spantree enable         3
set spantree fwddelay 15    3
set spantree hello    2     3
set spantree maxage   20    3
set spantree priority 1     3
set spantree portcost 2/3-4 100
set spantree portpri  2/3-4 32
set spantree portfast 2/3-4 disable
set spantree portcost 3/3-4 100
set spantree portpri  3/3-4 32
set spantree portfast 3/3-4 disable
set spantree portcost 4/3-4 100
set spantree portpri  4/3-4 32
set spantree portfast 4/3-4 disable
#vlan 4
set spantree enable         4
set spantree fwddelay 15    4
set spantree hello    2     4
set spantree maxage   20    4
set spantree priority 1     4
set spantree portcost 2/5-6 100
set spantree portpri  2/5-6 32
set spantree portfast 2/5-6 disable
set spantree portcost 3/5-6 100
set spantree portpri  3/5-6 32
set spantree portfast 3/5-6 disable
set spantree portcost 4/5-6 100
set spantree portpri  4/5-6 32
set spantree portfast 4/5-6 disable
#vlan 5
set spantree enable         5
set spantree fwddelay 15    5
set spantree hello    2     5
set spantree maxage   20    5
set spantree priority 1     5
set spantree portcost 2/7-8 100
set spantree portpri  2/7-8 32
set spantree portfast 2/7-8 disable
set spantree portcost 3/7-8 100
set spantree portpri  3/7-8 32
set spantree portfast 3/7-8 disable
set spantree portcost 4/7-8 100
set spantree portpri  4/7-8 32
set spantree portfast 4/7-8 disable
#vlan 13
set spantree enable         13
set spantree fwddelay 15    13
set spantree hello    2     13
set spantree maxage   20    13
set spantree priority 1     13
set spantree portcost 2/9-10 100
set spantree portpri  2/9-10 32
set spantree portfast 2/9-10 disable
set spantree portcost 3/9-10 100
set spantree portpri  3/9-10 32
set spantree portfast 3/9-10 disable
set spantree portcost 4/9-10 100
set spantree portpri  4/9-10 32
set spantree portfast 4/9-10 disable
!
#trunk
set spantree portcost     1/1  10
set spantree portpri      1/1  32
set spantree portvlanpri  1/1  16 2-4
set spantree portfast     1/1  disable
set spantree portcost     1/2  10
set spantree portpri      1/2  32
set spantree portvlanpri  1/2  16 5,13
set spantree portfast     1/2  disable
set spantree portcost     5/1  10
set spantree portpri      5/1  32
set spantree portvlanpri  5/1  0
set spantree portfast     5/1  disable
set spantree portcost     5/2  10
set spantree portpri      5/2  32
set spantree portvlanpri  5/2  0
set spantree portfast     5/2  disable
set spantree portcost     5/3  10
set spantree portpri      5/3  32
set spantree portvlanpri  5/3  0
set spantree portfast     5/3  disable
set spantree portcost     5/4  10
set spantree portpri      5/4  32
set spantree portvlanpri  5/4  0
set spantree portfast     5/4  disable
set spantree portcost     5/5  10
set spantree portpri      5/5  32
set spantree portvlanpri  5/5  0
set spantree portfast     5/5  disable
set spantree portcost     5/6  10
set spantree portpri      5/6  32
set spantree portvlanpri  5/6  0
set spantree portfast     5/6  disable
set spantree portcost     5/7  10
set spantree portpri      5/7  32
set spantree portvlanpri  5/7  0
set spantree portfast     5/7  disable
set spantree portcost     5/8  10
set spantree portpri      5/8  32
set spantree portvlanpri  5/8  0
set spantree portfast     5/8  disable
set spantree portcost     5/9  10
set spantree portpri      5/9  32
set spantree portvlanpri  5/9  0
set spantree portfast     5/9  disable
set spantree portcost     5/10 10
set spantree portpri      5/10 32
set spantree portvlanpri  5/10 0
set spantree portfast     5/10 disable
set spantree portcost     5/11 10
set spantree portpri      5/11 32
set spantree portvlanpri  5/11 0
set spantree portfast     5/11 disable
set spantree portcost     5/12 10
set spantree portpri      5/12 32
set spantree portvlanpri  5/12 0
set spantree portfast     5/12 disable
!
#module 1 
set module name    1    
set port enable    1/1-2
set port level     1/1-2  normal
set port duplex    1/1-2  full
set port trap      1/1-2  enable
set port name      1/1-2
!
#module 2 
set module name    2    
set module enable  2
set port enable    2/1-12
set port level     2/1-12  normal
set port duplex    2/1-12  half
set port trap      2/1-12  enable
set port name      2/1-12
!
#module 3 
set module name    3    
set module enable  3
set port enable    3/1-12
set port level     3/1-12  normal
set port duplex    3/1-12  half
set port trap      3/1-12  enable
set port name      3/1-12
!
#module 4 
set module name    4    
set module enable  4
set port enable    4/1-12
set port level     4/1-12  normal
set port duplex    4/1-12  half
set port trap      4/1-12  enable
set port name      4/1-12
!
#module 5 
set module name    5    
set module enable  5
set port enable    5/1-12
set port level     5/1-12  normal
set port duplex    5/1-3,5/5,5/7,5/9  full
set port duplex    5/4,5/6,5/8,5/10-12  half
set port trap      5/1-12  enable
set port name      5/1  Vlan 2
set port name      5/3  Vlan 3
set port name      5/5  Vlan 4
set port name      5/7  Vlan 5
set port name      5/9  Vlan 13
set port name      5/11 Spare port
set port name      5/2,5/4,5/6,5/8,5/10,5/12
end

 

 

Last Updated 28 January 2001


Home | Networking | Teletext | About Us

Copyright 1997 - 2005 Business Direct Services Limited. All other trade marks acknowledged.
Using the products and services of Business Direct Services Limited confirms acceptance of their terms and conditions.