arquitectura de redes qos 16

Upload: arnisadoryeskrimador

Post on 04-Jun-2018

216 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/13/2019 Arquitectura de Redes QoS 16

    1/11

    07/01/20

    AutoQoS

    Introducing Cisco AutoQoS VoIP

    Introducing Cisco AutoQoS Enterprise

    Introducing Cisco AutoQoS VoIP

    AutoQoS VoIP

    One command per interface to enable and configure QoS

  • 8/13/2019 Arquitectura de Redes QoS 16

    2/11

    07/01/20

    AutoQoS VoIP (Cont.)

    interface Multilink1

    ip address 10.1.61.1 255.255.255.0

    ip tcp header-compression iphc-format

    load-interval 30service-policy output QoS-Policy

    ppp multilink

    ppp multilink fragment-delay 10

    ppp multilink interleave

    multilink-group 1

    ip rtp header-compression iphc-format

    !

    interface Serial0

    bandwidth 256

    no ip address

    encapsulation ppp

    no ip mroute-cache

    load-interval 30

    no fair-queue

    ppp multilink

    multilink-group 1

    interface Serial0

    bandwidth 256

    ip address 10.1.61.1 255.255.255.0

    auto qos voip

    AutoQoS

    Manual QoS

    AutoQoS (Cont.)

    Application Classification

    Automatically discovers applications

    and provides appropriate QoS treatment

    Policy Generation

    Automatically generates initial andongoing QoS policies

    Configuration

    Provides high-level business

    knobs, and multi-device/domain

    automation for QoS

    Monitoring & Reporting

    Generates intelligent, automatic

    alerts and summary reports

    Consistency

    Enables automatic, seamless

    interoperability among all QoS features

    and parameters across a network

    topology LAN, MAN, and WAN

    AutoQoS VoIP: Router Platforms

    Cisco 1760, 1800, 2600, 2800, 3600, 3700, 3800, and 7200

    series routers You can meet the voice QoS requirements without extensive

    knowledge about:

    Underlying technologies (for example: PPP, FR, ATM)

    Service policies

    Link efficiency mechanisms

    AutoQoS lends itself to tuning of all generated parameters &

    configurations

  • 8/13/2019 Arquitectura de Redes QoS 16

    3/11

    07/01/20

    AutoQoS VoIP: Switch Platforms

    Cisco Catalyst 2950, 2960, 2970, 3550, 3560, 3750, 4500, and

    6500 series switches

    You can meet the voice QoS requirements without extensive

    knowledge about:

    Trust boundary

    CoS-to-DSCP mappings

    WRR & PQ scheduling parameters

    Generated parameters and configurations are user-tunable

    AutoQoS VoIP: Switch Platforms (Cont.)

    Single command at the interface level configures interface and

    global QoS

    Support for Cisco IP Phone & Cisco SoftPhone

    Support for Cisco SoftPhone currently exists only on the

    Catalyst 6500

    Trust boundary is disabled when IP Phone is moved

    Buffer allocation and egress queuing dependent on interface

    type (Gigabit Ethernet/Fast Ethernet)

    Supported on static, dynamic-access, voice VLAN access, and

    trunk ports

    CDP must be enabled for AutoQoS to function properly

    Configuring AutoQoS VoIP:

    Prerequisites for Using AutoQoS VoIP

    CEF must be enabled at the interface or ATM PVC.

    This feature cannot be configured if a QoS policy(service policy) is attached to the interface.

    An interface is classified as low-speed if its bandwidth is less

    than or equal to 768 kbps. It is classified as high-speed if its

    bandwidth is greater than 768 kbps.

    The correct bandwidth should be configured on all

    interfaces or subinterfaces using the bandwidth command.

    If the interface or subinterface has a link speed of 768 kbps

    or lower, an ip address must be configured using the ip

    address command.

  • 8/13/2019 Arquitectura de Redes QoS 16

    4/11

    07/01/20

    Configuring AutoQoS VoIP:

    Routers

    auto qos voip [trust] [fr-atm]

    router(config-if)# or router(config-fr-dlci)#

    Configures the AutoQoS VoIP feature. Untrusted mode by default.

    trust: Indicates that the DSCP markings of a packet aretrusted (relied on) for classification of the voice traffic.

    fr-atm: For low-speed Frame Relay DLCIs interconnectedwith ATM PVCs in the same network, the fr-atmkeywordmust be explicitly configured in the auto qos voipcommand to configure the AutoQoS VoIP featureproperly.

    Configuring AutoQoS VoIP:

    Cisco Catalyst 6500 Switch

    Console>(enable) set qos autoqosQoS is enabled.........

    All ingress and egress QoS scheduling parameters configured on all

    ports.CoS to DSCP, DSCP to COS, IP Precedence to DSCP and policeddscp maps configured.Global QoS configured, port specific autoqos recommended:set port qos autoqos trust set port qos autoqos voip

    set qos autoqos

    Console> (enable)

    Global configuration command.

    All the global QoS settings are applied to all ports in the

    switch.

    Prompt displays the CLI for the port-based automatic QoS

    commands currently supported.

    Configuring AutoQoS VoIP:

    Cisco Catalyst 6500 Switch (Cont.)

    set port qos autoqos trust [cos|dscp]

    Console> (enable)

    trust dscpand trust cosare automatic QoS keywords usedfor ports requiring a trust all type of solution.

    trust dscpshould be used only on ports that connect toother switches or known servers, because the port will betrusting all inbound traffic marking Layer 3 (DSCP).

    trust cosshould only be used on ports connecting otherswitches or known servers, because the port trusts allinbound traffic marking in Layer 2 (CoS).

    The trusted boundary feature is disabled and no QoSpolicing is configured on these types of ports.

  • 8/13/2019 Arquitectura de Redes QoS 16

    5/11

    07/01/20

    Configuring AutoQoS VoIP:

    Cisco Catalyst 6500 Switch (Cont.)

    set port qos autoqos voip [ciscosoftphone

    | ciscoipphone]

    Console> (enable)

    ciscosoftphone

    The trusted boundary feature must be disabled for Cisco

    SoftPhone ports.

    QoS settings must be configured to trust the Layer 3 markings ofthe traffic that enters the port.

    Available on most Catalyst platforms.

    ciscoipphone

    The port is set up to trust-cos as well as to enable the trusted

    boundary feature.

    Combined with the global automatic QoS command, all settingsare configured on the switch to properly handle the signaling and

    voice bearer and PC data entering and leaving the port.

    CDP must be enabled for the ciscoipphone QoS configuration.

    Configuring AutoQoS VoIP:

    Catalyst 2950 (EI), 3550 Switches

    auto qos voip trust

    Switch(config-if)#

    The uplink interface is connected to a trusted switch or router,and the VoIP classification in the ingress packet is trusted.

    auto qos voip cisco-phone

    Switch(config-if)#

    Automatically enables the trusted boundary feature, which usesthe CDP to detect the presence or absence of a Cisco IP Phone.

    If the interface is connected to a Cisco IP Phone, the QoS labelsof incoming packets are trusted only when the IP Phone isdetected.

    Monitoring AutoQoS VoIP:

    Routers

    show auto qos [interface interface type]

    router>

    router>show auto qos interface Serial6/0

    Serial6/0 !interface Serial6/0service-policy output AutoQoS-Policy-UnTrust

    Displays the interface configurations, policy maps, class maps,and ACLs created on the basis of automatically generatedconfigurations

  • 8/13/2019 Arquitectura de Redes QoS 16

    6/11

    07/01/20

    Monitoring AutoQoS VoIP:

    Routers (Cont.)

    router>show policy-map interface FastEthernet0/0.1FastEthernet0/0.1Service-policy output: voice_trafficClass-map: dscp46 (match-any)0 packets, 0 bytes5 minute offered rate 0 bps, drop rate 0 bps

    Match: ip dscp 460 packets, 0 bytes5 minute rate 0 bpsTraffic ShapingTarget Byte Sustain Excess Interval Increment AdaptRate Limit bits/int bits/int (ms) (bytes) Active

    2500 10000 10000 333 1250 -rest deleted

    show policy-map interface [interface type]

    router>

    Displays the packet statistics of all classes that are configured forall service policies, on either the specified interface or subinterface

    Monitoring AutoQoS VoIP:

    Switches

    show auto qos [interface interface-id]

    Switch#

    Switch#show auto qosInitial configuration applied by AutoQoS:

    wrr-queue bandwidth 20 1 80 0no wrr-queue cos-map

    wrr-queue cos 1 0 1 2 4wrr-queue cos 3 3 6 7wrr-queue cos 4 5mls qos map cos-dscp 0 8 16 26 32 46 48 56!interface FastEthernet0/3

    mls qos trust device cisco-phonemls qos trust cos

    Displays the AutoQoS configuration that was initially applied

    Does not display any user changes to the configuration thatmight be in effect

    Monitoring AutoQoS VoIP:

    Switches (Cont.)

    Switch#show mls qos interface gigabitethernet0/1 statistics

    Ingress

    dscp: incoming no_change classified policed dropped (in bytes)

    1 : 0 0 0 0 0

    Others: 203216935 24234242 178982693 0 0

    Egress

    dscp: incoming no_change classified policed dropped (in bytes)

    1 : 0 n/a n/a 0 0

    WRED drop counts:

    qid thresh1 thresh2 FreeQ

    1 : 0 0 1024

    2 : 0 0 1024

    rest deleted

    show mls qos interface [interface-id| vlan vlan-id][buffers | policers | queueing | statistics][ | {begin | exclude | include} expression]

    Switch#

    Displays QoS information at the interface level

  • 8/13/2019 Arquitectura de Redes QoS 16

    7/11

    07/01/20

    Monitoring AutoQoS VoIP:

    Switches (Cont.)

    show mls qos maps [cos-dscp | dscp-cos | dscp-

    mutation dscp-mutation-name| dscp-switch-priority |

    ip-prec-dscp | policed-dscp] [ | {begin | exclude |include} expression

    Switch#

    Switch#show mls qos maps dscp-cos

    Dscp-cos map:dscp: 0 8 10 16 18 24 26 32 34 40 46 48 56

    -----------------------------------------------cos: 0 1 1 2 2 3 7 4 4 5 5 6 7

    Maps are used to generate an internal DSCP value, whichrepresents the priority of the traffic.

    Automation with Cisco AutoQoS (Routers):

    DiffServ Functions Automated

    Introducing Cisco AutoQoS VoIP

  • 8/13/2019 Arquitectura de Redes QoS 16

    8/11

    07/01/20

    AutoQoS Enterprise

    Frame Relay

    Two commands entered on the

    WAN interface

    AutoQoS Enterprise:

    Medium to large campuswith large remote sites

    Best practices WAN QoS policy

    automation tool

    Classification for up to 10 traffic

    classes

    + 120 Remote Sites

    Multiple Apps. Multiple Apps.

    AutoQoS

    Enterprise

    Multiple Apps.

    auto discovery qosauto qos

    AutoQoS Enterprise (Cont.)

    AutoDiscovery Cisco AutoQoS Policy

    Application and

    Protocol Types

    Cisco AutoQoSClass Maps

    Match Statements

    Offered BitRate (Averageand Peak)

    Minimum Bandwidthto Class Queues,Scheduling, andWRED

    Traffic Class

    Transactional/Interactive AF21

    Telephony Signaling CS3

    Streaming Video CS4

    Interactive Video AF41

    Interactive Voice EF

    Network Management CS2

    Bulk Data AF11

    Scavenger CS1

    Best Effort 0

    IP Routing CS6

    DSCP

    class-map match-any AutoQoS-Voice-Se3/1

    match protocol rtp audioclass-map match-any AutoQoS-Inter-Video-Se3/1match protocol rtp videoclass-map match-any AutoQoS-Signaling-Se3/1match protocol sipmatch protocol rtcpclass-map match-any AutoQoS-Transactional-Se3/1match protocol citrixclass-map match-any AutoQoS-Bulk-Se3/1match protocol exchange!

    policy-map AutoQoS-Policy-Se3/1class AutoQoS-Voice-Se3/1priority percent 30set dscp ef

    AutoQoS Enterprise (Cont.)

    AutoQoS Enterprise

    class AutoQoS-Inter-Video-Se3/1

    bandwidth remaining percent 1set dscp af41

    class AutoQoS-Signaling-Se3/1bandwidth remaining percent 5set dscp cs3

    class AutoQoS-Transactional-Se3/1bandwidth remaining percent 3random-detect dscp-basedset dscp af21

    class AutoQoS-Bulk-Se3/1bandwidth remaining percent 1random-detect dscp-basedset dscp af11

    class class-defaultfair-queue

  • 8/13/2019 Arquitectura de Redes QoS 16

    9/11

    07/01/20

    AutoQoS Enterprise (Cont.)

    !class-map match-any AutoQoS-VoIP-RTP-Trust

    match ip dscp efclass-map match-any AutoQoS-VoIP-Control-Trustmatch ip dscp cs3

    match ip dscp af31!policy-map AutoQoS-Policy-Trustclass AutoQoS-VoIP-RTP-Trustpriority percent 70

    class AutoQoS-VoIP-Control-Trust

    bandwidth percent 5class class-defaultfair-queue!

    AutoQoS VoIP

    AutoQoS Enterprise: Router Platforms

    AutoQoS Enterprise supported platforms:

    Cisco 1760

    Cisco 1800

    Cisco 2600, including XM series

    Cisco 2800 Integrated Services Router

    Cisco 3600

    Cisco 3725 and 3745

    Cisco 3800 Integrated Services Routers

    Cisco 7200 series routers

    AutoQoS Enterprise: Router Platforms (Cont.)

    Search Cisco IOS Software by FEATURE:

    Cisco IOS Software features:

  • 8/13/2019 Arquitectura de Redes QoS 16

    10/11

    07/01/20

    Configuring AutoQoS Enterprise

    Before configuring AutoQoS Enterprise, remove any existing

    service policies on an interface.

    AutoQoS Enterprise requires cefto be enabled at the interface

    level

    The correct bandwidth must be configured on all interfaces or

    subinterfaces using the bandwidth command.

    If the interface or subinterface has a link speed of 768 kbps or

    lower, an ip address must be configured using the ip address

    command.

    Configuring AutoQoS Enterprise (Cont.)

    auto qos

    router(config-if)# or router(config-fr-dlci)#

    This command will not work until statistics have been gathered fromphase one.

    Configures the second phase for AutoQoS Enterprise. Instructs the templates to generate QoS policy based on statistics

    gathered using NBAR and installs the service policies in the WANinterface where the command is entered.

    auto discovery qos [trust]

    router(config-if)# or router(config-fr-dlci)#

    Configures phase one of the auto-discovery phase

    Traffic statistics are gathered by NBAR

    Monitoring AutoQoS Enterprise

    show auto qos [interface interface type]

    router>

    router>show auto qos interface Serial2/1

    Serial2/1 !interface Serial2/1.1service-policy output AutoQoS-Policy-Trust

    Displays the interface configurations, policy maps, class maps,and ACLs created on the basis of automatically generatedconfigurations

  • 8/13/2019 Arquitectura de Redes QoS 16

    11/11

    07/01/20

    Router#show auto discovery qos

    AutoQoS Discovery enabled for applications

    Discovery up time: 2 days, 55 minutes

    AutoQoS Class information:

    Class VoIP:

    Recommended Minimum Bandwidth: 517 Kbps/50% (PeakRate)

    Detected applications and data:

    Application/ AverageRate PeakRate Total

    Protocol (kbps/%) (kbps/%) (bytes)

    rtp audio 76/7 517/50 703104

    Class Interactive Video:

    Recommended Minimum Bandwidth: 24 Kbps/2% (AverageRate)

    Detected applications and data:

    Application/ AverageRate PeakRate Total

    Protocol (kbps/%) (kbps/%) (bytes)

    rtp video 24/2 5337/52 704574

    Class Transactional:

    Recommended Minimum Bandwidth: 0 Kbps/0% (AverageRate)

    Detected applications and data:

    Application/ AverageRate PeakRate Total

    Protocol (kbps/%) (kbps/%) (bytes)

    citrix 36/3 74/7 30212

    sqlnet 12/1 7/