classification
This command configures the Classification table, which lets you define Classification rules.
Syntax
(config-voip)# sbc classification <Index> (classification-<Index>)#
Command |
Description |
---|---|
Index |
Defines the table row index. |
action-type {allow|deny } |
Defines a whitelist or blacklist for the matched incoming SIP dialog. |
classification-name |
Defines a descriptive name, which is used when associating the row in other tables. |
dest-routing-policy |
Assigns a Routing Policy to the matched incoming SIP dialog. |
dst-host |
Defines the prefix of the destination Request-URI host name as a matching characteristic for the incoming SIP dialog. |
dst-user-name-pattern |
Defines the prefix of the destination Request-URI user part as a matching characteristic for the incoming SIP dialog. |
ip-group-selection {src-ip-group|tagged-ip-group} |
Defines how the incoming SIP dialog is classified to an IP Group. |
ip-group-tag-name |
Defines the source tag of the incoming SIP dialog. |
ip-profile-id |
Assigns an IP Profile to the matched incoming SIP dialog. |
message-condition-name |
Assigns a Message Condition rule to the Classification rule as a matching characteristic for the incoming SIP dialog. |
src-host |
Defines the prefix of the source URI host name as a matching characteristic for the incoming SIP dialog. |
src-ip-address |
Defines a source IP address as a matching characteristic for the incoming SIP dialog. |
src-ip-group-name |
Assigns an IP Group to the matched incoming SIP dialog. |
src-port |
Defines the source port number as a matching characteristic for the incoming SIP dialog. |
src-sip-interface-name |
Assigns a SIP Interface to the rule as a matching characteristic for the incoming SIP dialog. |
src-transport-type {any|tcp|tls|udp} |
Defines the source transport type as a matching characteristic for the incoming SIP dialog. |
src-user-name-pattern |
Defines the prefix of the source URI user part as a matching characteristic for the incoming SIP dialog. |
srd-name |
Assigns an SRD to the rule as a matching characteristic for the incoming SIP dialog. |
Command Mode
Privileged User
Example
This example configures a Classification rule whereby calls received from IP address 201.2.2.10 are classified as received from IP Group "ITSP":
(config-voip)# sbc classification 0 (classification-0)# classification-name ITSP (classification-0)# src-ip-group-name ITSP (classification-0)# src-ip-address 201.2.2.10 (classification-0)# activate