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
Junos CLI Reference
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

pattern (Class Attribute)

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
pattern “pattern”;

Hierarchy Level

content_copy zoom_out_map
[edit unified-edge gateways tdf gateway-name domains domain-name subscription-id use-class]

Description

Configure characters to insert between the resulting regular expression groups that are generated from parsing the Class attribute contents of the accounting request from the BNG, PGW, or GGSN. Regular expression groups are identified with \n for a group number.

Options

pattern

Characters to insert between regular expression groups. A regular expression group number “n” is identified as \n.

For example, the following configuration generates " 000118191129|ALICE:DRAV3:" out of " 000118191129#000118191129#ALICE:DRAV3:#7168#nflat#ADSL##":

content_copy zoom_out_map
[edit unified-edge gateways tdf TDF1 domains domain1 subscription-id]
user@host# set use-class regex "[^#]*#\([^#]*\)\#\([^#]*\)" 
user@host# set use-class pattern "\1|\2" 

Required Privilege Level

unified-edge—To view this statement in the configuration.

unified-edge-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 17.1.

footer-navigation