Advanced_config

download Advanced_config

of 10

Transcript of Advanced_config

  • 8/7/2019 Advanced_config

    1/10

    R1#sh runBuilding configuration...

    Current configuration : 1388 bytes!! Last configuration change at 13:33:49 UTC Sat Feb 26 2011!

    version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname R1!boot-start-markerboot-end-marker!!no aaa new-model

    !resource policy!ip cef!!!!no ip domain lookup!!!voice-card 0

    !!!!!!!!!!!!

    !!!!!!!class-map match-all ospfmatch protocol ospfclass-map match-all interactivematch protocol telnetmatch protocol sshmatch protocol h323

    class-map match-all webmatch protocol httpmatch protocol ftp

  • 8/7/2019 Advanced_config

    2/10

    match protocol pop3!!policy-map polclass ospfpriority percent 10class web

    set dscp 3class interactiveset dscp 4

    !!!!!!!interface FastEthernet0/0ip address 172.16.10.1 255.255.255.0

    load-interval 30duplex autospeed autoauto discovery qos!interface FastEthernet0/1ip address 172.16.14.1 255.255.255.0duplex autospeed autoservice-policy output pol!interface Serial0/1/0no ip address

    shutdownno fair-queueclock rate 125000!interface Serial0/1/1no ip addressshutdownclock rate 125000!router ospf 1log-adjacency-changesnetwork 172.16.0.0 0.0.255.255 area 1!!!ip http serverno ip http secure-server!!!!!!!control-plane

    !!!

  • 8/7/2019 Advanced_config

    3/10

    !!!!!!!

    line con 0logging synchronousline aux 0line vty 0 4login!scheduler allocate 20000 1000end

    R1#

    -------------------------

    R2#sh runBuilding configuration...

    Current configuration : 995 bytes!! Last configuration change at 13:36:44 UTC Sat Feb 26 2011!version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname R2

    !boot-start-markerboot-end-marker!!no aaa new-model!resource policy!ip cef!!!!!!!voice-card 0!!!!!!!

    !!!

  • 8/7/2019 Advanced_config

    4/10

    !!!!!!!

    !!!!!!!interface FastEthernet0/0ip address 172.16.20.2 255.255.255.0duplex autospeed autorandom-detect dscp-based

    !interface FastEthernet0/1no ip addressshutdownduplex autospeed auto!interface Serial0/1/0no ip addressshutdownno fair-queueclock rate 2000000!

    interface Serial0/1/1ip address 172.16.23.2 255.255.255.0ip nbar protocol-discoveryclock rate 800000!router ospf 1log-adjacency-changesnetwork 172.16.0.0 0.0.255.255 area 1!!!ip http serverno ip http secure-server!!!!!!!control-plane!!!!

    !!!

  • 8/7/2019 Advanced_config

    5/10

    !!!line con 0line aux 0line vty 0 4login

    !scheduler allocate 20000 1000end

    R2#---------------------------3#R3#sh runBuilding configuration...

    Current configuration : 1128 bytes!

    ! Last configuration change at 13:47:13 UTC Sat Feb 26 2011!version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname R3!boot-start-markerboot-end-marker!!

    no aaa new-model!resource policy!ip cef!!!!!!!voice-card 0!!!!!!!!!!!!

    !!!

  • 8/7/2019 Advanced_config

    6/10

    !!!!!!!

    !!interface FastEthernet0/0no ip addressshutdownduplex autospeed auto!interface FastEthernet0/1no ip addressshutdownduplex auto

    speed auto!interface Serial0/1/0ip address 172.16.34.3 255.255.255.0ip nbar protocol-discoveryauto discovery qosno fair-queueclock rate 2000000!interface Serial0/1/1ip address 172.16.23.3 255.255.255.0fair-queue 128 32 0!

    interface Serial0/3/0no ip addressshutdownclock rate 125000!interface Serial0/3/1no ip addressshutdownclock rate 125000!router ospf 1log-adjacency-changesnetwork 172.16.0.0 0.0.255.255 area 1!!!ip http serverno ip http secure-server!!!!!!!

    control-plane!!

  • 8/7/2019 Advanced_config

    7/10

    !!!!!!!

    !line con 0line aux 0line vty 0 4login!scheduler allocate 20000 1000end

    R3#-----------------------

    R4#sh runBuilding configuration...

    Current configuration : 2129 bytes!version 12.4service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryption!hostname R4!boot-start-marker

    boot system flash:c2800nm-tpgen+advenboot system flash:c2800nm-tpgen+adventerprisek9-mz.PAGENT.4.3.0.binboot-end-marker!!no aaa new-modelno network-clock-participate slot 1!!ip cef!!ip vrf trafgen!ip host PAGENT-SECURITY-V3 5.38.15.5 27.33.0.0!multilink bundle-name authenticated!!voice-card 0no dspfarm!voice-card 1no dspfarm!

    !!!

  • 8/7/2019 Advanced_config

    8/10

    !!!!!!!

    !!!!!!!!!!!controller T1 1/0/0

    framing esflinecode b8zs!class-map match-all ospfmatch protocol ospfclass-map match-all prec4match dscp 4class-map match-all prec3match dscp 3!!policy-map outboundpolicyclass ospf

    priority 50class prec3bandwidth 150class prec4bandwidth 150class class-defaultbandwidth 150

    policy-map inboundpolicyclass prec3police 3000000

    class prec4police 3000000

    class class-defaultpolice 3000000

    !!!!!!!interface FastEthernet0/0no ip addressduplex autospeed auto

    !interface FastEthernet0/0.10encapsulation dot1Q 10

  • 8/7/2019 Advanced_config

    9/10

    ip vrf forwarding trafgenip address 172.16.10.4 255.255.255.0!interface FastEthernet0/0.20encapsulation dot1Q 20ip vrf forwarding trafgenip address 172.16.20.4 255.255.255.0

    !interface FastEthernet0/1ip address 172.16.14.4 255.255.255.0duplex autospeed autoservice-policy input inboundpolicy!interface FastEthernet0/1/0!interface FastEthernet0/1/1!interface FastEthernet0/1/2

    !interface FastEthernet0/1/3!interface Serial0/0/0ip address 172.16.34.4 255.255.255.0service-policy output outboundpolicy!interface Serial0/0/1no ip addressshutdownclock rate 2000000!interface Vlan1

    no ip address!router ospf 1log-adjacency-changesnetwork 172.16.0.0 0.0.255.255 area 1!!!ip http serverno ip http secure-server!!!!!!!control-plane!!!voice-port 0/2/0!voice-port 0/2/1!

    voice-port 0/3/0!voice-port 0/3/1

  • 8/7/2019 Advanced_config

    10/10

    !!!!!!!

    !line con 0exec-timeout 0 0line aux 0line vty 0 4login!scheduler allocate 20000 1000!!end