A QoS Case Study Packet Marking by hzp22842

VIEWS: 0 PAGES: 18

									  A QoS Case Study
   Packet Marking




 Chris Hose – chose@stevens-tech.edu
  Alban Dani – adani@stevens-tech.edu
Jason Evans – jevans@stevens-tech.edu
         COS (Ethernet Frame)
   COS Refers to three bits in the 802.1Q header
    that are used to indicate the priority of the
    Ethernet frame as it passes through a switched
    network.
               ToS (IP Packet)
   ToS is a one-byte field that exists in an IPV4
    header. The ToS field consists of eight bits, of
    which the first three bits are used to indicate the
    priority of the IP packet. These first three bits
    are referred to as the IP precedence bits.
                    Topics
    Setting the checking QoS values in the
     campus network.
    Confirm endpoint is receiving QoS
Sending a receiving marked packets is only
  half the story.
 Each switch and router that a marked
  packet traverses must have multiple
  queues to actually give priority to the
  packet.
                     CatA1                     stevensGK
 C2950G-48-EI 12.1(12c)EA1            G0/2      GK    2651
                               G0/1                   12.3(1a)                            EdgeRouter                       NJEDGE.NET
             Test
   Laptop    Point
                               G0/2
              1
                       CatA2                   CatCop3                     Test                                    Test      Portal FX
        3548-XL 12.0(5)WC5a                    WS-3550-12T                 Point                                   Point
                                               12.1(13)EA1c                 4                                       5     IP: 130.156.34.6
                                                                                                                       E.164: 0019734120002
                                                                              Laptop                CatOutside
                                                                                                    3524-XL
                                                                                                    12.0(5)WC5a
                       CatA3
        3548-XL 12.0(5)WC5a                           CatCore
                                                      WS-C6509 12.1(11r)E1
                                             G7/7
                                                                                                  PIX353R 6.1(1)
                                                                    G7/5
                       CatA4                                                           Firewall
        3524-XL 12.0(5)WC5a
Test
Point
 2                             G0/1
    Laptop             CatA5
                                                       CatB1 G0/1                                        CatC1
        3524-XL 12.0(5)WC5a
                               G0/2             C2950G-48-EI                                             3548-XL
                                                12.1(12c)EA1                                             12.0(5.3)WC(1)


                                              Test                                 Test
                      CatA6                                                        Point          Poylcom VS4000
                                              Point
                                               3B                                   3A
                                                                                                            IP: 155.246.18.8
                                                      Workstation
                                                                                                         E.164: 0012012165001
                                      Campus Network To NJEdge Extranet

                                                                        Cat 6509
                                                 Gig7/15(trunk)                            gig0/11                       fa0/0
                                                                               gig2/2                       gig0/1
                                                                                                                                 Stevens
                                                                                                                                   GK
                                                                    Gig7/5(Vlan7)

Lieb First Floor
                                                 Gig0/0(trunk)
                                                                                               Firewall
    Fa0/1 (Vlan15)
                                                                                              PIX 535R
                                                 cat2950
                                                                  Gb0-inside
                                                                                           Gb0-outside
                                      PRO
                                            SD




                                                                                    PIX1
      Professional Workstation 6000                                                                                                7507 Router
     Lieb 101 Video                                                        Gig0/2(Vlan7)
 Server(155.246.81.122)                                                                              Gig0/1(trunk)                                 ATM5/1/0.51
                                                                                                                     Gig0/0/0(trunk)              130.156.250.94
                                                                                                                                     AS 16889
                                                                                                          fa0/23                       VGW
                                                                                                                                                        NJEDGE ExtraNet
                                                                                                                                                          DS3 @ 5Mb/s


                                                                                                                                                  ATM0/0/2           ATM0/0/0
                                                                                                                                                 VPI 1, VCI 51      VPI 1, VCI 51
                                                                                                                                                Eth 0
                                                                                                                                                                                    Verizon
                                                                                                                                                           SW1010
                                                                                                                                                                               130.156.250.93
                                                                                                                                                 LS1010                         BGP Peer
                                                                                                               7206VXR
                                                                                                                Router                                                          AS 19262
                    Test Setup

   Two Laptops
       with Microsoft NetMeeting
       USB Cameras
       QoS Drivers
       Ethereal – Packet capture utility
   PolyCom units
        Add Driver to tag packets
   NetMeeting will automatically
    assign Class Selector values of
    3 and 5 to video and voice
    respectively once the “QoS
    Packet Scheduler” Service is
    installed
   We will set the workgroup
    switch port to mark the
    packet with the proper value
    of 4
             NetMeeting Setup
   NetMeeting must be
    set at “Cable, xDSL or
    ISDN” or “Local Area
    Network” for the
    Polycom to answer
    the call.

   Campus Gatekeeper
    configuration
                                                 CatA1                     stevensGK
                             C2950G-48-EI 12.1(12c)EA1            G0/2      GK    2651
                                                           G0/1                   12.3(1a)                            EdgeRouter                       NJEDGE.NET
                                         Test
                               Laptop    Point
                                                           G0/2
                                          1




  CATA1 (2950-48)
                                                   CatA2                   CatCop3                     Test                                    Test      Portal FX
                                    3548-XL 12.0(5)WC5a                    WS-3550-12T                 Point                                   Point
                                                                           12.1(13)EA1c                 4                                       5     IP: 130.156.34.6
                                                                                                                                                   E.164: 0019734120002
                                                                                                          Laptop                CatOutside
                                                                                                                                3524-XL
                                                                                                                                12.0(5)WC5a
                                                   CatA3
                                    3548-XL 12.0(5)WC5a                           CatCore
                                                                                  WS-C6509 12.1(11r)E1
                                                                         G7/7
                                                                                                                              PIX353R 6.1(1)
                                                                                                G7/5
                                                   CatA4                                                           Firewall
                                    3524-XL 12.0(5)WC5a
                            Test
                            Point
                             2                             G0/1
                                Laptop             CatA5
                                                                                   CatB1 G0/1                                        CatC1
                                    3524-XL 12.0(5)WC5a
                                                           G0/2             C2950G-48-EI                                             3548-XL
                                                                            12.1(12c)EA1                                             12.0(5.3)WC(1)


                                                                          Test                                 Test
                                                  CatA6                                                        Point          Poylcom VS4000
                                                                          Point
                                                                           3B                                   3A
                                                                                                                                        IP: 155.246.18.8
                                                                                  Workstation
                                                                                                                                     E.164: 0012012165001




class-map match-all videoclass
  match access-group name VideoSrc

policy-map videopolicy
  class videoclass
    police 5000000 8192 exceed-action drop
    set ip dscp 32

interface FastEthernet0/40
   service-policy input videopolicy
                                                     CatA1                     stevensGK
                                 C2950G-48-EI 12.1(12c)EA1            G0/2      GK    2651
                                                               G0/1                   12.3(1a)                            EdgeRouter                       NJEDGE.NET
                                             Test




          35xxXL
                                   Laptop    Point
                                                               G0/2
                                              1
                                                       CatA2                   CatCop3                     Test                                    Test      Portal FX
                                        3548-XL 12.0(5)WC5a                    WS-3550-12T                 Point                                   Point
                                                                               12.1(13)EA1c                 4                                       5     IP: 130.156.34.6
                                                                                                                                                       E.164: 0019734120002
                                                                                                              Laptop                CatOutside
                                                                                                                                    3524-XL
                                                                                                                                    12.0(5)WC5a
                                                       CatA3
                                        3548-XL 12.0(5)WC5a                           CatCore
                                                                                      WS-C6509 12.1(11r)E1
                                                                             G7/7
                                                                                                                                  PIX353R 6.1(1)
                                                                                                    G7/5
                                                       CatA4                                                           Firewall
                                        3524-XL 12.0(5)WC5a
                                Test
                                Point
                                 2                             G0/1
                                    Laptop             CatA5
                                                                                       CatB1 G0/1                                        CatC1
                                        3524-XL 12.0(5)WC5a
                                                               G0/2             C2950G-48-EI                                             3548-XL
                                                                                12.1(12c)EA1                                             12.0(5.3)WC(1)


                                                                              Test                                 Test
                                                      CatA6                                                        Point          Poylcom VS4000
                                                                              Point
                                                                               3B                                   3A
                                                                                                                                            IP: 155.246.18.8
                                                                                      Workstation
                                                                                                                                         E.164: 0012012165001




For NetMeeting set all packets from port to CoS 4
interface FastEthernet0/14
 switchport priority default 4

For PolyCom the switch can trust the CoS value
  35xx switches will trust CoS values by
  default, non video device ports should be
  set not to trust this marking.
CatCore (6509 native IOS)                                      CatA1                     stevensGK
                                           C2950G-48-EI 12.1(12c)EA1            G0/2      GK    2651
                                                                         G0/1                   12.3(1a)                            EdgeRouter                       NJEDGE.NET
                                                       Test
                                             Laptop    Point
                                                                         G0/2
                                                        1
                                                                 CatA2                   CatCop3                     Test                                    Test      Portal FX
                                                  3548-XL 12.0(5)WC5a                    WS-3550-12T                 Point                                   Point
                                                                                         12.1(13)EA1c                 4                                       5     IP: 130.156.34.6
                                                                                                                                                                 E.164: 0019734120002




mls qos
                                                                                                                        Laptop                CatOutside
                                                                                                                                              3524-XL
                                                                                                                                              12.0(5)WC5a
                                                                 CatA3
                                                  3548-XL 12.0(5)WC5a                           CatCore
                                                                                                WS-C6509 12.1(11r)E1
                                                                                       G7/7
                                                                                                                                            PIX353R 6.1(1)
                                                                                                              G7/5
                                                                 CatA4                                                           Firewall
                                                  3524-XL 12.0(5)WC5a
                                          Test
                                          Point
                                           2                             G0/1
                                              Laptop             CatA5
                                                                                                 CatB1 G0/1                                        CatC1




interface GigabitEthernet7/7
                                                  3524-XL 12.0(5)WC5a
                                                                         G0/2             C2950G-48-EI                                             3548-XL
                                                                                          12.1(12c)EA1                                             12.0(5.3)WC(1)


                                                                                        Test                                 Test
                                                                CatA6                                                        Point          Poylcom VS4000
                                                                                        Point
                                                                                         3B                                   3A
                                                                                                                                                      IP: 155.246.18.8




 description All video device ports
                                                                                                Workstation
                                                                                                                                                   E.164: 0012012165001




 mls qos trust cos

interface GigabitEthernet7/5
 description Connection to Pix (Vlan 7)
 mls qos trust dscp
                                                    CatA1                     stevensGK
                                C2950G-48-EI 12.1(12c)EA1            G0/2      GK    2651
                                                              G0/1                   12.3(1a)                            EdgeRouter                       NJEDGE.NET




               PIX
                                            Test
                                  Laptop    Point
                                                              G0/2
                                             1
                                                      CatA2                   CatCop3                     Test                                    Test      Portal FX
                                       3548-XL 12.0(5)WC5a                    WS-3550-12T                 Point                                   Point
                                                                              12.1(13)EA1c                 4                                       5     IP: 130.156.34.6
                                                                                                                                                      E.164: 0019734120002
                                                                                                             Laptop                CatOutside
                                                                                                                                   3524-XL
                                                                                                                                   12.0(5)WC5a
                                                      CatA3
                                       3548-XL 12.0(5)WC5a                           CatCore
                                                                                     WS-C6509 12.1(11r)E1
                                                                            G7/7
                                                                                                                                 PIX353R 6.1(1)
                                                                                                   G7/5
                                                      CatA4                                                           Firewall
                                       3524-XL 12.0(5)WC5a
                               Test
                               Point
                                2                             G0/1
                                   Laptop             CatA5
                                                                                      CatB1 G0/1                                        CatC1
                                       3524-XL 12.0(5)WC5a
                                                              G0/2             C2950G-48-EI                                             3548-XL
                                                                               12.1(12c)EA1                                             12.0(5.3)WC(1)


                                                                             Test                                 Test
                                                     CatA6                                                        Point          Poylcom VS4000
                                                                             Point
                                                                              3B                                   3A
                                                                                                                                           IP: 155.246.18.8
                                                                                     Workstation
                                                                                                                                        E.164: 0012012165001




   See Franks presentation
   Stevens does not use NAT
   Configured the firewall to pass all packets
    to the endpoint without a problem
     Gatekeeper Endpoint Registration

stevensgk.cc#sh gatekeeper endpoints
                     GATEKEEPER ENDPOINT REGISTRATION
                     ================================
CallSignalAddr Port RASSignalAddr      Port Zone Name   Type   Flags
--------------- ----- --------------- ----- ---------   ----   -----
155.246.18.8    1720 155.246.18.8      1719 stevensgk   TERM
    H323-ID: Stevens
    E164-ID: 0012012165001
155.246.154.237 1720 155.246.154.237 1620 stevensgk     TERM
    H323-ID: adani
    E164-ID: 0012012168238
Total number of active registrations = 2
         Gatekeeper Call Status

stevensgk.cc#sh gatekeeper calls
Total number of active calls = 1.
                          GATEKEEPER CALL INFO
                          ====================
LocalCallID                         Age(secs)   BW
112-11283                           52          256(Kbps)
 Endpt(s): Alias                  E.164Addr
   src EP: adani                  0012012168238
            CallSignalAddr Port RASSignalAddr      Port
            155.246.154.237 1720 155.246.154.237 1632
 Endpt(s): Alias                  E.164Addr
   dst EP: adani                  0012012165001
            CallSignalAddr Port RASSignalAddr      Port
            155.246.154.237 1720 155.246.154.237 1632
Test         Test
Point   to   Point
  1           3A
Test         Test
Point   to   Point
  1            5
                    Summary
   Mark packets as close to user as possible
   Trust CoS as opposed to DSCP when using
    3500XL or 2900XL
   Deploy 2950/3550 switches in areas which need
    QoS if possible
   We are trusting that only the proper traffic from
    other NJEdge institutions have QoS marked
   IOS version, IOS version, IOS version
   Marking Packets is only half the story, queuing is
    the other half

								
To top