Sunteți pe pagina 1din 11

Current configuration : 2190 bytes

!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Admin
!
!
!
!
ip dhcp excluded-address 10.10.10.193 10.10.10.202
!
ip dhcp pool LAN
network 10.10.10.192 255.255.255.192
default-router 10.10.10.193
!
ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO1941/K9 sn FTX1524OT6M
!

!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0
no ip address
duplex auto
speed auto
!
interface GigabitEthernet0/0.15
encapsulation dot1Q 15
ip address 10.10.10.161 255.255.255.224
ip nat inside

!
interface GigabitEthernet0/0.30
encapsulation dot1Q 30
ip address 10.10.10.193 255.255.255.192
ip helper-address 10.10.10.193
ip nat inside
!
interface GigabitEthernet0/0.45
encapsulation dot1Q 45 native
ip address 10.10.10.129 255.255.255.240
ip nat inside
!
interface GigabitEthernet0/0.60
encapsulation dot1Q 60
ip address 10.10.10.145 255.255.255.240
ip nat inside
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 10.10.10.117 255.255.255.252
ip nat inside

clock rate 2000000


!
interface Serial0/0/1
ip address 10.10.10.126 255.255.255.252
ip nat inside
clock rate 2000000
!
interface Serial0/1/0
ip address 209.165.202.138 255.255.255.252
ip nat outside
clock rate 2000000
!
interface Serial0/1/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
router-id 1.1.1.1
log-adjacency-changes
passive-interface GigabitEthernet0/0
network 10.10.10.0 0.0.0.255 area 0

default-information originate
!
ip nat pool POOL 198.133.219.128 198.133.219.129 netmask
255.255.255.252
ip nat inside source list 1 pool POOL
ip nat inside source static 10.10.10.162 198.133.219.130
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0/1/0
!
ip flow-export version 9
!
!
access-list 1 permit 10.10.10.0 0.0.0.255
!
!
!
!
!
line con 0
exec-timeout 0 0
!
line aux 0
!
line vty 0 4
login
!
!

!
end
Admin-Sw

Current configuration : 2680 bytes


!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
service password-encryption
!
hostname Admin-Sw
!
!
!
ip ssh version 2
ip ssh authentication-retries 2
ip ssh time-out 60
ip domain-name cisco.com
!
username Admin privilege 1 password 7 082D495A041C0C19
!
!
spanning-tree mode pvst
!
interface FastEthernet0/1

switchport access vlan 30


switchport mode access
switchport port-security
switchport port-security maximum 2
switchport port-security mac-address sticky
switchport port-security violation restrict
switchport port-security mac-address sticky 0001.C90E.8923
!
interface FastEthernet0/2
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/3
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/4
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/5
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/6
switchport access vlan 30

switchport mode access


!
interface FastEthernet0/7
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/8
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/9
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/10
switchport access vlan 30
switchport mode access
!
interface FastEthernet0/11
switchport access vlan 15
switchport mode access
!
interface FastEthernet0/12
switchport access vlan 15
switchport mode access
!

interface FastEthernet0/13
switchport access vlan 15
switchport mode access
!
interface FastEthernet0/14
switchport access vlan 15
switchport mode access
!
interface FastEthernet0/15
switchport access vlan 15
switchport mode access
!
interface FastEthernet0/16
switchport access vlan 15
switchport mode access
!
interface FastEthernet0/17
switchport access vlan 15
switchport mode access
!
interface FastEthernet0/18
switchport access vlan 15
switchport mode access
!
interface FastEthernet0/19
switchport access vlan 15

switchport mode access


!
interface FastEthernet0/20
switchport access vlan 15
switchport mode access
!
interface FastEthernet0/21
shutdown
!
interface FastEthernet0/22
shutdown
!
interface FastEthernet0/23
shutdown
!
interface FastEthernet0/24
shutdown
!
interface GigabitEthernet0/1
switchport trunk native vlan 45
switchport mode trunk
!
interface GigabitEthernet0/2
shutdown
!
interface Vlan1

no ip address
shutdown
!
interface Vlan60
ip address 10.10.10.146 255.255.255.240
!
ip default-gateway 10.10.10.145
!
!
!
!
line con 0
!
line vty 0 4
login local
transport input ssh
line vty 5 15
login local
transport input ssh
!
!
end

S-ar putea să vă placă și