Junos
Highlighted
Junos

QoS (CoS) for LNS PPP

06.13.18   |  
Wednesday

Hi,

 

I have configured CoS for Ethernet subscribers and for all the required interfaces and tested working, however, I am having a problem getting the configuration correct on the LNS. I believe we may need heirarchical CoS here due to the tunnel and subscribers per tunnel.

 

Is there any document anywhere that will explain how to configure this, or someone who has already completed this?

 

Thanks

6 REPLIES
Junos
Solution
Accepted by topic author adgwytc
Thursday

Re: QoS (CoS) for LNS PPP

[ Edited ]
06.13.18   |  
Wednesday

Hi! Adgwytc

 

Please check these documents. Hope its helpful for your query.

 

https://www.juniper.net/documentation/en_US/junos/topics/concept/cos-subscriber-access-l2tp-lns.html...

 

 https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/cos-subscriber-access-ln...

 

--------------------------------------------------------------------------------------------------------
If this post was helpful, please mark this post as an "Accepted Solution".
Kudos are always appreciated!
--------------------------------------------------------------------------------------------------------

Thanks
Amit
Junos

Re: QoS (CoS) for LNS PPP

[ Edited ]
06.14.18   |  
Thursday

Hi Amit,

 

Thanks. I will work through this document and test.


With regards to the testing, is there a Juniper equivalent of "Cisco extended ping" where I can mark the traffic as DSCP 101110 (SIP VOIP) or 46 please.... this way I can test the queues and configuration (also, on Cisco, using 46 does not work due to their strange way of using extended ping, you have to use 184 as Cisco interpret all 8 bits instead of DSCP 6 bits, to equal the 46 - 101110 marking of SIP VOIP)?

 

I'll test the following and see if it works:

 

ping tos 46 <ip address> ....

 

Thanks

Junos

Re: QoS (CoS) for LNS PPP

06.14.18   |  
Thursday

Hi Amit,

 

When I try to apply the class-of-service to the si interface I receive the following error:

error: Different interface name in interface ($junos-interface-ifd-name) and class-of-service (si-1/0/0) stanza in profile dyn-lns-profile
error: foreign file propagation (ffp) failed

 

What interface in the dynamic-profile to I need to apply this to please?

 

set dynamic-profiles dyn-lns-profile class-of-service interfaces si-1/0/0 unit 0 classifiers dscp SIP-VOIP-CLASS

 

Thanks

 

Junos

Re: QoS (CoS) for LNS PPP

06.14.18   |  
Thursday

Okay, got it, I think, with the following command:

 

set dynamic-profiles dyn-lns-profile class-of-service interfaces $junos-interface-ifd-name unit $junos-interface-unit classifiers dscp SIP-VOIP-CLASS

 

I will see when testing.

 

Thanks

Junos

Re: QoS (CoS) for LNS PPP

06.14.18   |  
Thursday
Spot on... ☺️

Sent from my iPhone
--------------------------------------------------------------------------------------------------------
If this post was helpful, please mark this post as an "Accepted Solution".
Kudos are always appreciated!
--------------------------------------------------------------------------------------------------------

Thanks
Amit
Junos

Re: QoS (CoS) for LNS PPP

06.14.18   |  
Thursday
Hi adgwytc

Yes, you have option for tos with junos ping... Please see this below also, just for information..

tos type-of-service—(Optional) Set the type-of-service (ToS) field in the IP header of the ping packets. The range of values is 0 through 255.

If the device configuration includes the dscp-code-point<> value statement at the [edit class-of-service host-outbound-traffic<>] hierarchy level, the configured DSCP value overrides the value specified in this command option. In this case, the ToS field of ICMP echo request packets sent on behalf of this command carries the DSCP value specified in the dscp-code-point configuration statement instead of the value you specify in this command option.


Regards,
Amit
--------------------------------------------------------------------------------------------------------
If this post was helpful, please mark this post as an "Accepted Solution".
Kudos are always appreciated!
--------------------------------------------------------------------------------------------------------

Thanks
Amit