IPI-ENHANCED-PBR
Configure class type
Use this attribute to set the class-map type.
Attribute Name: class-type
Attribute Type: enum (traffic)
Attribute Name: match-criteria
Attribute Type: enum (match-all)
Netconf edit-config payload
<enhanced-pbr xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-enhanced-pbr">
<class-maps>
<class-map> <!-- operation="delete"-->
<class-type>traffic</class-type>
<config>
<class-type>traffic</class-type>
<name>NAME</name>
<match-criteria>match-all</match-criteria>
</config>
<name>WORD</name>
</class-map>
</class-maps>
</enhanced-pbr>
Command Syntax
class-map type (traffic) (match-all) NAME
Configure reference description
This attribute configures reference description message on class-map profile for QoS type.
Attribute Name: reference-description
Attribute Type: string
Attribute Range: 1-64
Netconf edit-config payload
<enhanced-pbr xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-enhanced-pbr">
<class-maps>
<class-map>
<class-type>traffic</class-type>
<config>
<class-type>traffic</class-type>
<name>NAME</name>
</config>
<name>WORD</name>
<reference-description>LINE</reference-description> <!-- operation="delete"-->
</class-map>
</class-maps>
</enhanced-pbr>
Command Syntax
WORD type (traffic) reference-description LINE
Configure protocol
Use this attribute to specify IP protocol
Attribute Name: protocol
Attribute Type: string
Attribute Range: 0-255
Netconf edit-config payload
<enhanced-pbr xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-enhanced-pbr">
<class-maps>
<class-map>
<class-type>traffic</class-type>
<config>
<class-type>traffic</class-type>
<name>NAME</name>
</config>
<name>WORD</name>
<match-filters>
<config>
<protocol>WORD</protocol> <!-- operation="delete"-->
</config>
</match-filters>
</class-map>
</class-maps>
</enhanced-pbr>
Command Syntax
match protocol WORD
Configure port
Use this attribute to specify TCP/UDP port number
Attribute Name: port
Attribute Type: string
Attribute Range: 1-65535
Netconf edit-config payload
<enhanced-pbr xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-enhanced-pbr">
<class-maps>
<class-map>
<class-type>traffic</class-type>
<config>
<class-type>traffic</class-type>
<name>NAME</name>
</config>
<name>WORD</name>
<match-filters>
<config>
<port>WORD</port> <!-- operation="delete"-->
</config>
</match-filters>
</class-map>
</class-maps>
</enhanced-pbr>
Command Syntax
match port WORD
Configure destination port
Use this attribute to specify TCP/UDP destination port number
Attribute Name: destination-port
Attribute Type: string
Attribute Range: 1-65535
Netconf edit-config payload
<enhanced-pbr xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-enhanced-pbr">
<class-maps>
<class-map>
<class-type>traffic</class-type>
<config>
<class-type>traffic</class-type>
<name>NAME</name>
</config>
<name>WORD</name>
<match-filters>
<config>
<destination-port>WORD</destination-port> <!-- operation="delete"-->
</config>
</match-filters>
</class-map>
</class-maps>
</enhanced-pbr>
Command Syntax
match destination-port WORD
Configure source port
Use this attribute to specify TCP/UDP source port number
Attribute Name: source-port
Attribute Type: string
Attribute Range: 1-65535
Netconf edit-config payload
<enhanced-pbr xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-enhanced-pbr">
<class-maps>
<class-map>
<class-type>traffic</class-type>
<config>
<class-type>traffic</class-type>
<name>NAME</name>
</config>
<name>WORD</name>
<match-filters>
<config>
<source-port>WORD</source-port> <!-- operation="delete"-->
</config>
</match-filters>
</class-map>
</class-maps>
</enhanced-pbr>
Command Syntax
match source-port WORD
Configure packet length
Use this attribute to specify packet-length value
Attribute Name: packet-length
Attribute Type: string
Attribute Range: 21-12288
Netconf edit-config payload
<enhanced-pbr xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-enhanced-pbr">
<class-maps>
<class-map>
<class-type>traffic</class-type>
<config>
<class-type>traffic</class-type>
<name>NAME</name>
</config>
<name>WORD</name>
<match-filters>
<config>
<packet-length>WORD</packet-length> <!-- operation="delete"-->
</config>
</match-filters>
</class-map>
</class-maps>
</enhanced-pbr>
Command Syntax
match packet-length WORD
Configure fragment type
Use this attribute to specify fragment type value
Attribute Name: fragment-type
Attribute Type: enum (df|isf|ff|lf|lf-ff-isf)
Netconf edit-config payload
<enhanced-pbr xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-enhanced-pbr">
<class-maps>
<class-map>
<class-type>traffic</class-type>
<config>
<class-type>traffic</class-type>
<name>NAME</name>
</config>
<name>WORD</name>
<match-filters>
<config>
<fragment-type>df</fragment-type> <!-- operation="delete"-->
</config>
</match-filters>
</class-map>
</class-maps>
</enhanced-pbr>
Command Syntax
match fragment-type (df|isf|ff|lf|lf-ff-isf)
Configure destination prefix
Use this attribute to specify IPv4 prefix
Attribute Name: destination-prefix
Attribute Type: string
Netconf edit-config payload
<enhanced-pbr xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-enhanced-pbr">
<class-maps>
<class-map>
<class-type>traffic</class-type>
<config>
<class-type>traffic</class-type>
<name>NAME</name>
</config>
<name>WORD</name>
<match-filters>
<ipv4>
<config>
<destination-prefix>A.B.C.D/M</destination-prefix> <!-- operation="delete"-->
</config>
</ipv4>
</match-filters>
</class-map>
</class-maps>
</enhanced-pbr>
Command Syntax
match destination-address ipv4 A.B.C.D/M
Configure source prefix
Use this attribute to specify IPv4 prefix
Attribute Name: source-prefix
Attribute Type: string
Netconf edit-config payload
<enhanced-pbr xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-enhanced-pbr">
<class-maps>
<class-map>
<class-type>traffic</class-type>
<config>
<class-type>traffic</class-type>
<name>NAME</name>
</config>
<name>WORD</name>
<match-filters>
<ipv4>
<config>
<source-prefix>A.B.C.D/M</source-prefix> <!-- operation="delete"-->
</config>
</ipv4>
</match-filters>
</class-map>
</class-maps>
</enhanced-pbr>
Command Syntax
match source-address ipv4 A.B.C.D/M
Configure icmp type
Use this attribute to specify ICMP type
Attribute Name: icmp-type
Attribute Type: string
Attribute Range: 0-255
Netconf edit-config payload
<enhanced-pbr xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-enhanced-pbr">
<class-maps>
<class-map>
<class-type>traffic</class-type>
<config>
<class-type>traffic</class-type>
<name>NAME</name>
</config>
<name>WORD</name>
<match-filters>
<ipv4>
<icmp>
<config>
<icmp-type>WORD</icmp-type> <!-- operation="delete"-->
</config>
</icmp>
</ipv4>
</match-filters>
</class-map>
</class-maps>
</enhanced-pbr>
Command Syntax
match ipv4 icmp-type WORD
Configure icmp code
Use this attribute to specify ICMP code
Attribute Name: icmp-code
Attribute Type: string
Attribute Range: 0-255
Netconf edit-config payload
<enhanced-pbr xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-enhanced-pbr">
<class-maps>
<class-map>
<class-type>traffic</class-type>
<config>
<class-type>traffic</class-type>
<name>NAME</name>
</config>
<name>WORD</name>
<match-filters>
<ipv4>
<icmp>
<config>
<icmp-code>WORD</icmp-code> <!-- operation="delete"-->
</config>
</icmp>
</ipv4>
</match-filters>
</class-map>
</class-maps>
</enhanced-pbr>
Command Syntax
match ipv4 icmp-code WORD
Configure bit mask
Use this attribute to specify bit-mask for TCP flag
Attribute Name: bit-mask
Attribute Type: string
Attribute Name: value
Attribute Type: string
Netconf edit-config payload
<enhanced-pbr xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-enhanced-pbr">
<class-maps>
<class-map>
<class-type>traffic</class-type>
<config>
<class-type>traffic</class-type>
<name>NAME</name>
</config>
<name>WORD</name>
<match-filters>
<tcp-flag>
<config>
<value>WORD</value> <!-- operation="delete"-->
<bit-mask>WORD</bit-mask> <!-- operation="delete"-->
</config>
</tcp-flag>
</match-filters>
</class-map>
</class-maps>
</enhanced-pbr>
Command Syntax
match tcp-flag WORD bit-mask WORD
Configure match dscp value
Use this attribute to specify dscp value
Attribute Name: match-dscp-value
Attribute Type: string
Netconf edit-config payload
<enhanced-pbr xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-enhanced-pbr">
<class-maps>
<class-map>
<class-type>traffic</class-type>
<config>
<class-type>traffic</class-type>
<name>NAME</name>
</config>
<name>WORD</name>
<match-filters>
<dscp>
<config>
<match-dscp-value>WORD</match-dscp-value> <!-- operation="delete"-->
</config>
</dscp>
</match-filters>
</class-map>
</class-maps>
</enhanced-pbr>
Command Syntax
match dscp WORD
Configure type
Use this attribute to set the policy-map type.
Attribute Name: type
Attribute Type: enum (pbr)
Netconf edit-config payload
<enhanced-pbr xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-enhanced-pbr">
<policy-maps>
<policy-map> <!-- operation="delete"-->
<type>pbr</type>
<config>
<type>pbr</type>
<policy-map-name>WORD</policy-map-name>
</config>
<policy-map-name>WORD</policy-map-name>
</policy-map>
</policy-maps>
</enhanced-pbr>
Command Syntax
policy-map type (pbr) NAME
Configure policy map name
This attribute configures reference description message on policy-map profile
Attribute Name: reference-description
Attribute Type: string
Attribute Range: 1-64
Netconf edit-config payload
<enhanced-pbr xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-enhanced-pbr">
<policy-maps>
<policy-map>
<type>pbr</type>
<config>
<type>pbr</type>
<policy-map-name>WORD</policy-map-name>
</config>
<policy-map-name>WORD</policy-map-name>
<reference-description>LINE</reference-description> <!-- operation="delete"-->
</policy-map>
</policy-maps>
</enhanced-pbr>
Command Syntax
reference-description LINE
Configure class map name
Use this attribute to set the policy-map name
Attribute Name: policy-map-name
Attribute Type: string
Attribute Name: class-type
Attribute Type: enum (traffic)
Attribute Name: class-map-name
Attribute Type: string
Netconf edit-config payload
<enhanced-pbr xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-enhanced-pbr">
<policy-maps>
<policy-map> <!-- operation="delete"-->
<type>pbr</type>
<config>
<type>pbr</type>
<policy-map-name>WORD</policy-map-name>
</config>
<policy-map-name>WORD</policy-map-name>
<classes>
<class>
<class-type>traffic</class-type>
<class-map-name>WORD</class-map-name>
</class>
</classes>
</policy-map>
</policy-maps>
</enhanced-pbr>
Command Syntax
class type (traffic) NAME
Configure drop traffic
Use this attribute to specify drop action
Attribute Name: drop-traffic
Attribute Type: empty
Netconf edit-config payload
<enhanced-pbr xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-enhanced-pbr">
<policy-maps>
<policy-map>
<type>pbr</type>
<config>
<type>pbr</type>
<policy-map-name>WORD</policy-map-name>
</config>
<policy-map-name>WORD</policy-map-name>
<classes>
<class>
<class-type>traffic</class-type>
<config>
<class-type>traffic</class-type>
<class-map-name>NAME</class-map-name>
</config>
<class-map-name>WORD</class-map-name>
<policy-actions>
<config>
</drop-traffic><!-- operation="delete"-->
</config>
</policy-actions>
</class>
</classes>
</policy-map>
</policy-maps>
</enhanced-pbr>
Command Syntax
drop
Configure dscp set value
Use this attribute to specify DSCP value
Attribute Name: dscp-set-value
Attribute Type: enum (00|01|02|03|04|05|06|07|08|09|0a|0b|0c|0d|0e|0f|10|11|12|13|14|15|16|17|18|19|1a|1b|1c|1d|1e|1f|20|21|22|23|24|25|26|27|28|29|2a|2b|2c|2d|2e|2f|30|31|32|33|34|35|36|37|38|39|3a|3b|3c|3d|3e|3f)
Netconf edit-config payload
<enhanced-pbr xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-enhanced-pbr">
<policy-maps>
<policy-map>
<type>pbr</type>
<config>
<type>pbr</type>
<policy-map-name>WORD</policy-map-name>
</config>
<policy-map-name>WORD</policy-map-name>
<classes>
<class>
<class-type>traffic</class-type>
<config>
<class-type>traffic</class-type>
<class-map-name>NAME</class-map-name>
</config>
<class-map-name>WORD</class-map-name>
<policy-actions>
<config>
<dscp-set-value>00</dscp-set-value> <!-- operation="delete"-->
</config>
</policy-actions>
</class>
</classes>
</policy-map>
</policy-maps>
</enhanced-pbr>
Command Syntax
set dscp (00|01|02|03|04|05|06|07|08|09|0a|0b|0c|0d|0e|0f|10|11|12|13|14|15|16|17|18|19|1a|1b|1c|1d|1e|1f|20|21|22|23|24|25|26|27|28|29|2a|2b|2c|2d|2e|2f|30|31|32|33|34|35|36|37|38|39|3a|3b|3c|3d|3e|3f)
Configure rate unit
Use this attribute to set a rate unit.
Attribute Name: rate-unit
Attribute Type: enum (bps|pps)
Default Value: bps
Attribute Name: rate
Attribute Type: uint64
Attribute Range: 1-1000000000
Netconf edit-config payload
<enhanced-pbr xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-enhanced-pbr">
<policy-maps>
<policy-map>
<type>pbr</type>
<config>
<type>pbr</type>
<policy-map-name>WORD</policy-map-name>
</config>
<policy-map-name>WORD</policy-map-name>
<classes>
<class>
<class-type>traffic</class-type>
<config>
<class-type>traffic</class-type>
<class-map-name>NAME</class-map-name>
</config>
<class-map-name>WORD</class-map-name>
<policy-actions>
<police>
<config>
<rate>1</rate> <!-- operation="delete"-->
<rate-unit>bps</rate-unit> <!-- operation="delete"-->
</config>
</police>
</policy-actions>
</class>
</classes>
</policy-map>
</policy-maps>
</enhanced-pbr>
Command Syntax
police rate <1-1000000000> (bps|pps)
Configure route target
Use this attribute to specify route target for rt redirect action
Attribute Name: route-target
Attribute Type: string
Netconf edit-config payload
<enhanced-pbr xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-enhanced-pbr">
<policy-maps>
<policy-map>
<type>pbr</type>
<config>
<type>pbr</type>
<policy-map-name>WORD</policy-map-name>
</config>
<policy-map-name>WORD</policy-map-name>
<classes>
<class>
<class-type>traffic</class-type>
<config>
<class-type>traffic</class-type>
<class-map-name>NAME</class-map-name>
</config>
<class-map-name>WORD</class-map-name>
<policy-actions>
<redirect>
<ipv4>
<extcommunity>
<config>
<route-target>ASN:nn_or_IP-address:nn</route-target> <!-- operation="delete"-->
</config>
</extcommunity>
</ipv4>
</redirect>
</policy-actions>
</class>
</classes>
</policy-map>
</policy-maps>
</enhanced-pbr>
Command Syntax
redirect ipv4 extcommunity rt ASN:nn_or_IP-address:nn
Last modified date: 08/22/2023