Monitoring Gates
This topic includes the following tasks.
- Displaying Information About All Gates on a Virtual BGF
- Displaying Extensive Information About All Gates on a Virtual BGF
- Displaying the Number of Gates Installed on a Virtual BGF
- Displaying Information About a Specific Gate
- Displaying Extensive Information About a Specific Gate
- Displaying Statistics for Gates
- Collecting Statistics on Gates with Rate-Limited Flows
- Improving Performance While Collecting Gate Statistics
- Displaying the Number of FUF Terms Installed on a Virtual BGF
- Displaying Gates That Are Being Mirrored
Displaying Information About All Gates on a Virtual BGF
Purpose
Display information about all gates on a virtual BGF, using the show services pgcp gates gateway gateway-name command.
Action
user@host> show services pgcp gates gateway bgf-1Virtual BGF configuration: Name : bgf-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: bgf-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: bgf-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: bgf-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: bgf-svc-set-1 Termination-id-string: ip/0/rlmvi0/4
Displaying Extensive Information About All Gates on a Virtual BGF
Purpose
Display information about all gates on a virtual BGF 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 bgf-1 extensiveVirtual BGF configuration: Name : bgf-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 Virtual BGF
Purpose
Display the number of gates installed on a virtual BGF using the show services pgcp gates gateway gateway-name count command.
Action
Displaying Information About a Specific Gate
Purpose
Display information about a specific gate using the show services pgcp gate gateway gateway-name gate-id gate-id command.
Action
user@host> show services pgcp gate gateway bgf-1 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: bgf-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 gate gateway bgf-1 gate-id gate-id extensive command.
Action
user@host> show services pgcp gate gateway bgf-1 gate-id 4295033089
extensiveGate 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 gate gateway gateway-name gate-id gate-id statistics command.
Action
user@host> show services pgcp gate gateway bgf-1 gate-id 98784313601
statistics
Gate Statistics:
================
Output packets: 0
Input packets: 0
Dropped packets: 0
Lost RTP packets: 0
Fractional lost RTP packets: 0
RTCP statistics:
================
RTCP Sender statistics:
SSRC : 122598409 Sender octets: 268632 Sender packets: 1599
Invalid packets: 0
RTCP Receiver statistics:
SSRC: 14479 Lost packets: 0 Lost fraction: 0.00
Jitter: 0
Received RTCP-XR Statistics:
Packet Loss Concealment: 0 Loss Rate: 0 Discard Rate: 0
Round Trip Delay: 0 End System Delay: 0 Signal Level: 0
Noise Level: 0 RERL: 0 R Factor: 0
Ext. R Factor: 0 MOS-LQ: 0 MOS-CQ: 0
Received RTCP Burst Metrics Statistics:
Minimum Gap Threshold: 0 Burst Density: 0 Burst Duration: 0
Gap loss Density: 0 Gap Duration: 0
Gate measured rate: 0
Rate limiting statistics:
Mark Color Number of Packets Number of Bytes
Green 205 41000
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 OS 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 virtual BGF. This limit is the maximum value of the following parameters configured on the router:
- The maximum number of FUF terms installed for the virtual BGF
- The maximum percentage of gates with FUF filters relative to all gates currently installed for the virtual BGF
To configure a limit on the number of FUF terms installed on the Packet Forwarding Engine for a virtual BGF:
- Access the configuration of your virtual BGF. [edit services pgcp]user@host# edit servicesgateway bgf-1
- Specify the maximum number of FUF terms
installed for the virtual BGF.[edit services pgcp gateway bgf-1]user@host# set fast-update-filtermaximum-terms 3000
- Specify the maximum percentage of gates
with FUF filters relative to all gates currently installed for the
virtual BGF.[edit services pgcp gateway bgf-1]user@host# set fast-update-filter maximum-fuf-percentage 15
Displaying the Number of FUF Terms Installed on a Virtual BGF
Purpose
Display the number of match condition FUF terms and the number of FUF filters currently installed on a virtual BGF using the show services pgcp gates gateway gateway-name command.
Action
user@host> show services pgcp active-configuration gateway bgf-1. . . Firewall: Status : Connected Number of terms : 2 Number of filters : 2
Displaying Gates That Are Being Mirrored
Purpose
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.
Action
user@host> show services pgcp gate gateway bgf-1 gate-id 4295033088
session-mirroringGate information: Gate id: 4295033088 Session mirroring status: On Session mirroring correlation number: 0x8040c020a060e010 Session mirroring target ID list: [008040c0, ffffff80] Session mirroring direction: Egress
