IPI-BGP
Configure address family name
Use this attribute to specify address family name
Attribute Name: address-family-name
Attribute Type: enum (all-afs|vpnv4|vpnv6)
Attribute Name: label-alloc-type
Attribute Type: enum (per-prefix|per-vrf)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<global>
<mpls-l3vpn-label-mode> <!-- operation="delete"-->
<vrf-name>0</vrf-name>
<config>
<vrf-name>0</vrf-name>
<address-family-name>all-afs</address-family-name>
<label-alloc-type>per-prefix</label-alloc-type>
</config>
<address-family-name>all-afs</address-family-name>
</mpls-l3vpn-label-mode>
</global>
</bgp>
Command Syntax
mpls label mode (all-afs|vpnv4|vpnv6) all-vrfs (per-prefix|per-vrf)
Configure vrf name
Use this attribute to specify address family name
Attribute Name: address-family-name
Attribute Type: enum (all-afs|vpnv4|vpnv6)
Attribute Name: label-alloc-type
Attribute Type: enum (per-prefix|per-vrf)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<global>
<mpls-l3vpn-label-mode> <!-- operation="delete"-->
<vrf-name>BGP_VRF_TYPE_T</vrf-name>
<config>
<vrf-name>0</vrf-name>
<address-family-name>all-afs</address-family-name>
<label-alloc-type>per-prefix</label-alloc-type>
</config>
<address-family-name>all-afs</address-family-name>
</mpls-l3vpn-label-mode>
</global>
</bgp>
Command Syntax
mpls label mode (all-afs|vpnv4|vpnv6) vrf WORD (per-prefix|per-vrf)
Configure action name
Use this attribute to specify a standard community list (1 to 99) that specifies BGP community attributes.
Attribute Name: action-name
Attribute Type: enum (deny|permit)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<global>
<community-lists>
<numbered>
<standard-number>1</standard-number>
<config>
<standard-number>1</standard-number>
</config>
<action-for-any>
<config>
<action-name>deny</action-name>
</config>
</action-for-any>
</numbered>
</community-lists>
</global>
</bgp>
Command Syntax
ip community-list <1-99> (deny|permit)
Configure action standard number
Use this attribute to specify a standard community list (1 to 99) that specifies BGP community attributes.
Attribute Name: action-standard-number
Attribute Type: enum (deny|permit)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<global>
<community-lists>
<numbered>
<standard-number>1</standard-number>
<config>
<standard-number>1</standard-number>
</config>
<action-list-value> <!-- operation="delete"-->
<standard-number-value>AA:NN</standard-number-value>
<config>
<standard-number-value>WORD</standard-number-value>
<action-standard-number>deny</action-standard-number>
</config>
<action-standard-number>deny</action-standard-number>
</action-list-value>
</numbered>
</community-lists>
</global>
</bgp>
Command Syntax
ip community-list <1-99> (deny|permit) ((AA:NN|internet|local-AS|no-advertise|no-export))
Configure action name standard
Use the community-lists to specify BGP community attributes. The community attribute is used for implementing policy routing. It is an optional, transitive attribute and facilitates transfer of local policies through different autonomous systems. It includes community values that are 32 bits long. There are two kinds of community-lists: expanded and standard. The standard community-list defines the community attributes in a specified format without regular expressions. The expanded community-list defines the community attributes with regular expressions.Use this attribute to add a standard community-list entry. The standard community-list is compiled into binary format and is directly compared with the BGP communities attribute in the BGP updates. The comparison is faster than the expanded community-list. Any community value that does not match the standard community value is automatically treated as expanded.
Attribute Name: action-name-standard
Attribute Type: enum (deny|permit)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<global>
<community-lists>
<standard>
<name>WORD</name>
<config>
<name>WORD</name>
<list-type>standard</list-type>
</config>
<list-type>standard</list-type>
<action-value> <!-- operation="delete"-->
<community-value-standard>AA:NN</community-value-standard>
<config>
<community-value-standard>WORD</community-value-standard>
<action-name-standard>deny</action-name-standard>
</config>
<action-name-standard>deny</action-name-standard>
</action-value>
</standard>
</community-lists>
</global>
</bgp>
Command Syntax
ip community-list WORD (deny|permit) ((AA:NN|internet|local-AS|no-advertise|no-export))
Configure list type
Use this attribute to specify a standard community list (1 to 99) that specifies BGP community attributes.
Attribute Name: action-name
Attribute Type: enum (deny|permit)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<global>
<community-lists>
<standard>
<name>WORD</name>
<config>
<name>WORD</name>
<list-type>standard</list-type>
</config>
<list-type>standard</list-type>
<action-for-any>
<config>
<action-name>deny</action-name>
</config>
</action-for-any>
</standard>
</community-lists>
</global>
</bgp>
Command Syntax
ip community-list (standard) WORD (deny|permit)
Configure name
Use the community-lists to specify BGP community attributes. The community attribute is used for implementing policy routing. It is an optional, transitive attribute and facilitates transfer of local policies through different autonomous systems. It includes community values that are 32 bits long. There are two kinds of community-lists: expanded and standard. The standard community-list defines the community attributes in a specified format without regular expressions. The expanded community-list defines the community attributes with regular expressions.Use this attribute to add a standard community-list entry. The standard community-list is compiled into binary format and is directly compared with the BGP communities attribute in the BGP updates. The comparison is faster than the expanded community-list. Any community value that does not match the standard community value is automatically treated as expanded.
Attribute Name: action-name-standard
Attribute Type: enum (deny|permit)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<global>
<community-lists>
<standard>
<name>WORD</name>
<config>
<name>WORD</name>
<list-type>standard</list-type>
</config>
<list-type>standard</list-type>
<action-value> <!-- operation="delete"-->
<community-value-standard>AA:NN</community-value-standard>
<config>
<community-value-standard>WORD</community-value-standard>
<action-name-standard>deny</action-name-standard>
</config>
<action-name-standard>deny</action-name-standard>
</action-value>
</standard>
</community-lists>
</global>
</bgp>
Command Syntax
ip community-list (standard) WORD (deny|permit) ((AA:NN|internet|local-AS|no-advertise|no-export))
Configure action expanded
Community list extended type
Attribute Name: action-expanded
Attribute Type: enum (deny|permit)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<global>
<community-lists>
<expanded-list>
<expanded-type>BGP_EXPANDED_LIST_TYPE_T</expanded-type>
<config>
<expanded-type>BGP_EXPANDED_LIST_TYPE_T</expanded-type>
<list-type>expanded</list-type>
</config>
<list-type>expanded</list-type>
<action-value> <!-- operation="delete"-->
<regular-expression-list>LINE</regular-expression-list>
<config>
<regular-expression-list>LINE</regular-expression-list>
<action-expanded>deny</action-expanded>
</config>
<action-expanded>deny</action-expanded>
</action-value>
</expanded-list>
</community-lists>
</global>
</bgp>
Command Syntax
ip community-list <100-500> (deny|permit) LINE
Configure expanded type
Community list extended type
Attribute Name: action-expanded
Attribute Type: enum (deny|permit)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<global>
<community-lists>
<expanded-list>
<expanded-type>BGP_EXPANDED_LIST_TYPE_T</expanded-type>
<config>
<expanded-type>BGP_EXPANDED_LIST_TYPE_T</expanded-type>
<list-type>expanded</list-type>
</config>
<list-type>expanded</list-type>
<action-value> <!-- operation="delete"-->
<regular-expression-list>LINE</regular-expression-list>
<config>
<regular-expression-list>LINE</regular-expression-list>
<action-expanded>deny</action-expanded>
</config>
<action-expanded>deny</action-expanded>
</action-value>
</expanded-list>
</community-lists>
</global>
</bgp>
Command Syntax
ip community-list (expanded) WORD (deny|permit) LINE
Configure extended action number
Extended Community list type
Attribute Name: extended-action-number
Attribute Type: enum (deny|permit)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<global>
<community-lists>
<extended-community>
<numbered>
<standard-number>1</standard-number>
<config>
<standard-number>1</standard-number>
</config>
<action-value> <!-- operation="delete"-->
<extended-value>LINE</extended-value>
<config>
<extended-value>LINE</extended-value>
<extended-action-number>deny</extended-action-number>
</config>
<extended-action-number>deny</extended-action-number>
</action-value>
</numbered>
</extended-community>
</community-lists>
</global>
</bgp>
Command Syntax
ip extcommunity-list <1-99> (deny|permit) LINE
Configure extended action
extcommunity Community list type
Attribute Name: extended-action
Attribute Type: enum (deny|permit)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<global>
<community-lists>
<extended-community>
<standard>
<name>WORD</name>
<config>
<name>WORD</name>
</config>
<action-value> <!-- operation="delete"-->
<value>AA:NN</value>
<config>
<value>WORD</value>
<route-target-soo>rt</route-target-soo>
<extended-action>deny</extended-action>
</config>
<route-target-soo>rt</route-target-soo>
<extended-action>deny</extended-action>
</action-value>
</standard>
</extended-community>
</community-lists>
</global>
</bgp>
Command Syntax
ip extcommunity-list standard WORD (deny|permit) (rt|soo) AA:NN
Configure action
extcommunity Extended Community type
Attribute Name: action
Attribute Type: enum (deny|permit)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<global>
<community-lists>
<extended-community>
<expanded-list>
<expanded-type>BGP_EXPANDED_LIST_TYPE_T</expanded-type>
<config>
<expanded-type>BGP_EXPANDED_LIST_TYPE_T</expanded-type>
<list-type>expanded</list-type>
</config>
<list-type>expanded</list-type>
<action-value> <!-- operation="delete"-->
<value>LINE</value>
<config>
<value>LINE</value>
<action>deny</action>
</config>
<action>deny</action>
</action-value>
</expanded-list>
</extended-community>
</community-lists>
</global>
</bgp>
Command Syntax
ip extcommunity-list <100-500> (deny|permit) LINE
Configure value
extcommunity Extended Community type
Attribute Name: action
Attribute Type: enum (deny|permit)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<global>
<community-lists>
<extended-community>
<expanded-list>
<expanded-type>BGP_EXPANDED_LIST_TYPE_T</expanded-type>
<config>
<expanded-type>BGP_EXPANDED_LIST_TYPE_T</expanded-type>
<list-type>expanded</list-type>
</config>
<list-type>expanded</list-type>
<action-value> <!-- operation="delete"-->
<value>LINE</value>
<config>
<value>LINE</value>
<action>deny</action>
</config>
<action>deny</action>
</action-value>
</expanded-list>
</extended-community>
</community-lists>
</global>
</bgp>
Command Syntax
ip extcommunity-list (expanded) WORD (deny|permit) LINE
Configure access list name
Use this attribute to define a BGP Autonomous System (AS) path access list. A named community list is a filter based on regular expressions. If the regular expression matches the specified string representing the AS path of the route, then the permit or deny condition applies. Use this attribute to define the BGP access list globally.
Attribute Name: access-list-name
Attribute Type: string
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<global>
<as-path-access-list> <!-- operation="delete"-->
<access-list-regular-expression>LINE</access-list-regular-expression>
<config>
<access-list-regular-expression>LINE</access-list-regular-expression>
<access-list-action>deny</access-list-action>
<access-list-name>WORD</access-list-name>
</config>
<access-list-action>deny</access-list-action>
<access-list-name>WORD</access-list-name>
</as-path-access-list>
</global>
</bgp>
Command Syntax
ip as-path access-list WORD (deny|permit) LINE
Configure enable aggregate nexthop
Use this attribute to set the BGP option to perform aggregation only when next-hop matches the specified IP address.
Attribute Name: enable-aggregate-nexthop
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<global>
<config>
</enable-aggregate-nexthop><!-- operation="delete"-->
</config>
</global>
</bgp>
Command Syntax
bgp aggregate-nexthop-check
Configure enable path select
Use this attribute to set RFC 1771 compatible path selection
Attribute Name: enable-path-select
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<global>
<config>
</enable-path-select><!-- operation="delete"-->
</config>
</global>
</bgp>
Command Syntax
bgp rfc1771-path-select
Configure disable adj out
Use this attribute to Disable BGP ADJ_OUT.
Attribute Name: disable-adj-out
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<global>
<config>
</disable-adj-out><!-- operation="delete"-->
</config>
</global>
</bgp>
Command Syntax
bgp disable-adj-out
Configure enable extended asn capability
Use this attribute to configure a BGP router to send 4-octet ASN capabilities. If attempting to change the AS capability from 2 to 4 or 4 to 2, a prompt occurs to remove the VRF configuration (if it exists), and reconfiguration is required,because the route distinguisher (RD) configuration would have been created with the current (2 octet or 4 octet) capability, and must be reconfigured before attempting to change the capability. While loading from a saved configuration with AS4 capability and BGP VRF configuration, the capability will not be changed because of the above described reason.
Attribute Name: enable-extended-asn-capability
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<global>
<config>
</enable-extended-asn-capability><!-- operation="delete"-->
</config>
</global>
</bgp>
Command Syntax
bgp extended-asn-cap
Configure enable nexthop tracking
Use this attribute to enable nexthop address tracking. Nexthop address tracking is an event-driven notification system that monitors the status of routes installed in the Routing Information Base (RIB) and reports nexthop changes that affect internal BGP (iBGP) or external BGP (eBGP) prefixes directly to the BGP process. This improves the overall BGP convergence time, by allowing BGP to respond rapidly to nexthop changes for routes installed in the RIB. If nexthop tracking is enabled after certain routes are learned, the registration of all nexthops for selected BGP routes is done after the nexthop tracking feature is enabled. If nexthop tracking is disabled, and if there are still some selected BGP routes, BGP de-registers the nexthops of all selected BGP routes from NSM.
Attribute Name: enable-nexthop-tracking
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<global>
<config>
</enable-nexthop-tracking><!-- operation="delete"-->
</config>
</global>
</bgp>
Command Syntax
bgp nexthop-trigger enable
Configure nexthop tracking delay
Use this attribute to set the delay time for nexthop address tracking. This attribute configures the delayinterval between routing table walks for nexthop delay tracking, after which BGP does a routing table scan on receiving a nexthop change trigger from NSM. The time period determines how long BGP waits before it walks the full BGP table to determine which prefixes are affected by the nexthop changes, after it receives the trigger from NSM about one or more nexthop changes.
Attribute Name: nexthop-tracking-delay
Attribute Type: uint8
Default Value: 5
Attribute Range: 1-100
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<global>
<config>
<nexthop-tracking-delay>1</nexthop-tracking-delay> <!-- operation="delete"-->
</config>
</global>
</bgp>
Command Syntax
bgp nexthop-trigger delay <1-100>
Configure enable rfc 1771 strict origin
Use this attribute to set the origin path attribute to IGP when the origin is a protocol such as RIP, OSPF,or ISIS as specified in RFC 1771. Otherwise, the origin is always set to incomplete which is the industry standard.
Attribute Name: enable-rfc-1771-strict-origin
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<global>
<config>
</enable-rfc-1771-strict-origin><!-- operation="delete"-->
</config>
</global>
</bgp>
Command Syntax
bgp rfc1771-strict
Configure config type
Use this attribute to set the BGP configuration to the standard type. After setting the configuration to the standard type, use th sendCommunity attribute to send out BGP community attributes. The zebos configuration type is the default and requires no specific configuration for sending out BGP standard community and extended community attributes.
Attribute Name: config-type
Attribute Type: enum (standard|zebos)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<global>
<config>
<config-type>standard</config-type> <!-- operation="delete"-->
</config>
</global>
</bgp>
Command Syntax
bgp config-type (standard|zebos)
Configure enable per prefix label mode
Use this attribute to configure mpls label mode
This command is supported when following feature are enabled MPLS feature enabled,bgp 6PE feature enabled
Attribute Name: enable-per-prefix-label-mode
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<global>
<mpls-6pe>
<config>
</enable-per-prefix-label-mode><!-- operation="delete"-->
</config>
</mpls-6pe>
</global>
</bgp>
Command Syntax
mpls label mode 6pe per-prefix
Configure options
Use this attribute to enable all BGP troubleshooting functions. Use this attribute without any parameters to turn on normal bgp debug information.
Attribute Name: options
Attribute Type: bits (all|nht|nsm|fsm|events|filters|keepalives|updates|dampening|bfd|mpls|vpls|link-state|rib|normal)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<global>
<debug>
<config>
<options>all</options> <!-- operation="delete"-->
</config>
</debug>
</global>
</bgp>
Command Syntax
debug bgp (all|nht|nsm|fsm|events|filters|keepalives|updates|dampening|bfd|mpls|vpls|link-state|rib|normal)
Configure update options
Use this attribute to enable all BGP troubleshooting functions. Use this attribute without any parameters to turn on normal bgp debug information.
Attribute Name: update-options
Attribute Type: bits (in|out)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<global>
<debug>
<config>
<update-options>in</update-options> <!-- operation="delete"-->
</config>
</debug>
</global>
</bgp>
Command Syntax
debug bgp updates (in|out)
restart bgp graceful
Netconf RPC payload
<bgp-graceful-restart xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp"/>
Command Syntax
restart bgp graceful
clear bgp statistics
Netconf RPC payload
<clear-bgp-statistics xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp"/>
Command Syntax
clear bgp statistics
snmp restart bgp
Netconf RPC payload
<bgp-snmp-restart xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp"/>
Command Syntax
snmp restart bgp
debug bgp (all|nht|nsm|fsm|events|filters|keepalives|updates|dampening|bfd|mpls|vpls|link-state|rib|normal)
Attribute Name: terminal-debug-options
Attribute Type: bits (all|nht|nsm|fsm|events|filters|keepalives|updates|dampening|bfd|mpls|vpls|link-state|rib|normal)
Netconf RPC payload
<bgp-debug-on xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<terminal-debug-options>all</terminal-debug-options>
</bgp-debug-on>
Command Syntax
debug bgp (all|nht|nsm|fsm|events|filters|keepalives|updates|dampening|bfd|mpls|vpls|link-state|rib|normal)
no debug bgp (all|nht|nsm|fsm|events|filters|keepalives|updates|dampening|bfd|mpls|vpls|link-state|rib|normal)
Attribute Name: terminal-debug-options
Attribute Type: bits (all|nht|nsm|fsm|events|filters|keepalives|updates|dampening|bfd|mpls|vpls|link-state|rib|normal)
Netconf RPC payload
<bgp-debug-off xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<terminal-debug-options>all</terminal-debug-options>
</bgp-debug-off>
Command Syntax
no debug bgp (all|nht|nsm|fsm|events|filters|keepalives|updates|dampening|bfd|mpls|vpls|link-state|rib|normal)
debug bgp updates (in|out)
Attribute Name: terminal-debug-options
Attribute Type: bits (in|out)
Netconf RPC payload
<bgp-debug-updates-type-on xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<terminal-debug-options>in</terminal-debug-options>
</bgp-debug-updates-type-on>
Command Syntax
debug bgp updates (in|out)
no debug all bgp
Netconf RPC payload
<bgp-all-debug-off xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp"/>
Command Syntax
no debug all bgp
Last modified date: 07-14-2023