Verifying Your Configuration
This topic includes the following tasks.
- Verifying the BGF Configuration
- Verifying the BGF Service Package Configuration
- Verifying the Control Service PIC Configuration
- Verifying the Service Interface Configuration
- Verifying the Service Set Configuration
- Verifying the NAT Pool Configuration for a Remotely Controlled NAT Pool
- Verifying the NAT Pool Configuration for a Transport Protocol-Based NAT Pool
- Verifying the Stateful Firewall Configuration
- Verifying the VPN Aggregation Configuration
Verifying the BGF Configuration
Purpose
Display the current configuration of the BGF.
Action
[edit services pgcp]user@host# show media-service media-service-one {
nat-pool bgf-pool;
}
virtual-interface 1 {
media-service media-service-one;
}
gateway bgf-1 {
gateway-address 10.10.30.1;
gateway-port 2944;
cleanup-timeout 3600;
h248-timers {
maximum-waiting-delay 10000;
tmax-retransmission-delay 25000;
initial-average-ack-delay 1000;
maximum-net-propagation-delay 5000;
}
h248-properties {
base-root {
normal-mg-execution-time {
default 600;
minimum 500;
maximum 1000;
}
mg-provisional-response-timer-value {
default 1000;
minimum 500;
maximum 2000;
}
mg-originated-pending-limit {
default 10;
minimum 4;
maximum 20;
}
normal-mgc-execution-time {
default 1000;
minimum 500;
maximum 2000;
}
mgc-provisional-response-timer-value {
default 4000;
minimum 1000;
maximum 8000;
}
mgc-originated-pending-limit {
default 10;
minimum 4;
maximum 100;
}
}
segmentation {
mgc-segmentation-timer {
default 4000;
minimum 2000;
maximum 8000;
}
mgc-maximum-pdu-size {
default 1472;
minimum 736;
maximum 7360;
}
default 4000;
minimum 2000;
maximum 8000;
}
mg-maximum-pdu-size {
default 1472;
minimum 736;
maximum 7360;
}
}
diffserv {
dscp {
default ef;
}
}
traffic-management {
sustained-data-rate {
default 2000000;
minimum 1500000;
maximum 2500000;
rtcp {
fixed-value 200000;
}
}
peak-data-rate {
default 3000000;
minimum 2500000;
maximum 3500000;
rtcp {
fixed-value 100000;
}
}
max-burst-size {
default 3000000;
minimum 2500000;
maximum 3500000;
rtcp {
percentage 1000;
}
}
}
}
max-concurrent-calls 6000;
gateway-controller gc-1 {
controller-address 10.10.2.3;
controller-port 2944;
interim-ah-scheme {
algorithm hmac-null;
}
remote-controller;
}
data-inactivity-detection {
inactivity-delay 10;
latch-deadlock-delay 10;
send-notification-on-delay;
inactivity-duration 60;
stop-detection-on-drop;
report-service-change {
service-change-type forced-910;
}
}
}
rule bgf-rule-1 {
gateway bgf-1;
media-service media-service-one;
}
rule bgf-rule-2 {
gateway bgf-1;
media-service media-service-one;
}
rule-set bgf-rule-set-1 {
rule bgf-rule-1;
rule bgf-rule-2;
}
session-mirroring {
delivery-function df-1 {
destination-address 10.1.1.63;
destination-port 15000;
network-operator-id ABCDE;
source-address 10.1.1.43;
source-port 10000;
}
} Verifying the BGF Service Package Configuration
Purpose
If you configured your virtual BGFs to run on a services PIC, verify that the BGF services package is installed on the services interface.
Display the chassis configuration.
Action
[edit chassis]user@host# show chassis {
no-service-pic-restart-on-failover;
fpc 0 {
pic 3 {
adaptive-services {
service-package {
extension-provider {
control-cores 7;
wired-process-mem-size 512;
package jservices-bgf;
}
}
}
}
}
}
Verifying the Control Service PIC Configuration
Purpose
If you configured your virtual BGFs to run on a services PIC, verify that the Control Service PIC is configured.
Display the control service PIC configuration.
Action
[edit interfaces]user@host# show ms-0/3/0 {
description BGF-Service-PIC;
unit 10 {
family inet;
}
unit 20 {
family inet;
}
}Verifying the Service Interface Configuration
Purpose
Display the service interface configuration.
Action
[edit interface sp-1/0/0]user@host# show description bgf_service;
traceoptions {
flag all;
}
services-options {
syslog {
host local {
services any;
}
}
inactivity-timeout 720;
}
unit 0 {
family inet;
}
unit 10 {
family inet;
}
unit 20 {
family inet;
}Verifying the Service Set Configuration
Purpose
Display the service set configuration.
Action
[edit services service-set bgf-svc-set]user@host# show syslog {
host local-1 {
services any;
}
}
stateful-firewall-rules r1;
cos-rules cos-rule;
pgcp-rules bgf-rule-1;
next-hop-service {
service-interface-pool int-pool-1;
}Verifying the NAT Pool Configuration for a Remotely Controlled NAT Pool
Purpose
Display the NAT pool configuration for a remotely controlled NAT pool.
Action
[edit services nat]user@host# show pool bgf-pool {
pgcp {
remotely-controlled;
ports-per-session 4;
}
address-range low 10.10.20.100 high 10.10.30.100;
port range low 10000 high 50000;
}Verifying the NAT Pool Configuration for a Transport Protocol-Based NAT Pool
Purpose
Display the NAT pool selected based on transport protocol.
Action
[edit services nat]user@host# show pool bgf-pool {
pgcp {
ports-per-session 4;
transport [ rtp-avp udp ];
}
address-range low 10.10.20.100 high 10.10.30.100;
port automatic;
}Verifying the Stateful Firewall Configuration
Purpose
Display the stateful firewall configuration.
Action
[edit services stateful-firewall]user@host# show rule r1 {
match-direction input-output;
term t1 {
then {
reject;
}
}
}Verifying the VPN Aggregation Configuration
- Verifying VPN Aggregation Policy Options Configuration
- Verifying VPN Aggregation Routing Instances Configuration
- Verifying VPN Aggregation Service Set Configuration
- Verifying VPN Aggregation Service Interface Pool Configuration
- Verifying VPN Aggregation Virtual Interface Configuration
Verifying VPN Aggregation Policy Options Configuration
Purpose
Display the policy options configuration.
Action
[edit policy-options]user@host# show policy-statement policy-1 {
term t1 {
then reject;
}
}Verifying VPN Aggregation Routing Instances Configuration
Purpose
[edit routing-instances]user@host# show vrf1 {
instance-type vrf;
interface sp-1/0/0.10;
route-distinguisher 10.10.10.11:0;
vrf-import policy-1;
vrf-export policy-1;
}
vrf2 {
instance-type vrf;
interface sp-2/0/0.10;
route-distinguisher 10.10.10.22:0;
vrf-import policy-1;
vrf-export policy-1;
}
vrf3 {
instance-type vrf;
interface sp-3/0/0.10;
route-distinguisher 10.10.10.33:0;
vrf-import policy-1;
vrf-export policy-1;
}Action
Verifying VPN Aggregation Service Set Configuration
Purpose
Display the service set configuration.
Action
[edit services service-set bgf]user@host# show pgcp-rules bgf-rule;
next-hop-service {
service-interface-pool vrf-pool;
}Verifying VPN Aggregation Service Interface Pool Configuration
Purpose
Display the service interface pool configuration.
Action
[edit services service-interface-pools]user@host# show pool vrf-pool {
interface sp-1/0/0.10;
interface sp-2/0/0.10;
interface sp-3/0/0.10;
}Verifying VPN Aggregation Virtual Interface Configuration
Purpose
Display the virtual interface.
Action
[edit services pgcp]user@host# show virtual-interface 1 {
routing-instance vrf1 service-interface sp-1/0/0.10;
media-service access_ms;
}
virtual-interface 2 {
routing-instance vrf1 service-interface sp-2/0/0.10;
media-service core_ms;
}
virtual-interface 3 {
routing-instance vrf3 service-interface sp-3/0/0.10;
media-service access_ms;
}