Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[Subscriber Management] Enhanced Subscriber Management default ToS marking for RE generated packets to subscribers



Article ID: KB33922 KB Last Updated: 08 Mar 2019Version: 1.0

There is a change in how Routing Engine (RE) generated packets have their type of service (ToS) values set when enhanced subscriber management is enabled. For more details, refer to Configuring Junos OS Enhanced Subscriber Management.

This article explains in detail what the change is and why it was made.



Enhanced subscriber management includes the bbe-smgd daemon. When it generates packets such as ICMP Echo Requests to a client, the packets go out with ToS set to 0xc0 or Internetwork Control, populating Queue 3 by default. When it is not enabled or when the router runs legacy releases (prior to Junos OS 15.1), ToS is set to 0x0.

When looking at the ToS values for RE-generated packets to a subscriber, the packets in the older code (releases prior to Junos OS 15.1) go out with 0x0, as seen with monitor traffic:

12:08:33.832067 bpf_flags 0x80, Out
        -----original packet-----
        84:18:88:f5:1f:c3 > 1c:76:81:19:00:00, ethertype 802.1Q (0x8100), length 102: vlan 12, p 0, ethertype IPv4, (tos 0x0, ttl  64, id 8741, offset 0, flags [none], proto: ICMP (1), length: 84) > ICMP echo request, id 54293, seq 0, length 64

However, with enhanced subscriber management, the packets use 0xc0 for Internetwork Control:

10:47:53.964790 Out
        Juniper PCAP Flags [no-L2]
        -----original packet-----
        PFE proto 2 (ipv4): (tos 0xc0, ttl 255, id 0, offset 0, flags [none], proto: ICMP (1), length: 84) > ICMP echo request, id 58273, seq 0, length 64



This is an intentional change with enhanced subscriber management. The packets are control frames so default ToS was not desirable.


Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search