Friday, April 15, 2016
báo cáo môn mạng căn bản
shutdown
duplex half
!
interface Serial1/0
no ip address
encapsulation frame-relay
serial restart-delay 0
service-policy output TRANMINHTHANH-OUT-2
ip rsvp bandwidth
!
interface Serial1/0.69 point-to-point
ip address 192.168.2.68 255.255.255.0
frame-relay interface-dlci 69
service-policy input TRANMINHTHANH-ALL-IN-1
!
interface Serial1/0.96 point-to-point
ip rsvp bandwidth
!
interface Serial1/1
ip address 192.168.3.67 255.255.255.0
serial restart-delay 0
service-policy input TRANMINHTHANH-ALL-IN-1
service-policy output TRANMINHTHANH-OUT-2
ip rsvp bandwidth
!
interface Serial1/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/4
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/5
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/6
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/7
no ip address
shutdown
serial restart-delay 0
!
router rip
network 192.168.2.0
network 192.168.3.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.2.67
!
no ip http server
no ip http secure-server
!
!
access-list 1 permit any
access-list 100 permit tcp any any eq 3230
access-list 100 permit udp any any eq 3230
access-list 101 permit tcp any any eq 3389
access-list 102 permit tcp any any eq telnet
access-list 103 permit tcp any any eq 22
priority-list 1 protocol ip high tcp 3230
priority-list 1 protocol ip high udp 3230
priority-list 1 protocol ip medium tcp 3389
priority-list 1 protocol ip normal tcp telnet
priority-list 1 protocol ip low tcp 22
snmp-server community public RW
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps tty
snmp-server enable traps config
snmp-server enable traps syslog
snmp-server host 20.0.0.67 public
snmp-server manager
!
!
!
!
control-plane
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
!
!
end
2.2.4 Cấu hình R4 :
!*
!*
!*
!*
R4.tranminhthanh.com.CiscoConfig
IP Address : 192.168.3.68
Community : public
Downloaded 4/23/2013 2:07:46 PM by SolarWinds Config Transfer Engine Version 5.5.0
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R4
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
ip subnet-zero
ip flow-cache timeout active 1
!
!
ip cef
no ip domain lookup
ip domain name tranminhthanh.com
no ip dhcp use vrf connected
!
ip dhcp pool TRANMINHTHANH
network 192.168.4.0 255.255.255.0
default-router 192.168.4.67
dns-server 20.0.0.67
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
username MINHTHANH password 0 thanh@123
!
!
class-map match-all TELNET
match access-group 102
class-map match-all NETMEETING
match access-group 101
class-map match-all SSH
match access-group 103
class-map match-all RTP
match access-group 100
!
!
policy-map TRANMINHTHANH-ALL-IN-1
class TELNET
set dscp cs4
class RTP
set dscp cs6
class NETMEETING
set dscp cs5
class SSH
set dscp cs3
policy-map TRANMINHTHANH-OUT-2
class RTP
priority percent 25
class NETMEETING
priority percent 15
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Serial1/0
ip address 192.168.3.68 255.255.255.0
ip route-cache flow
serial restart-delay 0
fair-queue 64 256 37
service-policy input TRANMINHTHANH-ALL-IN-1
ip rsvp bandwidth
!
interface Serial1/1
ip address 192.168.4.67 255.255.255.0
serial restart-delay 0
service-policy input TRANMINHTHANH-ALL-IN-1
service-policy output TRANMINHTHANH-OUT-2
ip rsvp bandwidth
!
interface Serial1/2
ip address 192.168.5.67 255.255.255.0
serial restart-delay 0
service-policy input TRANMINHTHANH-ALL-IN-1
service-policy output TRANMINHTHANH-OUT-2
ip rsvp bandwidth
!
interface Serial1/3
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/4
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/5
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/6
no ip address
shutdown
serial restart-delay 0
!
interface Serial1/7
no ip address
shutdown
serial restart-delay 0
!
router rip
network 192.168.3.0
network 192.168.4.0
network 192.168.5.0
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.3.67
ip flow-export source Serial1/0
ip flow-export version 5
ip flow-export destination 10.0.0.67 9996
!
no ip http server
no ip http secure-server
!
!
access-list 1 permit any
access-list 100 permit tcp any any eq 3230
access-list 100 permit udp any any eq 3230
access-list 101 permit tcp any any eq 3389
access-list 102 permit tcp any any eq telnet
access-list 103 permit tcp any any eq 22
priority-list 1 protocol ip high tcp 3230
priority-list 1 protocol ip high udp 3230
priority-list 1 protocol ip medium tcp 3389
priority-list 1 protocol ip normal tcp telnet
priority-list 1 protocol ip low tcp 22
snmp-server community public RW
snmp-server ifindex persist
!
!
!
!
control-plane
!
!
!
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
privilege level 15
password cisco
logging synchronous
login
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
password 123
login local
transport input telnet ssh
line vty 5 15
password 123
login local
transport input telnet ssh
!
!
end
2.2.5 Cấu hình R5 :
!*
!*
!*
!*
R5.lab.local.CiscoConfig
IP Address : 192.168.4.68
Community : public
Downloaded 4/23/2013 2:09:33 PM by SolarWinds Config Transfer Engine Version 5.5.0
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R5
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
!
resource policy
!
ip subnet-zero
!
!
ip cef
no ip domain lookup
ip domain name lab.local
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
class-map match-all TELNET
match access-group 102
class-map match-all NETMEETING
match access-group 101
class-map match-all SSH
match access-group 103
class-map match-all RTP
match access-group 100
!
!
policy-map TRANMINHTHANH-ALL-IN-1
class TELNET
set dscp cs4
class RTP
set dscp cs6
class NETMEETING
set dscp cs5
class SSH
set dscp cs3
policy-map TRANMINHTHANH-OUT-2
class RTP
priority percent 25
class NETMEETING
priority percent 15
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
shutdown
duplex half
!
interface Serial1/0
ip address 192.168.4.68 255.255.255.0
serial restart-delay 0
fair-queue 64 256 37
service-policy input TRANMINHTHANH-ALL-IN-1
ip rsvp bandwidth
!
interface Serial1/1
no ip address
shutdown
serial restart-delay 0
!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment