[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

Configuring the Virtual Packet Gateways

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:

  1. Configure VPG-1.
  2. Configure VPG-2.
  3. Configure VPG-3.

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'

[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]