CLI Quick Configuration
To quickly configure the VPGs, copy the following commands and paste them into the router terminal window:
- [edit services pgcp]
-
set gateway vpg-1 gateway-address 172.16.10.1
-
set gateway vpg-1 gateway-port 2944
-
set gateway vpg-1 cleanup-timeout 3600
-
set gateway vpg-1 gateway-controller pgc-1
controller-address 33.0.0.1
-
set gateway vpg-1 gateway-controller pgc-1
controller-port 2944
-
set gateway vpg-1 gateway-controller pgc-1
interim-ah-scheme algorithm hmac-null
-
set gateway vpg-2 gateway-address 172.16.20.2
-
set gateway vpg-2 gateway-port 2944
-
set gateway vpg-2 cleanup-timeout 3600
-
set gateway vpg-2 gateway-controller pgc-1
controller-address 33.0.0.1
-
set gateway vpg-2 gateway-controller pgc-1
controller-port 2944
-
set gateway vpg-2 gateway-controller pgc-1
interim-ah-scheme algorithm hmac-null
-
set gateway vpg-3 gateway-address 172.16.30.3
-
set gateway vpg-3 gateway-port 2944
-
set gateway vpg-3 cleanup-timeout 3600
-
set gateway vpg-3 gateway-controller pgc-1
controller-address 33.0.0.1
-
set gateway vpg-3 gateway-controller pgc-1
controller-port 2944
-
set gateway vpg-3 gateway-controller pgc-1
interim-ah-scheme algorithm hmac-null
Step-by-Step Procedure
To configure the VPGs:
- [edit services pgcp]
- user@sp-pg-router#edit gateway vpg-1
- [edit services pgcp gateway vpg-1]
- user@sp-pg-router#set gateway-address 172.16.10.1
- user@sp-pg-router#set gateway-port 2944
- user@sp-pg-router#set cleanup-timeout 3600
- user@sp-pg-router#set gateway-controller pgc-1
controller-address 33.0.0.1
- user@sp-pg-router#set gateway-controller pgc-1
controller-port 2944
- user@sp-pg-router#set gateway-controller pgc-1
interim-ah-scheme algorithm hmac-null
- [edit services pgcp]
- user@sp-pg-router#edit gateway vpg-2
- [edit services pgcp gateway vpg-2]
- user@sp-pg-router#set gateway-address 172.16.20.2
- user@sp-pg-router#set gateway-port 2944
- user@sp-pg-router#set cleanup-timeout 3600
- user@sp-pg-router#set gateway-controller pgc-1
controller-address 33.0.0.1
- user@sp-pg-router#set gateway-controller pgc-1
controller-port 2944
- user@sp-pg-router#set gateway-controller pgc-1
interim-ah-scheme algorithm hmac-null
- [edit services pgcp]
- user@sp-pg-router#edit gateway vpg-3
- [edit services pgcp gateway vpg-3]
- user@sp-pg-router#set gateway-address 172.16.30.3
- user@sp-pg-router#set gateway-port 2944
- user@sp-pg-router#set cleanup-timeout 3600
- user@sp-pg-router#set gateway-controller pgc-1
controller-address 33.0.0.1
- user@sp-pg-router#set gateway-controller pgc-1
controller-port 2944
- user@sp-pg-router#set gateway-controller pgc-1
interim-ah-scheme algorithm hmac-null
Configuration Results
Display the results of the configuration.
- [edit services pgcp]
- user@sp-pg-router# show
- gateway vpg-1 {
- gateway-address 172.16.10.1;
- gateway-port 2944;
- cleanup-timeout 3600;
-
- gateway-controller pgc-1 {
- controller-address 33.0.0.1;
- controller-port 2944;
-
- interim-ah-scheme {
- algorithm hmac-null;
- }
- }
- }
-
- gateway vpg-2 {
- gateway-address 172.16.20.2;
- gateway-port 2944;
- cleanup-timeout 3600;
-
- gateway-controller pgc-1 {
- controller-address 33.0.0.1;
- controller-port 2944;
-
- interim-ah-scheme {
- algorithm hmac-null;
- }
- }
- }
-
- gateway vpg-3 {
- gateway-address 172.16.30.3;
- gateway-port 2944;
- cleanup-timeout 3600;
-
- gateway-controller pgc-1 {
- controller-address 33.0.0.1;
- controller-port 2944;
-
- interim-ah-scheme {
- algorithm hmac-null;
- }
- }
- }
- ## Warning: missing mandatory statement(s): 'virtual-interface'