[Contents] [Prev] [Next] [Index] [Report an Error]

Monitoring Gates

Use the following topics to learn about monitoring gates:

Displaying Information About All Gates on a VPG

Purpose

Display information about all gates on a VPG using the show services pgcp gates gateway gateway-name command.

Action


user@host> show services pgcp gates gateway vpg-1
Packet gateway configuration:
  Name                                     :  vpg-1
  IP address                               :  3.0.0.2
  Port                                     :  2944
  Status                                   :  Connected 

Gate information:
Gate id: 4295033088
Gate state: Active
Service set id: 1
Media card: sp-0/3/0
Media handler: pgcp-svc-set-1
Termination-id-string: ip/0/rlmvi2/1 

Gate id: 4295033089
Gate state: Active
Service set id: 1
Media card: sp-0/3/0
Media handler: pgcp-svc-set-1
Termination-id-string: ip/0/rlmvi0/2 

Gate id: 8590000384
Gate state: Active
Service set id: 1
Media card: sp-0/3/0
Media handler: pgcp-svc-set-1
Termination-id-string: ip/0/rlmvi2/3 

Gate id: 8590000385
Gate state: Active
Service set id: 1
Media card: sp-0/3/0
Media handler: pgcp-svc-set-1
Termination-id-string: ip/0/rlmvi0/4

Displaying Extensive Information About All Gates on a VPG

Purpose

Display information about all gates on a VPG including statistics for the gates, RTCP sender and RTCP receiver statistics, and rate-limiting statistics for the gates, using the show services pgcp gates gateway gateway-name extensive command.

Action


user@host> show services pgcp gates gateway vpg-1 extensive
Packet gateway configuration:
  Name                                     :  vpg-1               
  IP address                               :  2.0.0.2           
  Port                                     :  2944              
  Status                                   :  In-Service (Registered) 

Gate information:
================
Gate id: 4295033088          
Gate state: active
Direction: A->B      
Action: forward      
Remote source address: *                                                
Remote source port: *      
Remote destination address: 4.0.0.1                                          
Remote destination port: 5060   
Local source address: [4.99.99.20]                                     
Local source port: [5060] 
Local destination address: 2.99.99.20                                       
Local destination port: 5060   
Transport: udp          
RTCP: Off          
Latch: none         
DSCP: 0x00 (Effective 0)  
Policing: On
Gate SDR : 10000 bytes per second
Gate PDR : 10000 bytes per second
Gate MBS : 1000 bytes
RTCP SDR : 500 bytes per second
RTCP PDR : 500 bytes per second
RTCP MBS : 1000 bytes
Fast update filter: Off

Gate information:
================
Gate id: 4295033089          
Gate state: active
Direction: B->A      
Action: forward      
Remote source address: *                                                
Remote source port: *      
Remote destination address: 2.0.0.1                                          
Remote destination port: 5060   
Local source address: [2.99.99.20]                                     
Local source port: [5060] 
Local destination address: 4.99.99.20                                       
Local destination port: 5060   
Transport: udp          
RTCP: Off          
Latch: none         
DSCP: 0x00 (Effective 0)  
Policing: On
Gate SDR : 10000 bytes per second
Gate PDR : 10000 bytes per second
Gate MBS : 1000 bytes
RTCP SDR : 500 bytes per second
RTCP PDR : 500 bytes per second
RTCP MBS : 1000 bytes
Fast update filter: Off

Displaying the Number of Gates Installed on a VPG

Purpose

Display the number of gates installed on a VPG using the show services pgcp gates gateway gateway-name count command.

Action


user@host> show services pgcp gates gateway vpg-1 count
Gateway Name                                       Gate count
vpg-1                                                      4

Displaying Information About a Specific Gate

Purpose

Display information about a specific gate using the show services pgcp gates gate-id gate-id command.

Action


user@host> show services pgcp gates gate-id 4295033089
           
Gate information:
Gate id: 4295033089          
Gate state:  active 
Action: forward      
Service set id: 1     
Media card: sp-0/2/0                                                
Media handler: pgcp-svc-set                                            
Termination-id-string: ip/0/rlmvi2/1

Displaying Extensive Information About a Specific Gate

Purpose

Display extensive information about a specific gate including statistics for the gate using the show services pgcp gates gate-id gate-id extensive command.

Action


user@host> show services pgcp gates gate-id 4295033089 extensive
Gate information:
================
Gate id: 4295033089          
Gate state: active
Direction: B->A      
Action: forward      
Remote source address: *                                                
Remote source port: *      
Remote destination address: 2.0.0.1                                          
Remote destination port: 5060   
Local source address: [2.99.99.20]                                     
Local source port: [5060] 
Local destination address: 4.99.99.20                                       
Local destination port: 5060   
Transport: udp          
RTCP: Off          
Latch: none         
DSCP: 0x00 (Effective 0)  
Policing: On
Gate SDR : 10000 bytes per second
Gate PDR : 10000 bytes per second
Gate MBS : 1000 bytes
RTCP SDR : 500 bytes per second
RTCP PDR : 500 bytes per second
RTCP MBS : 1000 bytes
Fast update filter: Off

Displaying Statistics for Gates

Purpose

Display statistics for a gate, including packet statistics, RTCP sender and RTCP receiver statistics, rate-limiting statistics, and the number of packets dropped because of fast update filters (FUF), using the show services pgcp gates gate-id gate-id statistics command.

Action


user@host> show services pgcp gates gate-id 98784313601 statistics
Gate Statistics:
================
Output packets: 0                   
Input packets: 0                   
Dropped packets: 0                   
Lost RTP packets: 0                   

Rate limiting statistics:

Mark Color   Number of Packets    Number of Bytes

Green                        0                  0
Yellow                       0                  0
Red                          0                  0


FUF statistics:
Drop count: 0        

Collecting Statistics on Gates with Rate-Limited Flows

When fast update filters (FUF) are installed on the Packet Forwarding Engine and PIC, the Packet Forwarding Engine and PIC discard packets flowing through gates if they exceed the rate limits set in the FUF. To get accurate statistics for gates, the JUNOS software includes these discarded packets in statistics that it collects for gates.

Improving Performance While Collecting Gate Statistics

Collecting statistics on packets that are dropped on a gate can impact system performance. To improve performance, the software can limit the number of FUF terms installed on the Packet Forwarding Engine for a VPG. This limit is the maximum value of the following parameters configured on the router:

Step-by-Step Procedure

To configure a limit on the number of FUF terms installed on the Packet Forwarding Engine for a VPG:

  1. Access the configuration of your VPG.
    [edit services pgcp]
    user@host#edit gateway vpg-1
  2. Specify the maximum number of FUF terms installed for the VPG.
    [edit services pgcp gateway vpg-1]
    user@host#set fast-update-filter maximum-terms 3000
  3. Specify the maximum percentage of gates with FUF filters relative to all gates currently installed for the VPG.
    [edit services pgcp gateway vpg-1]
    user@host#set fast-update-filter maximum-fuf-percentage 15

Displaying the Number of FUF Terms Installed on a VPG

Purpose

Display the number of match condition FUF terms and the number of FUF filters currently installed on a VPG using the show services pgcp active-configuration command.

Action


user@host> show services pgcp active–configuration
. . .
Firewall:
  Status             :  Connected               
  Number of terms    :  2                 
  Number of filters  :  2    

Displaying Gates That Are Being Mirrored

You can view session mirroring information for gates that are being mirrored. You must have a login with sufficient permission to view session mirroring information. The set system login class class-name permissions pgcp-session-mirroring command grants this permission.

Purpose

Display session-mirroring information for a gate using the show services pgcp gates gate-id gate-id session-mirroring command.

Action


user@host> show services pgcp gates gate-id 4295033088 session-mirroring
           
Gate information:
Gate id: 4295033088
Session mirroring status: On
Session mirroring correlation number: 0x8040c020a060e010
Session mirroring target ID list: [008040c0, ffffff80]
Session mirroring direction: Egress

Related Topics


[Contents] [Prev] [Next] [Index] [Report an Error]