STIGhubSTIGhub
STIGsSearchCompare

STIGhub

A free tool to search and browse the entire DISA STIG library. Saves up to 75% in security compliance research time.

Navigation

  • Browse STIGs
  • Search
  • Compare Versions

Resources

  • About
  • Release Notes
  • VPAT
  • DISA STIG Library
STIGs updated 5 hours ago
Powered by Pylon
© 2026 Beacon Cloud Solutions, Inc. All rights reserved.
← Back to Juniper Router RTR Security Technical Implementation Guide

V-217059

CAT III (Low)

The Juniper BGP router must be configured to reject route advertisements from CE routers with an originating AS in the AS_PATH attribute that does not belong to that customer.

Rule ID

SV-217059r945855_rule

STIG

Juniper Router RTR Security Technical Implementation Guide

Version

V3R2

CCIs

CCI-000032

Discussion

Verifying the path a route has traversed will ensure that the local AS is not used as a transit network for unauthorized traffic. To ensure that the local AS does not carry any prefixes that do not belong to any customers, all PE routers must be configured to reject routes with an originating AS other than that belonging to the customer.

Check Content

This requirement is not applicable for the DODIN Backbone.” 

Review the router configuration to verify the router is configured to deny updates received from CE routers with an originating AS in the AS_PATH attribute that does not belong to that customer.

Step 1: Verify a policy has been configured to filter AS_PATH attribute for received BGP advertisements as shown in the example below:

policy-options {
    …
    …
    …
    policy-statement FILTER_ASx {
        term ALLOW_ASx {
            from as-path PEER_ASx;
            then accept;
        }
        term ELSE_REJECT {
            then reject;
        }
    }
    …
    …
    …
    as-path PEER_ASx "^x$";
}

Note: the characters “^” and “$” representing the beginning and the end of the expression respectively are optional and are implicitly defined if omitted.
Step 2: Verify that the import policy has been applied to all external BGP peers as shown in the example below:

protocols {
    bgp {
        group GROUP_ASx {
            type external;
            import [ FILTER_ASx FILTER_ROUTES ];
            peer-as x;
            neighbor x.x.x.x;
        }
 
If the router is not configured to reject updates from CE routers with an originating AS in the AS_PATH attribute that does not belong to that customer, this is a finding.

Fix Text

Step 1: Configure a policy to filter the AS_PATH as shown in the example below: 

[edit policy-options] 
set as-path PEER_ASx "^x$" 
set policy-statement FILTER_ASx term ALLOW_ASx from as-path PEER_ASx 
set policy-statement FILTER_ASx term ALLOW_ASx then accept 
set policy-statement FILTER_ASx term ELSE_REJECT then reject 

Step 2: Apply the import policy as shown in the example below: 

[edit protocols bgp group GROUP_ASx] 
set import [FILTER_AS4 FILTER_ROUTES]