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

# Configuring Source Grouped Networks (SRC CLI)

You can configure source networks in grouped format. For JUNOS ASP and JUNOSe IPv6 policy rules, you must enter source networks in grouped format.

Use the following configuration statement to add source networks in a grouped format to a classify-traffic condition:

`

policies group name list name rule name traffic-condition name source-network group-network {
  network-specifier network-specifier ;
}

`

To add a grouped source network to a classify-traffic condition:

1. From configuration mode, enter the source network within a classify-traffic condition. For example:
   `
   user@host# edit policies folder junose group dhcp list in rule forward-dhcp traffic-condition client-dhcp source-network group-network
   `
2. (Optional) Configure the IP address of the source network or host.

   For JUNOS ASP policy rules, you must enter networks in the format <ip address>/<prefix length>. The <ip address>/<mask> format is rejected by the router.

   For JUNOSe IPv6 policy rules, you must enter networks in the format <ipv6 address>/<prefix length>.

   `
   [edit policies folder junose group dhcp list in rule forward-dhcp traffic-condition client-dhcp source-network group-network]
   user@host# set network-specifier network-specifier
   `
3. (Optional) Verify your source network configuration.

       [edit policies folder junose group dhcp list in rule forward-dhcp traffic-condition client-dhcp source-network group-network]
       user@host# show
       network-specifier gateway_ipAddress;

#### Related Topics

- Before You Configure Classify-Traffic Conditions
- Configuring Classify-Traffic Conditions
- Configuring Source Networks (SRC CLI)
- Configuring Source Grouped Networks (C-Web Interface)

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