regex (Class Attribute)
Syntax
regex “value”;
Hierarchy Level
[edit unified-edge gateways tdf gateway-name domains domain-name subscription-id use-class]
Release Information
Statement introduced in Junos OS Release 17.1.
Description
Configure a regular expression to parse the Class attribute contents of the accounting request from the BNG, PGW, or GGSN.
Options
value—Regular expression that parses the contents of the Class attribute.
For example, the following configuration generates " 000118191129ALICE:DRAV3:"
out of " 000118191129#000118191129#ALICE:DRAV3:#7168#nflat#ADSL##"
:
[edit unified-edge gateways tdf TDF1 domains domain1 subscription-id
]
user@host# set use-class regex "[^#]*#\([^#]*\)\#\([^#]*\)"
Required Privilege Level
unified-edge—To view this statement in the configuration.
unified-edge-control—To add this statement to the configuration.