Configuring a Media Policy for Signaling Packet Marking

To set up a media policy configuration to mark signaling packets:

  1. In Superuser mode, type configure terminal and press Enter.
    ORACLE# configure terminal
  2. Type media-manager and press Enter to access the system-level configuration elements.
    ORACLE(configure)# media-manager
  3. Type media-policy and press Enter. The system prompt changes to let you know that you can begin configuring individual parameters.
    ORACLE(media-manager)# media-policy
    ORACLE(media-policy)#

    From this point, you can configure media policy parameters. To view all media policy configuration parameters, enter a ? at the system prompt.

  4. Type media-policy and press Enter.
    ORACLE(media-manager)# media-policy

    If you are adding support for this feature to a pre-existing configuration, then you must select (using the ACLI select command) the configuration you want to edit.

  5. name—Create a reference name for this policy and press Enter.
  6. Type tos-settings and press Enter.
    ORACLE(media-policy)# tos-settings

    Note:

    The media-policy > tos-settings parameter is not RTC supported and a reboot is required for these updates to take affect.
  7. media-type—Enter the media type that you want to use for this group of TOS settings. You can enter any of the IANA-defined media types for this value: audio, example, image, message, model, multipart, text, and video. This value is not case-sensitive and can be up to 255 characters in length; it has no default.
    ORACLE(tos-settings)# media-type message
  8. media-sub-type—Enter the media sub-type you want to use for the media type. This value can be any of the sub-types that IANA defines for a specific media type. This value is not case-sensitive and can be up to 255 characters in length; it has no default.
    ORACLE(tos-settings)# media-sub-type sip
  9. media-attributes—Enter the media attribute that will match in the SDP. This parameter is a list, so you can enter more than one value. The values are case-sensitive and can be up to 255 characters in length. This parameter has no default.

    If you enter more than one media attribute value in the list, then you must enclose your entry in quotation marks ().

    ORACLE(tos-settings)# media-attributes sendonly sendrecv
  10. tos-value—Enter the TOS value you want applied for matching traffic. This value is a decimal or hexidecimal value. The valid range is:
    • 0x00 to 0xFF.

      ORACLE(tos-settings)# tos-value 0xF0
  11. Save and activate your configuration.