Creating a Custom Filter

Use the following procedure to create a custom filter on the Net-Net ESD.

To configure a filter(s):

  1. In Superuser mode, type configure terminal and press Enter.
    ACMEPACKET# configure terminal
  2. Type session-router and press Enter to access the session router-related objects.
    ACMEPACKET(configure)# session-router
    ACMEPACKET(session-router)#
  3. Type filter-config and press Enter to access the filter configuration-related attributes.
    ACMEPACKET(session-router)# filter-config
    ACMEPACKET(filter-config)#

    name—Enter a name to assign to this filter. Valid values are alpha-numeric characters. Default is blank.

    ACMEPACKET(filter-config)# name FILTER1

    Note:

    You can use this filter name when configuring monitoring on a global-basis, or when monitoring session-agents and/or realms.

    address—Enter the IP address to apply to this filter. You can specify netmask if required. IP Address must be entered in dotted decimal format (0.0.0.0). Default is 0.0.0.0.

    ACMEPACKET(filter-config)# address 1.1.1.1	(filters on IP address)
    ACMEPACKET(filter-config)# address 1.1.1.1/24 (filters on IP address and netmask)

    user—Enter a phone number or user-part to apply to this filter. Valid values are numeric characters. Default is blank.

    ACMEPACKET(filter-config)# user 5551212

    You must specify either the phone number OR user part for the user attribute. If you want both the phone number AND user part to be filtered, you must create separate filters to set each value.

  4. Enter done to save the filter.
    ACMEPACKET(filter-config)# done
  5. Enter exit to exit the filter configuration.
    ACMEPACKET(filter-config)# exit
  6. Enter exit to exit the session-router configuration.
    ACMEPACKET(session-router)# exit
  7. Enter exit to exit the configure mode.
    ACMEPACKET(configure)# exit
  8. Enter save-config to save the filter configuration.
    ACMEPACKET# save-config
  9. Enter activate-config to activate the filter configuration.
    ACMEPACKET# activate-config