You use dynamic profiles to configure large groups of subscribers. However, after you have configured and applied dynamic profiles, use caution when modifying any dynamic profiles that are in use by active subscribers on the router. This section provides guidelines and procedures for modifying existing profiles and applying them to subscriber interfaces.
When modifying dynamic profiles, keep the following considerations in mind:
When a dynamic profile is modified and committed, the router:
To properly modify a dynamic profile:
Original Profile
- profile1 {
-
- interfaces {
-
- "$junos-interface-ifd-name" {
-
- unit "$junos-underlying-interface-unit" {
-
- family inet {
-
- filter {
- input "$junos-input-filter";
- }
- }
- }
- }
- }
- }
Original DHCP Configuration
- forwarding-options {
-
- dhcp-relay {
-
- traceoptions {
- flag all;
- }
- .......
- dynamic-profile profile1;
- ........
- }
- }
New Profile
- profile2 {
-
- interfaces {
-
- "$junos-interface-ifd-name" {
-
- unit "$junos-underlying-interface-unit" {
-
- family inet {
-
- filter {
- input "$junos-input-filter";
- output "$junos-output-filter; /* added output filter variable
*/
- }
- }
- }
- }
- }
- }
Modified DHCP Configuration
The modified profile is used for any new subscribers that access the router.