Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
external-header-nav
keyboard_arrow_up
close
keyboard_arrow_left
NorthStar Planner 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

Attach Policies to Interfaces

date_range 04-Jul-23

The last step is to attach policies to interfaces. A link between routers is composed of two interfaces so two policies can be attached per link. Click on the Modify > Elements > Links item menu to bring up the link listing.

Figure 1: Modify LinksModify Links

Click on the Modify button and select the Location tab to enter the IP addresses and interface names of the two end-points, if available.

Figure 2: Modify Link LocationModify Link Location

Finally, click on the CoS Policy tab to attach policies to interfaces. In <Link>Figure 207 below, you can specify policies on the Node A and Node Z endpoints of a link. Note that only the CoS Policies that are applicable to the Node A router will be listed under the Node A Policy drop-down menu, and likewise for Node Z. Recall that in Create Policies for Classes , the user can specify a particular router or “[Any Router]” for each newly created policy.

Figure 3: CoS Policy for Link InterfacesCoS Policy for Link Interfaces

Related Cisco commands:

At the interface level (config-if) the command to attach a policy to an interface is:

content_copy zoom_out_map
Router(config-if) # service-policy {input| output} policy-map

where input is to indicate the input interface, output for output interface, and policy-map is the name of the policy-map defined somewhere else in the config file.

Example:

content_copy zoom_out_map
Router(config) # interface e1/1 
Router(config-if) # service-policy output policy1
external-footer-nav