IPI-BGP-PEER
Configure enable peer bfd
Enable bidirectional forwarding detection (BFD) for the BGP peer
Attribute Name: enable-peer-bfd
Attribute Type: uint8
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
</enable-peer-bfd><!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) fall-over bfd
Configure bgp as
Enable bidirectional forwarding detection (BFD) for the BGP peer
Attribute Name: enable-peer-bfd
Attribute Type: uint8
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
</enable-peer-bfd><!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD fall-over bfd
Configure enable peer bfd multihop
Enable bidirectional forwarding detection (BFD) for the BGP peer with multihop
Attribute Name: enable-peer-bfd-multihop
Attribute Type: uint8
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
</enable-peer-bfd-multihop><!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) fall-over bfd multihop
Configure peer address
Enable bidirectional forwarding detection (BFD) for the BGP peer with multihop
Attribute Name: enable-peer-bfd-multihop
Attribute Type: uint8
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
</enable-peer-bfd-multihop><!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD fall-over bfd multihop
Configure interface name
Configure the interface name of a BGP neighbor.
Attribute Name: interface-name
Attribute Type: string
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<interface-name>WORD</interface-name> <!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) interface WORD
Configure mapped peer group tag
Adds a neighbor to an existing peer group. Neighbors with the same update policies are grouped into peer groups. This facilitates the updates of various policies, such as distribute and filter lists. The peer group is then configured easily with any of the neighbor attributes. Any changes made to the peer group affect all members.
Attribute Name: mapped-peer-group-tag
Attribute Type: string
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<mapped-peer-group-tag>WORD</mapped-peer-group-tag> <!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) peer-group WORD
Configure auth key encrypt
Use this attribute to configure the authentication key to specify if the password is to be encrypted or not.
Attribute Name: auth-key-encrypt
Attribute Type: enum (0|1)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<bgp-password>
<password>WORD</password>
<config>
<password>WORD</password>
</config>
<auth-key-encrypt>1</auth-key-encrypt>
</bgp-password>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) authentication-key (0|1) WORD
Configure password
Use this attribute to configure the authentication key to specify if the password is to be encrypted or not.
Attribute Name: auth-key-encrypt
Attribute Type: enum (0|1)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<bgp-password>
<password>WORD</password>
<config>
<password>WORD</password>
</config>
<auth-key-encrypt>2</auth-key-encrypt>
</bgp-password>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) authentication-key WORD
Configure additional paths mode
Adds additional paths in the BGP table
Attribute Name: additional-paths-mode
Attribute Type: bits (send-receive|receive|send|disable)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<additional-paths-mode>send-receive</additional-paths-mode> <!-- operation="delete"-->
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) additional-paths (send-receive|receive|send|disable)
Configure afi
Adds additional paths in the BGP table
Attribute Name: additional-paths-mode
Attribute Type: bits (send-receive|receive|send|disable)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<additional-paths-mode>send-receive</additional-paths-mode> <!-- operation="delete"-->
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) additional-paths (send-receive|receive|send|disable)
Configure additional path select all
Attribute to select advertise additional path
Attribute Name: additional-path-select-all
Attribute Type: uint8
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
</additional-path-select-all><!-- operation="delete"-->
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) advertise additional-paths all
Configure safi
Attribute to select advertise additional path
Attribute Name: additional-path-select-all
Attribute Type: uint8
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
</additional-path-select-all><!-- operation="delete"-->
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) advertise additional-paths all
Configure additional paths best select count
Attribute to select best advertise additional path
Attribute Name: additional-paths-best-select-count
Attribute Type: uint8
Attribute Range: 2-3
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<additional-paths-best-select-count>2</additional-paths-best-select-count> <!-- operation="delete"-->
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) advertise additional-paths best <2-3>
Configure bgp port
The BGP port number of a neighbor
Attribute Name: bgp-port
Attribute Type: uint16
Default Value: 179
Attribute Range: 0-65535
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<bgp-port>0</bgp-port> <!-- operation="delete"-->
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) port <0-65535>
Configure activate
Activate/Deactivate neighbor. This attribute enables or disables the exchange of AF information with a neighboring router.
Attribute Name: activate
Attribute Type: uint8
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
</activate><!-- operation="delete"-->
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) activate
Configure de activate
Deactivate neighbor. This attribute disables the exchange of AF information with a neighboring router.
Attribute Name: de-activate
Attribute Type: uint8
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
</de-activate><!-- operation="delete"-->
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) de-activate
Configure default peer route map name
This attribute allows a BGP local router to send the default route 0.0.0.0 to a neighbor for use as a default route for specified address-family.
Attribute Name: default-peer-route-map-name
Attribute Type: uint8
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
</default-peer-route-map-name><!-- operation="delete"-->
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) default-originate
Configure peer route map orig name
This attribute configures route map to be used for a BGP local router to send the default route 0.0.0.0 to a neighbor for use as a default route for specified address-family. This attribute can be used with standard or extended access lists.
Attribute Name: peer-route-map-orig-name
Attribute Type: string
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<peer-route-map-orig-name>WORD</peer-route-map-orig-name> <!-- operation="delete"-->
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) default-originate route-map WORD
Configure weight
This attribute specifies a weight value, for specified address-family, to all routes learned from a neighbor for specified address-family. The route with the highest weight gets preference when the same prefix is learned from more than one peer. Unlike the local-preference attribute, the weight attribute is relevant only to the local router. When the weight is set for a peer group, all members of the peer group get the same weight. This attribute can also be used to assign a different weight to an individual peer-group member. When an individually-configured weight of a peer-group member is removed, its weight is reset to its peer groups weight.
Attribute Name: weight
Attribute Type: uint16
Default Value: 0
Attribute Range: 0-65535
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<weight>0</weight> <!-- operation="delete"-->
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) weight <0-65535>
Configure route server client
This attribute configures a neighbor as the route server client for specified address-family.
Attribute Name: route-server-client
Attribute Type: uint8
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
</route-server-client><!-- operation="delete"-->
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) route-server-client
Configure next hop self
This attribute configure the router as the next hop for a BGP-speaking neighbor or peer group. This attribute allows a BGP router to change the nexthop information that is sent to the iBGP peer. The nexthop information is set to the IP address of the interface used to communicate with the neighbor.
Attribute Name: next-hop-self
Attribute Type: uint8
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
</next-hop-self><!-- operation="delete"-->
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) next-hop-self
Configure peer route reflector
This attribute configures the router as a BGP route reflector and configure the specified neighbor as its client for specified address-family. Route reflectors are a solution for the explosion of iBGP peering within an autonomous system. By route reflection the number of iBGP peers within an AS is reduced. Use this attribute to configure the local router as the route reflector and specify neighbors as its client. An AS can have more than one route reflector. One route reflector treats the other route reflector as another iBGP speaker.
Attribute Name: peer-route-reflector
Attribute Type: uint8
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
</peer-route-reflector><!-- operation="delete"-->
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) route-reflector-client
Configure peer remove private as
This attribute removes the private Autonomous System (AS) number from outbound updates. Private AS numbers are not advertised to the Internet. This attribute is used with external BGP peers only. The router removes the AS numbers only if the update includes private AS numbers. If the update includes both private and public AS numbers, the system treats it as an error.
Attribute Name: peer-remove-private-as
Attribute Type: uint8
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
</peer-remove-private-as><!-- operation="delete"-->
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) remove-private-AS
Configure no send community
This attribute specifies if a community attribute should be sent to a BGP neighbor for specified address-family. The community attribute groups destinations in a certain community and applies routing decisions according to those communities. By default, both standard and extended community attributes are sent to a neighbor
Attribute Name: no-send-community
Attribute Type: uint8
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
</no-send-community><!-- operation="delete"-->
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
no neighbor (A.B.C.D|X:X::X:X) send-community
Configure no send community type
This attribute specifies the type of community attribute to be sent to a BGP neighbor.
Attribute Name: no-send-community-type
Attribute Type: bits (both|standard|extended|large)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<no-send-community-type>both</no-send-community-type> <!-- operation="delete"-->
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
no neighbor (A.B.C.D|X:X::X:X) send-community (both|standard|extended|large)
Configure neighbor attribute unchanged
This attribute advertises unchanged BGP AS path, next hop and med to the specified neighbor.
Attribute Name: neighbor-attribute-unchanged
Attribute Type: bits (as-path|next-hop|med)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<neighbor-attribute-unchanged>14</neighbor-attribute-unchanged> <!-- operation="delete"-->
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) attribute-unchanged
Configure orf prefix capability
This attribute enables Outbound Router Filtering (ORF), and advertise the ORF capability to its neighbors. The ORFs send and receive capabilities to lessen the number of updates exchanged between neighbors. By filtering updates, this option minimizes generating and processing of updates. The two routers exchange updates to maintain the ORF for each router.
Attribute Name: orf-prefix-capability
Attribute Type: bits (both|receive|send)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<orf-prefix-capability>both</orf-prefix-capability> <!-- operation="delete"-->
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) capability orf prefix-list (both|receive|send)
Configure peer allow ebgp vpn
This attribute allows an eBGP neighbor to be a VPN peer. By default, BGP VPN functionality is allowed only for iBGP peers. Using the peer-allow-ebgp-vpn attribute allows the VPN connection to be established to an eBGP peer.
Attribute Name: peer-allow-ebgp-vpn
Attribute Type: uint8
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
</peer-allow-ebgp-vpn><!-- operation="delete"-->
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) allow-ebgp-vpn
Configure allow as number
This attribute advertises prefixes (routes) even when the source of the prefixes is from the same Autonomous System (AS) number for specified address-family. Use this attribute in a scenario where two routers at different locations use the same Autonomous System number and are connected via an ISP. Once prefixes arrive from one branch at the ISP, they are tagged with the customers AS number. By default, when the ISP passes the prefixes to the other router, the prefixes are dropped if the other router uses the same AS number. Use this attribute to advertise the prefixes at the other side. Control the number of times an AS number is advertised by specifying a number. In a hub and spoke configuration in a VPN, a PE (Provider Edge) router advertises all prefixes containing duplicate AS numbers. Use this attribute to configure two VRFs on each PE router to receive and advertise prefixes. One of the VRFs receives prefixes with AS numbers from all PE routers and then advertises them to neighboring PE routers. The other VRF receives prefixes with AS numbers from the CE (Customer Edge) router and advertises them to all PE routers in the hub and spoke configuration.
Attribute Name: allow-as-number
Attribute Type: uint32
Default Value: 3
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<allow-as-number>1</allow-as-number> <!-- operation="delete"-->
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) allowas-in <1-10>
Configure capability graceful restart
This attribute configures the router to advertise the Graceful Restart Capability to the neighbors. This configuration indicates that the BGP speaker has the ability to preserve its forwarding state for the address family when BGP restarts. Use this attribute to advertise to the neighbor routers the capability of graceful restart.
Attribute Name: capability-graceful-restart
Attribute Type: uint8
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
</capability-graceful-restart><!-- operation="delete"-->
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) capability graceful-restart
Configure extended nexthop encode
A BGP speaker that wishes to advertise an IPv6 next hop for IPv4 NLRI for VPN-IPv4 NLRI to a BGP peer as per this specification MUST use the Capability Advertisement procedures defined with the Extended Next Hop Encoding capability to determine whether its peer supports this for the NLRI AFI/SAFI pair(s) of interest.
Attribute Name: extended-nexthop-encode
Attribute Type: uint8
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
</extended-nexthop-encode><!-- operation="delete"-->
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) capability extended-nexthop-encode
Configure mapped peer group tag af
BGP peer group name. Adds a neighbor to an existing peer group. Neighbors with the same update policies are grouped into peer groups. This facilitates the updates of various policies, such as distribute and filter lists. The peer group is then configured easily with any of the neighbor attributes. Any changes made to the peer group affect all members.
Attribute Name: mapped-peer-group-tag-af
Attribute Type: string
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<mapped-peer-group-tag-af>WORD</mapped-peer-group-tag-af> <!-- operation="delete"-->
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) peer-group WORD
Configure prefix count
Use this attribute to specify maximum number of prefixes that can be received from a neighbor
Attribute Name: prefix-count
Attribute Type: uint32
Attribute Range: 1-4294967295
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<maximum-prefixes> <!-- operation="delete"-->
<prefix-count>1</prefix-count>
<config>
<prefix-count>1</prefix-count>
</config>
</maximum-prefixes>
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) maximum-prefix <1-4294967295>
Configure stop update
Stop installing the routes when limit is exceeded.
Attribute Name: stop-update
Attribute Type: uint8
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<maximum-prefixes>
<prefix-count>1</prefix-count>
<config>
<prefix-count>1</prefix-count>
</config>
</stop-update>
</maximum-prefixes>
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) maximum-prefix <1-4294967295> stop-update
Configure maximum prefix warning
This attribute when enabled only give warning message when limit is exceeded. When it is not set and extra prefixes are received, the router ends the peering.
Attribute Name: maximum-prefix-warning
Attribute Type: uint8
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<maximum-prefixes>
<prefix-count>1</prefix-count>
<config>
<prefix-count>1</prefix-count>
</config>
</maximum-prefix-warning>
</maximum-prefixes>
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) maximum-prefix <1-4294967295> warning-only
Configure threshold percentage
Threshold-value in percen. This attribute controls the number of prefixes that can be received from a neighbor. This attribute allows the configuration of a specified number of prefixes that a BGP router is allowed to receive from a neighbor. When the maximum-prefix-warning attribute is not set and extra prefixes are received, the router ends the peering.
Attribute Name: threshold-percentage
Attribute Type: uint8
Default Value: 75
Attribute Range: 1-100
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<maximum-prefixes>
<prefix-count>1</prefix-count>
<config>
<prefix-count>1</prefix-count>
</config>
<threshold-percentage>1</threshold-percentage>
</maximum-prefixes>
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) maximum-prefix <1-4294967295> <1-100>
Configure warning only
Throw warning if exceeds threshold-value
Attribute Name: warning-only
Attribute Type: uint8
Attribute Name: threshold-percentage
Attribute Type: uint8
Default Value: 75
Attribute Range: 1-100
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<maximum-prefixes>
<prefix-count>1</prefix-count>
<config>
<prefix-count>1</prefix-count>
<threshold-percentage>1</threshold-percentage>
</config>
</warning-only>
</maximum-prefixes>
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) maximum-prefix <1-4294967295> <1-100> warning-only
Configure unsuppress route map name
unsuppress map name. This attribute is used to selectively leak more-specific routes to a particular neighbor.
Attribute Name: unsuppress-route-map-name
Attribute Type: string
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<unsuppress-route-map-name>WORD</unsuppress-route-map-name> <!-- operation="delete"-->
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) unsuppress-map WORD
Configure access list identifier
Access List information
Attribute Name: access-list-identifier
Attribute Type: string
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<distribute-list-filter>
<filter-direction>in</filter-direction>
<config>
<filter-direction>in</filter-direction>
</config>
<access-list-identifier>WORD</access-list-identifier>
</distribute-list-filter>
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) distribute-list WORD (in|out)
Configure filter direction
Access List information
Attribute Name: access-list-identifier
Attribute Type: string
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<distribute-list-filter>
<filter-direction>in</filter-direction>
<config>
<filter-direction>in</filter-direction>
</config>
<access-list-identifier>WORD</access-list-identifier>
</distribute-list-filter>
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) distribute-list WORD (in|out)
Configure prefix list name
This attribute specify a prefix list for filtering BGP advertisements for specified address-family. Filtering by prefix list matches the prefixes of routes with those listed in the prefix list. If there is a match, the route is used. An empty prefix list permits all prefixes. If a given prefix does not match any entries of a prefix list, the route is denied access. When multiple entries of a prefix list match a prefix, the entry with the smallest sequence number is considered to be a real match. The router begins the search at the top of the prefix list, with the sequence number 1. Once a match or deny occurs, the router does not need to go through the rest of the prefix list. For efficiency the most common matches or denies are listed at the top.
Attribute Name: prefix-list-name
Attribute Type: string
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<prefix-list-filter>
<prefix-filter-direction>in</prefix-filter-direction>
<config>
<prefix-filter-direction>in</prefix-filter-direction>
</config>
<prefix-list-name>WORD</prefix-list-name>
</prefix-list-filter>
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) prefix-list WORD (in|out)
Configure prefix filter direction
This attribute specify a prefix list for filtering BGP advertisements for specified address-family. Filtering by prefix list matches the prefixes of routes with those listed in the prefix list. If there is a match, the route is used. An empty prefix list permits all prefixes. If a given prefix does not match any entries of a prefix list, the route is denied access. When multiple entries of a prefix list match a prefix, the entry with the smallest sequence number is considered to be a real match. The router begins the search at the top of the prefix list, with the sequence number 1. Once a match or deny occurs, the router does not need to go through the rest of the prefix list. For efficiency the most common matches or denies are listed at the top.
Attribute Name: prefix-list-name
Attribute Type: string
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<prefix-list-filter>
<prefix-filter-direction>in</prefix-filter-direction>
<config>
<prefix-filter-direction>in</prefix-filter-direction>
</config>
<prefix-list-name>WORD</prefix-list-name>
</prefix-list-filter>
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD prefix-list WORD (in|out)
Configure as access list identifier
Access-list number. This attribute sets a BGP filter. This attribute specifies an access list filter on updates based on the BGP autonomous system paths. Each filter is an access list based on regular expressions
Attribute Name: as-access-list-identifier
Attribute Type: string
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<as-list-filter>
<as-list-direction>in</as-list-direction>
<config>
<as-list-direction>in</as-list-direction>
</config>
<as-access-list-identifier>WORD</as-access-list-identifier>
</as-list-filter>
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) filter-list WORD (in|out)
Configure as list direction
Access-list number. This attribute sets a BGP filter. This attribute specifies an access list filter on updates based on the BGP autonomous system paths. Each filter is an access list based on regular expressions
Attribute Name: as-access-list-identifier
Attribute Type: string
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<as-list-filter>
<as-list-direction>in</as-list-direction>
<config>
<as-list-direction>in</as-list-direction>
</config>
<as-access-list-identifier>WORD</as-access-list-identifier>
</as-list-filter>
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) filter-list WORD (in|out)
Configure route map name
Use this attribute to apply a route map to incoming or outgoing routes. This attribute filters updates and modifies attributes. A route map is applied to inbound or outbound updates. Only the routes that pass the route map are sent or accepted in updates.
Attribute Name: route-map-name
Attribute Type: string
Attribute Range: 1-63
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<route-map-filter>
<route-map-direction>in</route-map-direction>
<config>
<route-map-direction>in</route-map-direction>
</config>
<route-map-name>WORD</route-map-name>
</route-map-filter>
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) route-map WORD (in|out)
Configure route map direction
Use this attribute to apply a route map to incoming or outgoing routes. This attribute filters updates and modifies attributes. A route map is applied to inbound or outbound updates. Only the routes that pass the route map are sent or accepted in updates.
Attribute Name: route-map-name
Attribute Type: string
Attribute Range: 1-63
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<route-map-filter>
<route-map-direction>in</route-map-direction>
<config>
<route-map-direction>in</route-map-direction>
</config>
<route-map-name>WORD</route-map-name>
</route-map-filter>
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD route-map WORD (in|out)
Configure peer port
Sets the BGP port number of a neighbor.
Attribute Name: peer-port
Attribute Type: uint16
Default Value: 179
Attribute Range: 0-65535
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<peer-port>0</peer-port> <!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD port <0-65535>
Configure min route advertisement interval
Sets a minimum route advertisement interval between the sending of BGP routing updates. To reduce the flapping of routes to internet, a minimum advertisement interval is set, so that the BGP routing updates are sent only per interval seconds.
Attribute Name: min-route-advertisement-interval
Attribute Type: uint32
Attribute Range: 0-65535
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<min-route-advertisement-interval>0</min-route-advertisement-interval> <!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD advertisement-interval <0-65535>
Configure peer as origin interval
Configures the minimum interval between the sending of AS-origination routing updates.
Attribute Name: peer-as-origin-interval
Attribute Type: uint32
Attribute Range: 1-65535
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<peer-as-origin-interval>1</peer-as-origin-interval> <!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD as-origination-interval <1-65535>
Configure collide established
Include a neighbor already in an established state for conflict resolution when a TCP connection collision is detected.
Attribute Name: collide-established
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
</collide-established><!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD collide-established
Configure peer description
Associates a description with a neighbor. This helps in identifying a neighbor quickly. It is useful for an ISP that has multiple neighbor relationships.
Attribute Name: peer-description
Attribute Type: string
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<peer-description>LINE</peer-description> <!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD description LINE
Configure disallow infinite hold time
Disallow configuration of infinite hold-time. A hold-time of 0 seconds from the peer (during exchange of open messages) or the user (during configuration) will be rejected.
Attribute Name: disallow-infinite-hold-time
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
</disallow-infinite-hold-time><!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD disallow-infinite-holdtime
Configure disable capability negotiation
Disable the capability negotiation. It allows compatibility with older BGP versions that have no capability parameters used in open messages between peers.
Attribute Name: disable-capability-negotiation
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
</disable-capability-negotiation><!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD dont-capability-negotiate
Configure enforce multi hop
Turns on the enforcement of eBGP neighbors perform multihop.
Attribute Name: enforce-multi-hop
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
</enforce-multi-hop><!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD enforce-multihop
Configure graceful shut
Use this attribute to start a graceful shutdown for the BGP session of the specified BGP neighbor. The BGP session for this neighbor is shut down after the graceful shutdown timer expires. If there is no alternate path available for traffic to flow prior the actual shutdown of the BGP session, this path is made available for 60 seconds or for configured time after which the path is no longer available and traffic is dropped.
Attribute Name: graceful-shut
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
</graceful-shut><!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD g-shut
Configure graceful shutdown timer
Configure the value of the graceful shutdown timer. After the timer expires, the BGP session initiated for graceful shutdown is shut down.
Attribute Name: graceful-shutdown-timer
Attribute Type: uint32
Attribute Range: 10-65535
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<graceful-shutdown-timer>10</graceful-shutdown-timer> <!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD g-shut-timer <10-65535>
Configure peer local as
Specifies an AS (autonomous system) number to use with BGP neighbor.
Attribute Name: peer-local-as
Attribute Type: uint32
Attribute Range: 1-4294967295
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<peer-local-as>1</peer-local-as> <!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD local-as <1-4294967295>
Configure neighbor override capability
Override a capability negotiation result and use locally configured values.
Attribute Name: neighbor-override-capability
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
</neighbor-override-capability><!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD override-capability
Configure neighbor passive
Sets a BGP neighbor as passive.
Attribute Name: neighbor-passive
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
</neighbor-passive><!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD passive
Configure peer restart time
Sets a different restart-time other than the global restart-time. This attribute takes precedence over the restart-time value specified using the grstSet attribute. The restart-time value is the maximum time that a graceful-restart neighbor waits to come back up after a restart. The default value is 120 seconds.
Attribute Name: peer-restart-time
Attribute Type: uint32
Attribute Range: 1-3600
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<peer-restart-time>1</peer-restart-time> <!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD restart-time <1-3600>
Configure peer shutdown
Disables a neighbor administratively. It will terminate any active session for a specified neighbor and clear all related routing information. In case a peer group is specified for shutdown, a large number of peering sessions could be terminated.
Attribute Name: peer-shutdown
Attribute Type: empty
Attribute Name: peer-shutdown-description
Attribute Type: string
Attribute Range: 1-255
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
<peer-shutdown-description>1</peer-shutdown-description> <!-- operation="delete"-->
</config>
</peer-shutdown><!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD shutdown (description LINE|)
Configure neighbor strict capability match
Close the BGP connection if capability value does not match the remote peer.
Attribute Name: neighbor-strict-capability-match
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
</neighbor-strict-capability-match><!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD strict-capability-match
Configure source identifier
Allows internal BGP sessions to use any operational interface for TCP connections. This attribute can be used in conjunction with any specified interface on the router. The loopback interface is the interface that is most commonly used with this attribute. The use of loopback interface eliminates a dependency and BGP does not have to rely on the availability of a particular interface for making TCP connections.
Attribute Name: source-identifier
Attribute Type: string
Default Value: NULL
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<source-identifier>WORD</source-identifier> <!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD update-source WORD
Configure bgp version
Configure router to accept only a particular BGP version. By default, the system uses BGP version 4 and on request dynamically negotiates down to version 2. Disables the routers version-negotiation capability and forces the router to use only a specified version with the neighbor.
Attribute Name: bgp-version
Attribute Type: uint8
Default Value: 4
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<bgp-version>(4)</bgp-version> <!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD version (4)
Configure enable ext opt param len
Use this attribute for a specific peer to encode extended optional parameter length.
Attribute Name: enable-ext-opt-param-len
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
</enable-ext-opt-param-len><!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD extended-optional-param
Configure peer connect interval
This attribute sets the timers for a specific BGP neighbor. Keepalive messages are sent by a router to inform another router that the BGP connection between the two is still active. The keepalive interval is the period of time between each keepalive message sent by the router. The holdtime interval is the time the router waits to receive a keepalive message and if it does not receive a message for this period it declares the neighbor dead.
Attribute Name: peer-connect-interval
Attribute Type: uint32
Default Value: 1
Attribute Range: 1-65535
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<peer-connect-interval>1</peer-connect-interval> <!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD timers connect <1-65535>
Configure admin status
Enable or disable AIGP
Attribute Name: admin-status
Attribute Type: enum (disable|enable)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<aigp>
<config>
<admin-status>disable</admin-status> <!-- operation="delete"-->
</config>
</aigp>
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) aigp (disable|enable)
Configure aigp send med
Enable AIGP send multi exit discriminator.
Attribute Name: aigp-send-med
Attribute Type: uint8
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<aigp>
<config>
</aigp-send-med><!-- operation="delete"-->
</config>
</aigp>
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) aigp send med
Configure send cost community id
Send AIGP value in Cost community. And get the Community ID.
Attribute Name: send-cost-community-id
Attribute Type: uint8
Attribute Range: 0-255
Attribute Name: point-of-insertion
Attribute Type: enum (pre-bestpath|igp-cost)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<aigp>
<cost-community>
<config>
<point-of-insertion>pre-bestpath</point-of-insertion>
<send-cost-community-id>0</send-cost-community-id>
</config>
</cost-community>
</aigp>
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) aigp send cost-community <0-255> poi (pre-bestpath|igp-cost)
Configure enable transitive
Send AIGP value in Cost community and Enable Transitive Cost Community
Attribute Name: enable-transitive
Attribute Type: uint8
Attribute Name: send-cost-community-id
Attribute Type: uint8
Attribute Range: 0-255
Attribute Name: point-of-insertion
Attribute Type: enum (pre-bestpath|igp-cost)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<aigp>
<cost-community>
<config>
<send-cost-community-id>0</send-cost-community-id> <!-- operation="delete"-->
<point-of-insertion>pre-bestpath</point-of-insertion> <!-- operation="delete"-->
</enable-transitive><!-- operation="delete"-->
</config>
</cost-community>
</aigp>
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) aigp send cost-community <0-255> poi (pre-bestpath|igp-cost) transitive
Configure point of insertion
Send AIGP value in Cost community. And get the Community ID.
Attribute Name: send-cost-community-id
Attribute Type: uint8
Attribute Range: 0-255
Attribute Name: point-of-insertion
Attribute Type: enum (pre-bestpath|igp-cost)
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<address-family>
<safi>unicast</safi>
<config>
<safi>unicast</safi>
<afi>ipv4</afi>
</config>
<afi>ipv4</afi>
<aigp>
<cost-community>
<config>
<point-of-insertion>pre-bestpath</point-of-insertion>
<send-cost-community-id>0</send-cost-community-id>
</config>
</cost-community>
</aigp>
</address-family>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) aigp send cost-community <0-255> poi (pre-bestpath|igp-cost)
Configure peer as
Autonomous system number of a neighbor. If the specified ASN matches the ASN number specified in the router bgp global configuration, the neighbor is identified as internal. If the ASN does no match, it is identified as external to the local AS.
Attribute Name: peer-as
Attribute Type: union
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<peer-as>-2</peer-as>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD remote-as internal
Configure enable dynamic capability
Use this attribute to enable the dynamic capability for a specific peer. This attribute allows a BGP speaker to advertise or withdraw an address family capability to a peer in a non-disruptive manner.
Attribute Name: enable-dynamic-capability
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
</enable-dynamic-capability><!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) capability dynamic
Configure peer shutdown description
Use this attribute to send shutdown communication message to inform peer the reason for the shutdown of the BGP session.
Attribute Name: peer-shutdown-description
Attribute Type: string
Attribute Range: 1-255
Attribute Name: peer-shutdown
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</peer-shutdown><!-- operation="delete"-->
</config>
<peer-shutdown-description>1</peer-shutdown-description> <!-- operation="delete"-->
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) shutdown (description LINE|)
Configure hold time
Use this attribute to globally set or reset the holdtime values for all the neighbors.
Attribute Name: hold-time
Attribute Type: uint16
Attribute Range: 0-65535
Attribute Name: keep-alive
Attribute Type: uint16
Attribute Range: 0-65535
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<timers>
<config>
<keep-alive>0</keep-alive>
<hold-time>0</hold-time>
</config>
</timers>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor WORD timers <0-65535> <0-65535>
Configure keep alive
Use this attribute to globally set or reset the keepalive values for all the neighbors
Attribute Name: keep-alive
Attribute Type: uint16
Attribute Range: 0-65535
Attribute Name: hold-time
Attribute Type: uint16
Attribute Range: 0-65535
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<timers>
<config>
<hold-time>0</hold-time>
<keep-alive>0</keep-alive>
</config>
</timers>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) timers <0-65535> <0-65535>
Configure enabled
Use this attribute to accept and attempt BGP connections to external peers on indirectly connected networks. Multihop is not established if the only route to the multihop peer is a default route. This avoids loop formation.
Attribute Name: enabled
Attribute Type: empty
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<ebgp-multihop>
<config>
</enabled>
</config>
</ebgp-multihop>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) ebgp-multihop
Configure maximum hop count
Use this attribute to accept and attempt BGP connections to external peers on indirectly connected networks. Multihop is not established if the only route to the multihop peer is a default route. This avoids loop formation.
Attribute Name: enabled
Attribute Type: empty
Attribute Name: maximum-hop-count
Attribute Type: uint8
Attribute Range: 1-255
Netconf edit-config payload
<bgp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<bgp-instance>
<bgp-as>1</bgp-as>
<config>
<bgp-as>1</bgp-as>
</config>
<peer>
<peer-address>A.B.C.D|X:X::X:X</peer-address>
<config>
<peer-address>BGP_IP_ADDR_T</peer-address>
</config>
<ebgp-multihop>
<config>
<maximum-hop-count>1</maximum-hop-count> <!-- operation="delete"-->
</enabled><!-- operation="delete"-->
</config>
</ebgp-multihop>
</peer>
</bgp-instance>
</bgp>
Command Syntax
neighbor (A.B.C.D|X:X::X:X) ebgp-multihop <1-255>
clear ip bgp * (description LINE|)
Attribute Name: peer-reset-description
Attribute Type: string
Attribute Range: 1-255
Netconf RPC payload
<ipi-bgp-peer_clear-ip-bgp-all-peer xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-bgp">
<peer-reset-description>1</peer-reset-description>
</ipi-bgp-peer_clear-ip-bgp-all-peer>
Command Syntax
clear ip bgp * (description LINE|)