What Izack provides shows the general idea. You identify your two special groups into two classes using class-maps that likely will use ACLs to match the traffic of interest. Within an outbound policy, specify how each of the two classes, and everything else, are to divide up your 100 Mbps.
Izack's example ACLs should be close to meeting your #2 requirement, but for you #1 requirement, in might be something more like:
access-list 101 permit ip host (your pub IP) any
Also with Izack's example, your #1 requirement didn't ask for absolute priority or to cap that traffic to just 4 Mbps. So, I would recommend using a bandwidth statement rather than a priority statement.
You didn't mention what bandwidth you wanted to provide for requirement #2, so you can set the bandwidth statement in the class DEST_2 as desired.
One other thing to note, in Izack's example, FQ in class-default, on most Cisco platforms (I believe), can distort the bandwidth reservations for other defined non-LLQ classes. I.e. on such a platform, don't use class-default with other non-LLQ classes.
Joseph is absolutely right, you wouldn't typically use the priority command in this situation. Priority is typically resigned for voice or video traffic because it gives strict priority over all other traffic but it also polices the traffic at the set rate. The bandwidth command gives a set average rate but it will allow the traffic to go above that rate if the bandwidth is available.
The fair-queue inside class-default is just saying to separate all traffic not matched with your other classes into separate queues for each flow. Otherwise the router would use first in first out FIFO queuing for the class-default.
Question We run asr9001 with XR 6.1.3, and we have a very long delay to
login w/ SSH 1 or 2 to the device compare to IOS device. After
investigation, the there is 1s delay between the client KEXDH_INIT and
the server (XR) KEXDH_REPLY. After debug ssh serv...
Introduction The purpose of this document is to demonstrate the Open
Shortest Path First (OSPF) behavior when the V-bit (Virtual-link bit) is
present in a non-backbone area. The V-bit is signaled in Type-1 LSA only
if the router is the endpoint of one or ...
Hi, I am seeing quite a few issues with patch install and wanted to
share my experience and workaround to this. Login to admin via CLI, then
access root with the “shell” command Issue “df –h” and you’ll probably
see the following directory full or nearly ...