Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
swh-iepm-10g(config)#mls qos
swh-iepm-10g(config)#$onform-action set-dscp-transmit 26 exceed-action drop
swh-iepm-10g(config)#$onform-action set-dscp-transmit 18 exceed-action drop
swh-iepm-10g(config)#$onform-action set-dscp-transmit 10 exceed-action drop
swh-iepm-10g(config)#$conform-action set-dscp-transmit 46 exceed-action drop
swh-iepm-10g(config)#$action set-dscp-transmit 34 exceed-action drop
swh-iepm-10g(config)#$action set-dscp-transmit 39 exceed-action drop
swh-iepm-10g(config)#$ conform-action set-dscp-transmit 56 exceed-action drop
swh-iepm-10g(config)#$nform-action set-dscp-transmit 8 exceed-action drop
swh-iepm-10g(config)#$nform-action set-dscp-transmit 16 exceed-action drop
swh-iepm-10g(config)#
swh-iepm-10g(config)#
swh-iepm-10g(config)#
swh-iepm-10g(config)#class-map match-all CS1_out
swh-iepm-10g(config-cmap)# match access-group name CS1_out
swh-iepm-10g(config-cmap)#class-map match-all CS2_out
swh-iepm-10g(config-cmap)#  match access-group name CS2_out
swh-iepm-10g(config-cmap)#class-map match-all CS7_out
swh-iepm-10g(config-cmap)#  match access-group name CS7_out
swh-iepm-10g(config-cmap)#class-map match-all CS47_out
swh-iepm-10g(config-cmap)#  match access-group name CS47_out
swh-iepm-10g(config-cmap)#class-map match-all EF_out
swh-iepm-10g(config-cmap)#  match access-group name EF_out
swh-iepm-10g(config-cmap)#class-map match-all AF41_out
swh-iepm-10g(config-cmap)#  match access-group name AF41_out
swh-iepm-10g(config-cmap)#class-map match-all AF31_out
swh-iepm-10g(config-cmap)#  match access-group name AF31_out
swh-iepm-10g(config-cmap)#class-map match-all AF21_out
swh-iepm-10g(config-cmap)#  match access-group name AF21_out
swh-iepm-10g(config-cmap)#class-map match-all AF11_out
swh-iepm-10g(config-cmap)#  match access-group name AF11_out
swh-iepm-10g(config-cmap)#
swh-iepm-10g(config-cmap)#class-map match-all CS47_in
swh-iepm-10g(config-cmap)#  match access-group name CS47_in
swh-iepm-10g(config-cmap)#class-map match-all AF41_in
swh-iepm-10g(config-cmap)#  match access-group name AF41_in
swh-iepm-10g(config-cmap)#class-map match-all EF_in
swh-iepm-10g(config-cmap)#  match access-group name EF_in
swh-iepm-10g(config-cmap)#class-map match-all AF21_in
swh-iepm-10g(config-cmap)#  match access-group name AF21_in
swh-iepm-10g(config-cmap)#class-map match-all AF31_in
swh-iepm-10g(config-cmap)#  match access-group name AF31_in
swh-iepm-10g(config-cmap)#class-map match-all AF11_in
swh-iepm-10g(config-cmap)#  match access-group name AF11_in
swh-iepm-10g(config-cmap)#class-map match-all CS1_in
swh-iepm-10g(config-cmap)#  match access-group name CS1_in
swh-iepm-10g(config-cmap)#class-map match-all CS2_in
swh-iepm-10g(config-cmap)#  match access-group name CS2_in
swh-iepm-10g(config-cmap)#class-map match-all CS7_in
swh-iepm-10g(config-cmap)#  match access-group name CS7_in
swh-iepm-10g(config-cmap)#
swh-iepm-10g(config-cmap)#
swh-iepm-10g(config-cmap)#
swh-iepm-10g(config-cmap)#policy-map QoS_r2_out
swh-iepm-10g(config-pmap)#  class EF_out
swh-iepm-10g(config-pmap-c)#
swh-iepm-10g(config-pmap-c)#  class CS2_out
swh-iepm-10g(config-pmap-c)#    police aggregate CS2_CAP
swh-iepm-10g(config-pmap-c)#$action set-dscp-transmit 16 exceed-action drop
swh-iepm-10g(config-pmap-c)#  class AF11_out
swh-iepm-10g(config-pmap-c)#    police aggregate AF11_CAP
swh-iepm-10g(config-pmap-c)#$action set-dscp-transmit 10 exceed-action drop
swh-iepm-10g(config-pmap-c)#  class AF21_out
swh-iepm-10g(config-pmap-c)#    police aggregate AF21_CAP
swh-iepm-10g(config-pmap-c)#  class AF31_out
swh-iepm-10g(config-pmap-c)#    police aggregate AF31_CAP
swh-iepm-10g(config-pmap-c)#  class AF41_out
swh-iepm-10g(config-pmap-c)#    police aggregate AF41_CAP
swh-iepm-10g(config-pmap-c)#  class CS1_out
swh-iepm-10g(config-pmap-c)#    police aggregate CS1_CAP
swh-iepm-10g(config-pmap-c)#$tion set-dscp-transmit 8 exceed-action drop
swh-iepm-10g(config-pmap-c)#  class CS47_out
swh-iepm-10g(config-pmap-c)#    police aggregate CS47_CAP
swh-iepm-10g(config-pmap-c)#  class CS7_out
swh-iepm-10g(config-pmap-c)#    police aggregate CS7_CAP
swh-iepm-10g(config-pmap-c)#
swh-iepm-10g(config-pmap-c)#policy-map QoS_r2_in
swh-iepm-10g(config-pmap)# class EF_in
swh-iepm-10g(config-pmap-c)#    trust dscp
swh-iepm-10g(config-pmap-c)#  class CS2_in
swh-iepm-10g(config-pmap-c)#    trust dscp
swh-iepm-10g(config-pmap-c)#  class AF11_in
swh-iepm-10g(config-pmap-c)#    trust dscp
swh-iepm-10g(config-pmap-c)#  class AF21_in
swh-iepm-10g(config-pmap-c)#    trust dscp
swh-iepm-10g(config-pmap-c)#  class AF31_in
swh-iepm-10g(config-pmap-c)#    trust dscp
swh-iepm-10g(config-pmap-c)#  class AF41_in
swh-iepm-10g(config-pmap-c)#    trust dscp
swh-iepm-10g(config-pmap-c)#  class CS47_in
swh-iepm-10g(config-pmap-c)#    trust dscp
swh-iepm-10g(config-pmap-c)#  class CS7_in
swh-iepm-10g(config-pmap-c)#    trust dscp
swh-iepm-10g(config-pmap-c)#  class CS1_in
swh-iepm-10g(config-pmap-c)#    trust dscp
swh-iepm-10g(config-pmap-c)#ip access-list extended AF11_in
swh-iepm-10g(config-ext-nacl)#ip access-list extended AF11_out
swh-iepm-10g(config-ext-nacl)#ip access-list extended AF21_in
swh-iepm-10g(config-ext-nacl)#ip access-list extended AF21_out
swh-iepm-10g(config-ext-nacl)#ip access-list extended AF31_in
swh-iepm-10g(config-ext-nacl)#ip access-list extended AF31_out
swh-iepm-10g(config-ext-nacl)#ip access-list extended AF41_in
swh-iepm-10g(config-ext-nacl)#ip access-list extended AF41_out
swh-iepm-10g(config-ext-nacl)#ip access-list extended CS1_in
swh-iepm-10g(config-ext-nacl)#ip access-list extended CS1_out
swh-iepm-10g(config-ext-nacl)#ip access-list extended CS2_in
swh-iepm-10g(config-ext-nacl)#ip access-list extended CS2_out
swh-iepm-10g(config-ext-nacl)#ip access-list extended CS47_in
swh-iepm-10g(config-ext-nacl)#ip access-list extended CS47_out
swh-iepm-10g(config-ext-nacl)#ip access-list extended CS7_in
swh-iepm-10g(config-ext-nacl)#ip access-list extended CS7_out
swh-iepm-10g(config-ext-nacl)#ip access-list extended EF_in
swh-iepm-10g(config-ext-nacl)#ip access-list extended EF_out
swh-iepm-10g(config-ext-nacl)#
swh-iepm-10g(config-ext-nacl)#
swh-iepm-10g(config-ext-nacl)#int gi5/2
swh-iepm-10g(config-if)#
swh-iepm-10g(config-if)#
swh-iepm-10g(config-if)#
swh-iepm-10g(config-if)#servi
swh-iepm-10g(config-if)#service-policy in
swh-iepm-10g(config-if)#service-policy input ?
  WORD  policy-map name

swh-iepm-10g(config-if)#service-policy ?
  history  Keep history of QoS metrics
  input    Assign policy-map to the input of an interface
  output   Assign policy-map to the output of an interface

swh-iepm-10g(config-if)#int vlan59
swh-iepm-10g(config-if)#
swh-iepm-10g(config-if)#
swh-iepm-10g(config-if)#service-policy input QoS_r2_out
swh-iepm-10g(config-if)#
swh-iepm-10g(config-if)#
swh-iepm-10g(config-if)#
swh-iepm-10g(config-if)#
swh-iepm-10g(config-if)#
swh-iepm-10g(config-if)#mls qo
swh-iepm-10g(config-if)#mls qos ?
  bridged        bridged keyword
  dscp-mutation  mutation keyword
  exp-mutation   exp mutation keyword
  loopback       loopback cable between LAN and WAN port
  mpls           mpls keyword

swh-iepm-10g(config-if)#mls qos br
swh-iepm-10g(config-if)#mls qos bridged ?
  <cr>

swh-iepm-10g(config-if)#mls qos bridged

WAN Configuration

Code Block

mysql> update remoteLANServiceURL set wsdlURL='http://198.124.220.9:8080/terapathsRemoteTPsListeners/tpsRTPsL' where ipAddress='198.124.220.0';
Query OK, 1 row affected (0.00 sec)
Rows matched: 1  Changed: 1  Warnings: 0

mysql> select * from remoteLANServiceURL;
+---------------+---------------+-----------------+--------+----------------------------------------------------------------+------------+
| ipAddress     | mask          | maskedIpAddress | prefix | wsdlURL                                                        | preference |
+---------------+---------------+-----------------+--------+----------------------------------------------------------------+------------+
| 198.124.220.0 | 255.255.255.0 |      3330071552 |     24 | http://198.124.220.9:8080/terapathsRemoteTPsListeners/tpsRTPsL |          0 | 
+---------------+---------------+-----------------+--------+----------------------------------------------------------------+------------+
1 row in set (0.00 sec)

Now enter an IP address in the reservation form with destination 198.124.220.134.

Quick validation on the reservations table:

Code Block

mysql> select * from reservations;
+--------------------+------------------------------------------------+---------------+----------+----------+---------------+--------------------+-----------+---------------+-----------+-----------+----------------+------------+------------+-----------------+-------------+-------------+---------+
| id                 | relatedReservationIds                          | startTime     | duration | protocol | direction     | bandwidthClassName | bandwidth | timeout       | userName  | who       | srcIp          | srcPortMin | srcPortMax | destIp          | destPortMin | destPortMax | status  |
+--------------------+------------------------------------------------+---------------+----------+----------+---------------+--------------------+-----------+---------------+-----------+-----------+----------------+------------+------------+-----------------+-------------+-------------+---------+
| SLAC-1195067218060 | OSCARS,ERROR-NULL_RESPONSE&ERROR-NULL_RESPONSE | 1195070400000 |     3600 | tcp      | bidirectional | AF21               |  50000000 | 1195074000000 | terapaths | terapaths | 192.124.59.200 |      10000 |      10000 | 198.124.220.134 |       10000 |       10000 | pending | 
+--------------------+------------------------------------------------+---------------+----------+----------+---------------+--------------------+-----------+---------------+-----------+-----------+----------------+------------+------------+-----------------+-------------+-------------+---------+
1 row in set (0.00 sec)

Note the OSCARS instance has thrown an error here; but this version of terapaths (due to debugging etc) accepted the end-to-end reservation.

Configuring Destination Subnets

Two tables must be configured, remoteLANServiceURL handles the mapping of endpoint subnets to the terapaths service endpoint. WANServiceURL handles the WAN service to communicate to for the subnets defined.

Code Block

mysql> select * from remoteLANServiceURL;
+---------------+---------------+-----------------+--------+----------------------------------------------------------------+------------+
| ipAddress     | mask          | maskedIpAddress | prefix | wsdlURL                                                        | preference |
+---------------+---------------+-----------------+--------+----------------------------------------------------------------+------------+
| 198.124.220.0 | 255.255.255.0 |      3330071552 |     24 | http://198.124.220.9:8080/terapathsRemoteTPsListeners/tpsRTPsL |          0 | 
+---------------+---------------+-----------------+--------+----------------------------------------------------------------+------------+
1 row in set (0.00 sec)

mysql> select * from WANServiceURL;
+---------------+---------------+-----------------+--------+----------------------------------------------------+------------+
| ipAddress     | mask          | maskedIpAddress | prefix | wsdlURL                                            | preference |
+---------------+---------------+-----------------+--------+----------------------------------------------------+------------+
| 198.124.220.0 | 255.255.255.0 |      3330071552 |     24 | OSCARS,https://oscars.es.net/axis2/services/OSCARS |          0 | 
+---------------+---------------+-----------------+--------+----------------------------------------------------+------------+
1 row in set (0.00 sec)