IPI-BGP-FLOWSPEC
Configure enable flowspec controller
Use this attribute to controllersly enable or disable FLOWSPEC controller
Attribute Name: enable-flowspec-controller
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<flowspec>
<controllers>
<controller> <!-- operation="delete"-->
</enable-flowspec-controller>
<config>
</enable-flowspec-controller>
</config>
</controller>
</controllers>
</flowspec>
</bgp>
Command Syntax
flowspec
Configure local install
Use this attribute to specify local-install for policy-map PBR
Attribute Name: local-install
Attribute Type: enum (interface-all)
Default Value: interface-all
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<flowspec>
<controllers>
<controller>
</enable-flowspec-controller>
<config>
</enable-flowspec-controller><!-- operation="delete"-->
</config>
<local-install>interface-all</local-install> <!-- operation="delete"-->
</controller>
</controllers>
</flowspec>
</bgp>
Command Syntax
local-install (interface-all)
Configure afi type
Use this attribute to controllersly enable or disable FLOWSPEC controller
Attribute Name: enable-flowspec-controller
Attribute Type: uint8
Attribute Name: afi-type
Attribute Type: enum (ipv4)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<flowspec>
<controllers>
<controller> <!-- operation="delete"-->
</enable-flowspec-controller>
<config>
</enable-flowspec-controller>
</config>
<address-families>
<address-family>
<afi-type>ipv4</afi-type>
</address-family>
</address-families>
</controller>
</controllers>
</flowspec>
</bgp>
Command Syntax
address-family ipv4
Configure service policy type
Use this attribute to controllersly enable or disable FLOWSPEC controller
Attribute Name: enable-flowspec-controller
Attribute Type: uint8
Attribute Name: afi-type
Attribute Type: enum (ipv4)
Attribute Name: service-policy-type
Attribute Type: enum (pbr)
Attribute Name: attached-policy-map-name
Attribute Type: string
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<flowspec>
<controllers>
<controller> <!-- operation="delete"-->
</enable-flowspec-controller>
<config>
</enable-flowspec-controller>
</config>
<address-families>
<address-family>
<afi-type>ipv4</afi-type>
<service-policy>
<service-policy-type>pbr</service-policy-type>
<attached-policy-map-name>WORD</attached-policy-map-name>
</service-policy>
</address-family>
</address-families>
</controller>
</controllers>
</flowspec>
</bgp>
Command Syntax
service-policy type (pbr) NAME
Configure vrf name
Use this attribute to show the vrf name
Attribute Name: vrf-name
Attribute Type: string
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<flowspec>
<controllers>
<controller>
</enable-flowspec-controller>
<config>
</enable-flowspec-controller>
</config>
<vrfs>
<vrf> <!-- operation="delete"-->
<vrf-name>WORD</vrf-name>
<config>
<vrf-name>WORD</vrf-name>
</config>
</vrf>
</vrfs>
</controller>
</controllers>
</flowspec>
</bgp>
Command Syntax
vrf WORD
Configure attached policy map name
Use this attribute to controllersly enable or disable FLOWSPEC controller
Attribute Name: enable-flowspec-controller
Attribute Type: uint8
Attribute Name: vrf-name
Attribute Type: string
Attribute Name: afi-type
Attribute Type: enum (ipv4)
Attribute Name: service-policy-type
Attribute Type: enum (pbr)
Attribute Name: attached-policy-map-name
Attribute Type: string
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<flowspec>
<controllers>
<controller> <!-- operation="delete"-->
</enable-flowspec-controller>
<config>
</enable-flowspec-controller>
</config>
<vrfs>
<vrf>
<vrf-name>WORD</vrf-name>
<address-families>
<address-family>
<afi-type>ipv4</afi-type>
<service-policy>
<service-policy-type>pbr</service-policy-type>
<attached-policy-map-name>WORD</attached-policy-map-name>
</service-policy>
</address-family>
</address-families>
</vrf>
</vrfs>
</controller>
</controllers>
</flowspec>
</bgp>
Command Syntax
service-policy type (pbr) NAME