Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Broadband Subscriber Services User Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Dynamic Profile After UID Substitutions for Parameterized Filters

date_range 06-Dec-23

In the following example, the client session is created on the ge-1/0/0.7 interface and this service is activated:

content_copy zoom_out_map
my-svc-prof(my-filt-1gw, 198.51.100.239/32, 0, 5m)

A dynamic profile is created by the process. The UIDs assigned by the process are based on the parameters being passed in as well as the sessions previously created.

content_copy zoom_out_map
dynamic-profile {
    [my-svc-prof] {
        	
        interfaces {
            ge-1/0/0 {
                unit 7 {
                    family inet {
                        filter {
                            input my-filt-1gw_UID1022;
                        }
                    }
                }
            }
        }
        
        firewall {
            policer my-policer_UID1005 {
                if-exceeding {
                    bandwidth-limit 5m;
                    burst-size-limit 15000;
                }
                then discard;
            }
            family inet {
                filter my-filt-1gw_UID1022 {
                    interface-specific;
                    term t0 {
                        from {
                            destination-address 198.51.100.239/32;
                        }
                        then {
                            policer my-policer_UID1005;
                        }
                    }
                    term last {
                        then {
                            count drops;
                            discard;
                        }
                    }
                }
                filter my-filt-2gw_UID11018 {
                    interface-specific;
                    term t0 {
                        from {
                            destination-address {
                                198.51.100.239/32;
                                0;
                            }
                        }
                        then {
                            policer my-policer_UID1005;
                        }
                    }
                    term last {
                        then {
                            count drops;
                            discard;
                        }
                    }
                }
            }
        }
    }
}
footer-navigation