To confirm that the configuration is working properly, perform these tasks:
Purpose
Verify the active BGF configuration that is running on your router.
Action
user@sp-bgf-router> show services pgcp
active-configuration gateway *Packet gateway media service configuration: Media service name: bgf1_peer_rtp_ms1 Nat pool : bgf1_peer_rtp-nat-pool-1 Packet gateway media service configuration: Media service name: bgf2_peer_rtp_ms2 Nat pool : bgf2_peer_rtp-nat-pool-2 Packet gateway media service configuration: Media service name: bgf3_peer_rtp_ms3 Nat pool : bgf3_peer_rtp-nat-pool-3 Packet gateway media service configuration: Media service name: bgf1_core_rtp_ms4 Nat pool : bgf1_core_rtp-nat-pool-4 Packet gateway media service configuration: Media service name: bgf2_core_rtp_ms5 Nat pool : core_rtp-nat-pool-5 Packet gateway media service configuration: Media service name: bgf3_core_rtp_ms6 Nat pool : bgf3_core_rtp-nat-pool-6 Packet gateway media service configuration: Media service name: bgf1_peer_sip_ms7 Nat pool : bgf1_peer_sip-nat-pool-7 Packet gateway media service configuration: Media service name: bgf1_core_sip_ms8 Nat pool : bgf1_core_sip-nat-pool-8 Packet gateway virtual interface configuration: Virtual Interface name: 1 Status : In-Service Media Service Name : bgf1_core_rtp_ms4 Media Service Name : bgf1_core_sip_ms8 Media Service Name : bgf2_core_rtp_ms5 Media Service Name : bgf2_core_rtp_ms5 Packet gateway virtual interface configuration: Virtual Interface name: 2 Status : In-Service Media Service Name : bgf1_peer_rtp_ms1 Media Service Name : bgf1_peer_sip_ms7 Media Service Name : bgf2_peer_rtp_ms2 Media Service Name : bgf3_peer_rtp_ms3 Packet gateway configuration: Name : bgf-1 IP address : 172.16.10.1 Port : 2944 Status : In-Service (Registered) Active gateway controller : gc–1 Replication socket : Connected (Syncing) Cleanup timeout [secs] : 3600 Gate inactivity delay [secs] : 240 Gate inactivity duration (Q-MI ) [secs] : 86400 Latching Deadlock duration [secs] : 15 Packet gateway configuration: Name : bgf-2 IP address : 172.16.20.2 Port : 2944 Status : In-Service (Disconnected) Active gateway controller : Replication socket : Connected (Syncing) Cleanup timeout [secs] : 3600 Gate inactivity delay [secs] : 240 Gate inactivity duration (Q-MI ) [secs] : 86400 Latching Deadlock duration [secs] : 15 Packet gateway configuration: Name : bgf-3 IP address : 172.16.30.3 Port : 2944 Status : In-Service (Disconnected) Active gateway controller : Replication socket : Connected (Syncing) Cleanup timeout [secs] : 3600 Gate inactivity delay [secs] : 240 Gate inactivity duration (Q-MI ) [secs] : 86400 Latching Deadlock duration [secs] : 15 H248 timers configuration: Max waiting delay (MWD) [millisec] : 10000 Max retransmission delay (T-MAX) [millisec] : 25000 Initial average ack delay (I-AAD) [millisec]: 1000 Max net propagation delay (M-NPD) [millisec]: 5000 H248 options configuration: Wildcard response service-change : NO H248 diffserv configuration: dscp : 0x00 H248 segmentation : minimum maximum default MG segmentation timer [millisec] : 500 30000 4000 MG maximum PDU size [bytes] : 512 65507 1472 MGC segmentation timer [millisec] : 500 30000 4000 MGC maximum PDU size [bytes] : 512 65507 1472 H248 base root : minimum maximum default Normal MG execution time [millisec] : 500 29000 500 MG Provisional response timer [millisec] : 500 30000 2000 MG Originated pending limit : 1 512 4 Normal MGC execution time [millisec] : 500 29000 500 MGC Provisional response timer [millisec]: 500 30000 4000 MGC Originated pending limit : 1 512 4 Fast update filters: Maximum terms : 20000 Maximum term percentage : 10 Packet gateway controller configuration: Controller name : gc-1 Controller IP address : 33.0.0.1 Controller port : 2944 Packet gateway rule configuration: Rule name : bgf-rule1 Gateway name : bgf-1 Packet gateway rule configuration: Rule name : bgf-rule2 Gateway name : bgf-2 Packet gateway rule configuration: Rule name : bgf-rule3 Gateway name : bgf-3 Packet gateway service set configuration: Service set name : bgf1-svc-set Service set id : 1 Rule name : bgf-rule1 Packet gateway service set configuration: Service set name : bgf2-svc-set Service set id : 2 Rule name : bgf-rule2 Packet gateway service set configuration: Service set name : bgf3-svc-set Service set id : 3 Rule name : bgf-rule3 Packet gateway service pics status: Name : sp-1/2/0 Status : Connected Packet gateway service pics status: Name : sp-1/2/1 Status : Connected Firewall: Status : Connected Number of terms : 2 Number of filters : 2
Meaning
Use the show services pgcp active-configuration command to see your configuration and to display the current status of your virtual interfaces, virtual BGF (Packet gateway configuration), and services interfaces.
In addition, make sure that:
Purpose
Verify that gates are running on bgf-1.
Action
user@sp-bgf-router> show services pgcp
gates gateway bgf-1Packet gateway configuration: Name : bgf—1 IP address : 172.16.10.1 Port : 2944 Status : In-Service (Registered) Gate information: Gate id: 4295033088 Gate state: active Action: forward Service set id: 1 Media card: sp-1/2/0 Media handler: bgf1-svc-set Termination-id-string: ip/4/vif-0/2 Gate id: 4295033089 Gate state: active Action: forward Service set id: 1 Media card: sp-1/2/0 Media handler: bgf1-svc-set Termination-id-string: ip/4/vif-0/3
Meaning
The show services pgcp gates command lists the gates on the virtual BGF. It shows whether gates are active, disabled, or closed. It also shows the current action being performed on the gate—forward, add, or drop.
Purpose
Verify the terminations on bgf-1.
Action
user@sp-bgf-router> show services pgcp
terminations gateway bgf-1Packet gateway configuration: Name : bgf–1 IP address : 172.16.10.1 Port : 2944 Status : In-Service (Registered) Termination name State Duration(msecs) ip/4/vif-0/2 In-service 390288 Gate-id Direction State Action 4295033088 A->B active forward 4295033089 B->A active forward Termination name State Duration(msecs) ip/4/vif-0/3 In-service 390294 Gate-id Direction State Action 4295033088 A->B active forward 4295033089 B->A active forward
Meaning
The show services pgcp terminations command lists the terminations on the virtual BGF. It shows whether the gates within a termination are active, disabled, or closed. You can use the termination names (termination IDs) to troubleshoot problems with voice calls.
Purpose
Verify the PGCP flows.
Action
user@sp-bgf-router> show services pgcp
flows gateway bgf-1Interface: sp-1/2/0, Service set: bgf1-svc-set
Flow State Dir Frm count
Gate id: 4295033089
UDP 20.0.0.1:0 -> 11.0.0.5:1024 Forward I 0
NAT source 20.0.0.1:0 -> 10.10.0.5:1024
NAT dest 11.0.0.5:1024 -> 10.0.0.1:20002
Gate id: 4295033089
UDP 20.0.0.1:0 -> 11.0.0.5:1025 Forward I 0
NAT source 20.0.0.1:0 -> 10.10.0.5:1025
NAT dest 11.0.0.5:1025 -> 10.0.0.1:20003
Gate id: 4295033088
UDP 0.0.0.0:0 -> 10.10.0.5:1024 Forward I 0
NAT source 0.0.0.0:0 -> 11.0.0.5:1024
NAT dest 10.10.0.5:1024 -> 20.0.0.1:10002
Gate id: 4295033088
UDP 0.0.0.0:0 -> 10.10.0.5:1025 Forward I 0
NAT source 0.0.0.0:0 -> 11.0.0.5:1025
NAT dest 10.10.0.5:1025 -> 20.0.0.1:10003
Purpose
Verify the H.248 parameters that are set by the gateway controller.
Action
user@sp-bgf-router> show services pgcp
terminations gateway bgf-1 h248Termination information:
ip/4/vif-0/2 {
MEDIA {
TERMINATIONSTATE { SERVICESTATES = INSERVICE },
STREAM = 1 {
LOCALCONTROL { MODE = SENDRECEIVE,
DS/DSCP = 00,
TMAN/MBS = 0,
TMAN/PDR = 0,
TMAN/POL = OFF,
TMAN/SDR = 0,
MGCINFO/DB = 00,
GM/RSB = ON,
GM/SAF = OFF,
GM/SPF = OFF,
GM/SPR = 0,
GM/ESAS = OFF,
GM/ESPS = OFF,
GM/LSP = 0 },
LOCAL {
v=0
c=IN IP4 10.10.0.5
m=- 1024 RTP/AVP -
b=AS:0
},
REMOTE {
v=0
c=IN IP4 10.0.0.1
m=- 20002 RTP/AVP -
b=AS:0
}
}
},
EVENTS = 1001 { NT/QUALERT { TH = 99, STREAM = 1 } },
SIGNALS
}
ip/4/vif-0/3 {
MEDIA {
TERMINATIONSTATE { SERVICESTATES = INSERVICE },
STREAM = 1 {
LOCALCONTROL { MODE = SENDRECEIVE,
DS/DSCP = 00,
TMAN/MBS = 1500,
TMAN/PDR = 0,
TMAN/POL = OFF,
TMAN/SDR = 125000,
MGCINFO/DB = 00,
GM/RSB = ON,
GM/SAF = ON,
GM/SAM = "[20.0.0.1]",
GM/SPF = OFF,
GM/SPR = 0,
GM/ESAS = OFF,
GM/ESPS = OFF,
GM/LSP = 0 },
LOCAL {
v=0
c=IN IP4 11.0.0.5
m=- 1024 RTP/AVP -
b=AS:0
},
REMOTE {
v=0
c=IN IP4 4.0.0.1
m=- 10002 RTP/AVP -
b=AS:0
}
}
},
SIGNALS
}
{master}
Meaning
The show services pgcp terminations gateway bgf-name h248 command presents the H.248 parameters as they have been set through H.248 requests and commands from the gateway controller. Comparing this output with the expected H.248 requests reveals whether there was a problem with the requests and commands that the gateway controller sent to the virtual BGF.