#
Interface policy configuration
#
URL
frinx-openconfig-network-instance:network-instances/network-instance=default/policy-forwarding/interfaces/interface=
#
OPENCONFIG YANG
extensions to policy-forwarding YANG model
{
"interface": [
{
"interface-id": ,
"config": {
"interface-id": ,
"frinx-cisco-pf-interfaces-extension:input-service-policy": "",
"frinx-cisco-pf-interfaces-extension:output-service-policy": "",
"frinx-juniper-pf-interfaces-extension:scheduler-map": "",
"frinx-juniper-pf-interfaces-extension:classifiers" {
"exp": {
{
"name": ""
}
},
"inet-precedence": {
{
"name": ""
}
}
}
}
}
]
}
#
OS Configuration Commands
#
Cisco IOS XR 5.3.4, IOS XR 6.6.2
#
CLI
interface service-policy input service-policy output
#
Unit
Link to github : xr-unit
#
Cisco IOS XR 6.2.3
#
CLI
interface service-policy input service-policy output
#
Unit
Link to github : xr-unit
#
Cisco IOS XR 6.6.1
#
CLI
interface service-policy input service-policy output
#
Unit
Link to github : xr-unit
#
Junos 14.1X53-D40.8
#
CLI
set class-of-service interfaces unit classifiers inet-precedence
pf_intf_index, pf_subintf_index is a conversion of set .
#
Unit
Link to github : junos-unit
#
Junos 17.3R1.10
#
CLI
set class-of-service interfaces scheduler-map set class-of-service interfaces unit 0 classifiers exp set class-of-service interfaces unit 0 classifiers inet-precedence
#
Unit
Link to github : junos-unit