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
Juniper BNG CUPS 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

show system subscriber-management route

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show system subscriber-management route
<family family>
<incomplete>
<level (brief | detail)>
<next-hop index>
<prefix>
<routing-instance name>>
<route-type type>
<rrt-index index>
<summary>

Description

Display information about how routes are mapped to specific enhanced subscriber management interfaces. You can customize the output by including one or more optional filters in the command. With the exception of the summary option, all filter options can be combined in a single command.

Options

family family

(Optional) Display route mapping information for the specified protocol family: inet (IPv4) or inet6 (IPv6).

incomplete

(Optional) Display route mapping information for incomplete routes that are missing elements required to add the routes to the routing table.

level (brief | detail)

(Optional) Display the specified level of output: brief or detail.

next-hop index

(Optional) Display the next hop associated with the route entry with the specified next-hop index, in the range 1 through 65535.

prefix address

(Optional) Use the same prefix and prefix length as the subscriber host address. Output includes attributes that originate in the Famed-Route record of an upstream RADIUS server (Tag, Metric, Preference).

route-type type

(Optional) Display route mapping information for the specified route type: access, access-internal, kernel, or local.

routing-instance name

(Optional) Display route mapping information for the specified routing-instance

rrt-index index

(Optional) Display mapping information for the specified routing table index, in the range 0 through 65535. An rtt-index value of 0 (zero) denotes routes in the default routing table managed by enhanced subscriber management.

summary

(Optional) Display summary information about the routes managed by enhanced subscriber management.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show system subscriber-management route command. Output fields are listed in the approximate order in which they appear.

Table 1: show system subscriber-management route Output Fields

Field Name

Field Description

Level of Output

address

IPv4 or IPv6 address associated with the route entry.

All levels

Route Type

One of the following route types:

  • Access

  • Access-internal

  • Framed

  • Kernel

  • Local

All levels

Interface

Name of the enhanced subscriber management interface associated with the route entry.

All levels

Next-hop

Next-hop associated with the route entry.

All levels

Tag

Reflects the Tag attribute used in the RADIUS Framed-Route type record.

All levels

Metric

Reflects the Metric attribute used in the RADIUS Framed-Route type record.

All levels

Preference

Reflects the Preference attribute used in the RADIUS Framed-Route type record.

All levels

Rtt-index

Value of the routing table index. A value of 0 (zero) denotes a route in the default routing table managed by enhanced subscriber management.

detail

Bbe index

Value of the interface index for the control plane.

detail

Flow id

Value of the route object index.

detail

Reference Count

Used for internal accounting.

detail

Dirty Flags

Used for internal accounting.

detail

Flags

Used for internal accounting.

detail

Family

One of the following protocol families:

  • AF_INET—IPv4

  • AF_INET6—IPv6

detail

Sample Output

show system subscriber-management route prefix <address>

rtt-index 0

content_copy zoom_out_map
user@host> show system subscriber-management route prefix 10.10.0.1/32
Route:  10.10.0.1/32
     Routing-instance:         default:default
     Kernel rt-table id :      0
     Family:                   AF_INET
     Route Type:               Framed
     Protocol Type:            Unspecified
     Interface:                pp0.3221225491
     Interface index:          26
     Internal Interface index: 26
     Route index:              20
     Next-Hop:                 684
     Tag:                      9999              
     Metric:                   56                  
     Preference:               10                  
     Reference-count:          1
     L2 Address:               00:00:5e:00:53:0b
     Flags:                    0x0
     Dirty Flags:              0x0

show system subscriber-management route family route-type rtt-index level brief

The following example displays abbreviated information about IPv6 access routes in the default routing table (rtt-index 0) managed by enhanced subscriber management.

content_copy zoom_out_map
user@host> show system subscriber-management route family inet6 route-type access rtt-index 0 level brief
2001:db8::/64
     Route Type: Access
     Interface: pp0.3221225479, Next-hop:721
2001:db8:0:0:1::/64
     Route Type: Access
     Interface: pp0.3221225477, Next-hop:721
2001:db8:0:0:2::/64
     Route Type: Access
     Interface: pp0.3221225478, Next-hop:721
2001:db8:0:0:3::/64
     Route Type: Access
     Interface: pp0.3221225480, Next-hop:721
2001:db8:0:0:4::/64
     Route Type: Access
     Interface: pp0.3221225481, Next-hop:721
2001:db8:2002::/84
     Route Type: Access
     Interface: demux0.3221225492, Next-hop:721
2001:db8:0:0:5::/64
     Route Type: Access
     Interface: pp0.3221225487, Next-hop:721
2001:db8:0:0:6::/64
     Route Type: Access

show system subscriber-management route family route-type rtt-index level detail

The following example displays detailed information about IPv6 access routes in the default routing table (rtt-index 0) managed by enhanced subscriber management.

content_copy zoom_out_map
user@host> show system subscriber-management route family inet6 route-type access rtt-index 0 level detail
2001:db8::/64
     Route Type:      Access
     Interface:       pp0.3221225479
     Next-hop:        721
     Rtt-index:       0
     Bbe index:       9
     Flow id:         1
     Reference Count: 1
     Dirty Flags:     0
     Flags:           0x10082
     Family:          AF_INET6
2001:db8:0:0:1::/64
     Route Type:      Access
     Interface:       pp0.3221225477
     Next-hop:        721
     Rtt-index:       0
     Bbe index:       9
     Flow id:         1
     Reference Count: 1
     Dirty Flags:     0
     Flags:           0x10082
     Family:          AF_INET6
2001:db8:0:0:2::/64
     Route Type:      Access
     Interface:       pp0.3221225478
     Next-hop:        721
     Rtt-index:       0
     Bbe index:       9
     Flow id:         1
     Reference Count: 1
     Dirty Flags:     0
     Flags:           0x10082
     Family:          AF_INET6
2001:db8:0:0:3::/64
     Route Type:      Access
     Interface:       pp0.3221225480
     Next-hop:        721
     Rtt-index:       0
     Bbe index:       9
     Flow id:         1
     Reference Count: 1
     Dirty Flags:     0
     Flags:           0x10082
     Family:          AF_INET6

show system subscriber-management route family route-type rtt-index level brief

The following example displays abbreviated information about IPv6 access routes in the default routing table (rtt-index 0) managed by enhanced subscriber management.

content_copy zoom_out_map
user@host> show system subscriber-management route family inet6 route-type access rtt-index 0 level brief
2001:db8::/64
     Route Type: Access
     Interface: pp0.3221225479, Next-hop:721
2001:db8:0:0:1::/64
     Route Type: Access
     Interface: pp0.3221225477, Next-hop:721
2001:db8:0:0:2::/64
     Route Type: Access
     Interface: pp0.3221225478, Next-hop:721
2001:db8:0:0:3::/64
     Route Type: Access
     Interface: pp0.3221225480, Next-hop:721
2001:db8:0:0:4::/64
     Route Type: Access
     Interface: pp0.3221225481, Next-hop:721
2001:db8:2002::/84
     Route Type: Access
     Interface: demux0.3221225492, Next-hop:721
2001:db8:0:0:5::/64
     Route Type: Access
     Interface: pp0.3221225487, Next-hop:721
2001:db8:0:0:6::/64
     Route Type: Access

Release Information

Command introduced in Junos OS Release 15.1R3.

Support for passing Framed-Route attributes from a RADIUS server to the router was added in Junos OS Release 17.2 on MX Series routers for enhanced subscriber management. This allows the tagged subscriber host routes to be imported to the routing table and advertised by BGP.

footer-navigation