Sie sind auf Seite 1von 13

ROUTER

R2#sh run
Building configuration...

Current configuration : 2084 bytes


!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
no ip icmp rate-limit unreachable
ip cef
ip tcp synwait-time 5
!
!
!
!
no ip domain lookup
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
ip address 10.10.10.1 255.255.255.252
ip nat inside
ip virtual-reassembly
duplex auto
speed auto
!
interface Serial0/0
no ip address
shutdown
clock rate 2000000
!
interface FastEthernet0/1
ip address 192.168.100.40 255.255.255.0
ip nat outside
ip virtual-reassembly
duplex auto
speed auto
!
interface Serial0/1
no ip address
shutdown
clock rate 2000000
!
interface Serial0/2
no ip address
shutdown
clock rate 2000000
!
interface FastEthernet1/0
no ip address
shutdown
duplex auto
speed auto
!
interface Serial2/0
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial2/3
no ip address
shutdown
serial restart-delay 0
!
ip route 0.0.0.0 0.0.0.0 192.168.100.1
ip route 192.168.0.0 255.255.0.0 10.10.10.2
!
!
no ip http server
no ip http secure-server
ip nat pool practica 192.168.100.40 192.168.100.40 netmask
255.255.255.0
ip nat inside source list 7 pool practica overload
!
access-list 7 permit 192.168.0.0 0.0.255.255
no cdp log mismatch duplex
!
!
!
!
control-plane
!
!
!
!
!
!
!
dial-peer voice 1 voip
destination-pattern 1..
session protocol sipv2
session target ipv4:192.168.100.43
codec g711ulaw
!
!
!
!
telephony-service
max-ephones 10
max-dn 10
ip source-address 10.10.10.1 port 2000
max-conferences 8 gain -6
!
!
ephone-dn 1
number 201
!
!
ephone-dn 2
number 202
!
!
ephone 1
mac-address 000C.2952.60F3
type 7960
button 1:1
!
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
line vty 0 4
login
!
!
End..

SWITCH
SWTICH#sh run
Building configuration...

Current configuration : 2053 bytes


!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname SWTICH
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
no ip icmp rate-limit unreachable
!
!
ip cef
no ip domain lookup
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.10.1
ip dhcp excluded-address 192.168.20.1
ip dhcp excluded-address 192.168.30.1
!
ip dhcp pool est
network 192.168.10.0 255.255.255.0
default-router 192.168.10.1
dns-server 8.8.8.8
!
ip dhcp pool voice
network 192.168.20.0 255.255.255.0
default-router 192.168.20.1
dns-server 8.8.8.8
option 150 ip 10.10.10.1
!
ip dhcp pool doc
network 192.168.30.0 255.255.255.0
default-router 192.168.30.1
dns-server 8.8.8.8
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
ip tcp synwait-time 5
!
!
!
!
!
interface FastEthernet0/0
!
interface FastEthernet0/1
no switchport
ip address 10.10.10.2 255.255.255.252
!
interface FastEthernet0/2
switchport access vlan 10
switchport voice vlan 20
spanning-tree portfast
!
interface FastEthernet0/3
switchport access vlan 30
switchport voice vlan 20
spanning-tree portfast
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface Vlan1
no ip address
!
interface Vlan10
ip address 192.168.10.1 255.255.255.0
!
interface Vlan20
ip address 192.168.20.1 255.255.255.0
!
interface Vlan30
ip address 192.168.30.1 255.255.255.0
!
no ip http server
no ip http secure-server
ip route 0.0.0.0 0.0.0.0 10.10.10.1
!
!
!
no cdp log mismatch duplex
!
!
!
control-plane
!
!
!
!
!
!
!
!
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
line vty 0 4
login
!
!
end

Das könnte Ihnen auch gefallen