The following is an example of a packet gateway configuration:
- [edit services]
- pgcp
-
- gateway vpgOne{
- cleanup-timeout 3600;
- gate-inactivity-delay 10;
- gate-inactivity-duration 60;
- gateway-address 10.20.10.100;
- gateway-port 2944;
-
- gateway-controller pgc1 {
- controller-address 10.10.33.200;
- controller-port 2944;
-
- interim ah scheme {
- algorithm hmac-null;
- }
- }
-
- gateway-controller pgc2 {
- controller-address 10.20.33.300;
- controller-port 2944;
-
- interim ah scheme {
- algorithm hmac-null;
- }
- }
-
- graceful-restart {
- maximum-synchronization-mismatches 300;
- maximum-synchronization-time 30;
- }
-
- h248-properties {
-
- base-root {
- normal-mg-execution-time default 500;
- normal-mgc-execution-time default 500;
- mg-provisional-response-timer default 2000;
- mgc-provision-response-timer default 2000;
- mg-originated-pending-limit default 4;
- mg-originated-pending-limit default 4;
- }
-
- segmentation {
- mg-segmentation-timer-value default 4000;
- mgc-segmentation-timer-value default 4000;
- mg-maximum-pdu-size default 1472;
- mgc-maximum-pdu-size default 1472;
- }
- }
-
- h248-options {
- wildcard-response-service-change;
- }
-
- h248-timers {
- initial-average-ack-delay 4000;
- maximum-net-propagation-delay 40000;
- maximum-waiting-delay 30000;
- tmax-retransmission-delay 25000;
- }
- }
-
- gateway vpgTwo {
- cleanup-timeout 3600;
- gate-inactivity-delay 10;
- gate-inactivity-duration 60;
- gateway-address 10.20.10.200;
- gateway-port 2944;
-
- gateway-controller pgc1 {
- controller-address 10.10.33.200;
- controller-port 2944;
-
- interim ah scheme {
- algorithm hmac-null;
- }
- }
-
- gateway-controller pgc2 {
- controller-address 10.10.33.300;
- controller-port 2944;
-
- interim ah scheme {
- algorithm hmac-null;
- }
- }
-
- graceful-restart {
- maximum-synchronization-mismatches 300;
- maximum-synchronization-time 30;
- }
-
- h248-properties {
-
- base-root {
- normal-mg-execution-time default 500;
- normal-mgc-execution-time default 500;
- mg-provisional-response-timer default 2000;
- mgc-provision-response-timer default 2000;
- mg-originated-pending-limit default 4;
- mg-originated-pending-limit default 4;
- }
-
- segmentation {
- mg-segmentation-timer-value default 4000;
- mgc-segmentation-timer-value default 4000;
- mg-maximum-pdu-size default 1472;
- mgc-maximum-pdu-size default 1472;
- }
- }
-
- h248-timers {
- initial-average-ack-delay 4000;
- maximum-net-propagation-delay 40000;
- maximum-waiting-delay 30000;
- tmax-retransmission-delay 25000;
- }
- }
-
- media-service ms1 {
- nat-pool pgcp-pool;
- }
-
- rule pgcp-rule {
- gateway pg1;
- media-service ms1;
- }
-
- traceoptions {
- file pgcpd;
- flag routing-socket;
- flag gate;
- flag media-function;
- flag pgc-connection;
- flag pgcp-stack-h248;
- flag error;
- flag configuration;
- }
-
- virtual-interface 1 {
- media-service ms1;
- interface fe-1/0/0;
- }
-
- virtual-interface 2 {
- media-service ms1;
- interface fe-1/1/0;
- }
- }
- nat {
-
- pool pgcp-pool {
- pgcp;
- address-range low 20.20.20.100/32;
- port automatic;
- }
- }