Verifying SIP ALG Configurations
- Verifying SIP ALGs
- Verifying SIP ALG Calls
- Verifying SIP ALG Call Details
- Verifying SIP ALG Counters
- Verifying the Rate of SIP ALG Messages
Verifying SIP ALGs
Purpose
Display SIP ALG verification options.
Action
From the CLI, enter the show security alg sip ? command.
user@host> show security alg sip ?
Possible completions: calls Show SIP calls counters Show SIP counters rate Show SIP rate
Meaning
The output shows a list of all SIP verification parameters. Verify the following information:
- Calls—Lists all SIP calls.
- Counters—Provides counters of response codes for each SIP request method and error type.
- Rate—Provides speed and periodicity of SIP signaling messages.
Verifying SIP ALG Calls
Purpose
Display information about active calls.
Action
From the J-Web interface, select Monitor>ALGs>SIP>Calls. Alternatively, from the CLI, enter the show security alg sip callscommand.
user@host> show security alg sip calls
Total number of calls: 1 Call ID: 47090a32@30.2.20.5 Method: INVITE
Meaning
The output shows a list of all active SIP calls. Verify the User Agent Server (UAS) call ID and local and remote tags, and the state of the call.
Verifying SIP ALG Call Details
Purpose
Display address and SDP about active calls.
Action
From the J-Web interface, select Monitor>ALGs>SIP>Details. Alternatively, from the CLI, enter the show security alg sip calls detail command.
user@host> show security alg sip calls
detail
Total number of calls: 1 Call ID : 47090a32@30.2.20.5 Method : INVITE State : SETUP Group ID : 24575
Meaning
The output provides details about all active SIP calls. Verify the following information:
- The total number of calls, their ID and tag information, and state
- Remote group ID
- The IP addresses and port numbers and SDP connection and media details
Verifying SIP ALG Counters
Purpose
Display information about SIP counters.
Action
From the J-Web interface, select Monitor>ALGs>SIP>Counters. Alternatively, from the CLI, enter the show security alg sip counters command.
user@host> show security alg sip counters
Method T 1xx 2xx 3xx 4xx 5xx 6xx RT RT RT RT RT RT RT INVITE 4 4 3 0 0 0 0 0 0 0 0 0 0 0 CANCEL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ACK 3 0 0 0 0 0 0 0 0 0 0 0 0 0 BYE 3 0 3 0 0 0 0 0 0 0 0 0 0 0 REGISTER 7 0 7 0 0 0 0 0 0 0 0 0 0 0 OPTIONS 0 0 0 0 0 0 0 0 0 0 0 0 0 0 INFO 0 0 0 0 0 0 0 0 0 0 0 0 0 0 MESSAGE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NOTIFY 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PRACK 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PUBLISH 0 0 0 0 0 0 0 0 0 0 0 0 0 0 REFER 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SUBSCRIBE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 UPDATE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BENOTIFY 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SERVICE 0 0 0 0 0 0 0 0 0 0 0 0 0 0 OTHER 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SIP Error Counters ----------------------------- Total Pkt-in :34 Total Pkt dropped on error :0 Call error :0 IP resolve error :0 NAT error :0 Resource manager error :0 RR header exceeded max :0 Contact header exceeded max :0 Call Dropped due to limit :0 SIP stack error : 0 SIP decode error : 0 SIP unknown method error : 0 RTO message sent : 0 RTO message received : 0 RTO buffer allocation failure : 0 RTO buffer transmit failure : 0 RTO send processing error : 0 RTO receive processing error : 0 RTO receive invalid length : 0 RTO receive call process error : 0 RTO receive call allocation error : 0 RTO receive call register error : 0 RTO receive invalid status error : 0
Meaning
The output provides a count of all SIP response codes transmitted and received, and of SIP errors. Verify the following information:
- A count of transmissions of response codes for each SIP request method
- A count of all possible error types
Verifying the Rate of SIP ALG Messages
Purpose
Display information about SIP message rate.
Action
From the J-Web interface, select Monitor>ALGs>SIP>Rate. Alternatively, from the CLI, enter the show security alg sip rate command.
user@host> show security alg sip rate
CPU ticks per microseconds is 3735928559 Time taken for the last message is 0 microseconds Total time taken for 0 messages is 0 microseconds(in less than 10 minutes) Rate: 3735928559 messages/second
Meaning
The output provides information about CPU usage for messages, and speed and periodicity of SIP signaling messages. Verify the following information:
- CPU ticks per US
- Passage time for last message, for all messages, and the rate at which messages transit the network
Related Topics
- JUNOS Software Feature Support Reference for SRX Series and J Series Devices
- SIP ALG Configuration Overview
- Example: Configuring Interface Source NAT for Incoming SIP Calls (CLI)
- Example: Configuring a Source NAT Pool for Incoming SIP Calls (CLI)
- Example: Configuring Static NAT for Incoming SIP Calls (CLI)
- Example: Configuring the SIP Proxy in the Private Zone and NAT in the Public Zone (CLI)
- Example: Configuring the SIP Proxy and NAT in the Public Zone (CLI)
- Example: Configuring a Three-Zone SIP ALG and NAT Scenario (CLI)