This is a sample configuration can be use by any body who forgot Basic Networking concepts.
3500 Config
****************************************************************
cat3550#show running-config
Building configuration...
Current configuration : 1745 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname cat3550
!
spanning-tree mode pvst
!
interface FastEthernet0/1
description connected_to_ROUTER
no switchport
ip address 200.1.1.1 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/2
!
!
interface FastEthernet0/23
!
interface FastEthernet0/24
description SERVER_1
switchport access vlan 3
switchport mode access
spanning-tree portfast
!
interface GigabitEthernet0/1
description To 2950
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet0/2
description To 2960
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface Vlan1
no ip address
shutdown
!
interface Vlan2
description USER_VLAN
ip address 10.1.2.1 255.255.255.0
!
interface Vlan3
description SERVER_VLAN
ip address 10.1.3.1 255.255.255.0
!
interface Vlan4
no ip address
!
interface Vlan10
description MANAGMENT_VLAN
ip address 10.1.10.1 255.255.255.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 200.1.1.2
!
line con 0
line vty 0 4
login
!
!
!
end
cat3550#
2950 Config
****************************************************************
cat2950#show running-config
Building configuration...
Current configuration : 1312 bytes
!
version 12.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname cat2950
!
!
spanning-tree mode pvst
!
interface FastEthernet0/1
description SERVER_1
switchport access vlan 3
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/2
description HOST_1
switchport access vlan 2
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/3
!
interface FastEthernet0/24
switchport mode trunk
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
description MANAGMENT
ip address 10.1.10.2 255.255.255.0
!
ip default-gateway 10.1.10.1
!
!
line con 0
history size 256
!
line vty 0 4
login
line vty 5 15
login
!
!
end
cat2950#
2960 Config
****************************************************************
cat2960#show running-config
Building configuration...
Current configuration : 1335 bytes
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname cat2960
!
!
spanning-tree mode pvst
!
interface FastEthernet0/1
description TO_HOST_2
switchport access vlan 2
switchport mode access
spanning-tree portfast
!
interface FastEthernet0/2
description SERVER_2
switchport access vlan 3
switchport mode access
!
interface FastEthernet0/3
!
!
interface FastEthernet0/24
switchport mode trunk
!
interface GigabitEthernet1/1
!
interface GigabitEthernet1/2
!
interface Vlan1
no ip address
shutdown
!
interface Vlan10
description MANAGMENT
ip address 10.1.10.3 255.255.255.0
!
ip default-gateway 10.1.10.1
!
!
line con 0
!
line vty 0 4
login
line vty 5 15
login
!
!
end
cat2960#
Router Config
****************************************************************
Router#show running-config
Building configuration...
Current configuration : 534 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
spanning-tree mode pvst
!
interface FastEthernet0/0
description TO_Multilayer_Switch
ip address 200.1.1.2 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
no cdp run
!!
line con 0
line vty 0 4
login
!
end
Router#
No comments:
Post a Comment