From 08f9a41ebaa7230be27b6be944cbae7635135e26 Mon Sep 17 00:00:00 2001 From: sever-sever Date: Sun, 26 Apr 2020 15:49:27 +0000 Subject: bgp-xml: T2387:Commands in XML for [conf_mode] bgp --- .../bgp-afi-redistribute-metric-route-map.xml.i | 17 ++ .../include/bgp-neighbor-afi-ipv4-unicast.xml.i | 285 ++++++++++++++++++ .../include/bgp-neighbor-afi-ipv6-unicast.xml.i | 322 +++++++++++++++++++++ .../include/bgp-peer-group-afi-ipv4-unicast.xml.i | 301 +++++++++++++++++++ .../include/bgp-peer-group-afi-ipv6-unicast.xml.i | 317 ++++++++++++++++++++ 5 files changed, 1242 insertions(+) create mode 100644 interface-definitions/include/bgp-afi-redistribute-metric-route-map.xml.i create mode 100644 interface-definitions/include/bgp-neighbor-afi-ipv4-unicast.xml.i create mode 100644 interface-definitions/include/bgp-neighbor-afi-ipv6-unicast.xml.i create mode 100644 interface-definitions/include/bgp-peer-group-afi-ipv4-unicast.xml.i create mode 100644 interface-definitions/include/bgp-peer-group-afi-ipv6-unicast.xml.i (limited to 'interface-definitions/include') diff --git a/interface-definitions/include/bgp-afi-redistribute-metric-route-map.xml.i b/interface-definitions/include/bgp-afi-redistribute-metric-route-map.xml.i new file mode 100644 index 000000000..9b3f7a008 --- /dev/null +++ b/interface-definitions/include/bgp-afi-redistribute-metric-route-map.xml.i @@ -0,0 +1,17 @@ + + + Metric for redistributed routes + + <1-4294967295> + Metric for redistributed routes + + + + + + Route map to filter redistributed routes + + policy route-map + + + diff --git a/interface-definitions/include/bgp-neighbor-afi-ipv4-unicast.xml.i b/interface-definitions/include/bgp-neighbor-afi-ipv4-unicast.xml.i new file mode 100644 index 000000000..74afb8851 --- /dev/null +++ b/interface-definitions/include/bgp-neighbor-afi-ipv4-unicast.xml.i @@ -0,0 +1,285 @@ + + + IPv4 BGP neighbor parameters + + + + + Accept a IPv4-route that contains the local-AS in the as-path + + + + + Number of occurrences of AS number + + <1-10> + Number of times AS is allowed in path + + + + + + + + + + + AS for routes sent to this neighbor to be the local AS + + + + + + BGP attributes are sent unchanged (IPv4) + + + + + Send AS path unchanged (IPv4) + + + + + + Send multi-exit discriminator unchanged (IPv4) + + + + + + Send nexthop unchanged (IPv4) + + + + + + + + Advertise capabilities to this neighbor (IPv4) + + + + + Advertise ORF capability to this neighbor + + + + + Advertise prefix-list ORF capability to this neighbor + + + + + Capability to receive the ORF + + + + + + Capability to send the ORF + + + + + + + + + + + + Send default IPv4-route to this neighbor + + + + + IPv4-Route-map to specify criteria of the default + + policy route-map + + + + + + + + Access-list to filter IPv4-route updates to/from this neighbor + + + + + Access-list to filter outgoing IPv4-route updates to this neighbor + + policy access-list + + + <1-65535> + Access-list to filter outgoing IPv4-route updates to this neighbor + + + + + + + + + Access-list to filter incoming IPv4-route updates from this neighbor + + policy access-list + + + <1-65535> + Access-list to filter incoming IPv4-route updates from this neighbor + + + + + + + + + + + As-path-list to filter IPv4-route updates to/from this neighbor + + + + + As-path-list to filter outgoing IPv4-route updates to this neighbor + + policy as-path-list + + + + + + As-path-list to filter incoming IPv4-route updates from this neighbor + + policy as-path-list + + + + + + + + Maximum number of IPv4-prefixes to accept from this neighbor + + <1-4294967295> + Prefix limit + + + + + + + + + Nexthop for IPv4-routes sent to this neighbor to be the local router + + + + + Set the next hop to self for reflected routes + + + + + + + + IPv4-Prefix-list to filter route updates to/from this neighbor + + + + + IPv4-Prefix-list to filter outgoing route updates to this neighbor + + policy prefix-list + + + + + + IPv4-Prefix-list to filter incoming route updates from this neighbor + + policy prefix-list + + + + + + + + Remove private AS numbers from AS path in outbound IPv4-route updates + + + + + + Route-map to filter IPv4-route updates to/from this neighbor + + + + + IPv4-Route-map to filter outgoing route updates to this neighbor + + policy route-map + + + + + + IPv4-Route-map to filter incoming route updates from this neighbor + + policy route-map + + + + + + + + Neighbor as a IPv4-route reflector client + + + + + + Neighbor is IPv4-route server client + + + + + + Soft reconfiguration for neighbor (IPv4) + + + + + Inbound soft reconfiguration for this neighbor [REQUIRED] + + + + + + + + Route-map to selectively unsuppress suppressed IPv4-routes + + + + + + Default weight for routes from this neighbor + + <1-65535> + Weight for routes from this neighbor + + + + + + + + diff --git a/interface-definitions/include/bgp-neighbor-afi-ipv6-unicast.xml.i b/interface-definitions/include/bgp-neighbor-afi-ipv6-unicast.xml.i new file mode 100644 index 000000000..e95cb6dd8 --- /dev/null +++ b/interface-definitions/include/bgp-neighbor-afi-ipv6-unicast.xml.i @@ -0,0 +1,322 @@ + + + IPv6 BGP neighbor parameters + + + + + Accept a IPv6-route that contains the local-AS in the as-path + + + + + Number of occurrences of AS number + + <1-10> + Number of times AS is allowed in path + + + + + + + + + + + AS for routes sent to this neighbor to be the local AS + + + + + + BGP attributes are sent unchanged + + + + + Send AS path unchanged + + + + + + Send multi-exit discriminator unchanged + + + + + + Send nexthop unchanged + + + + + + + + Advertise capabilities to this neighbor (IPv6) + + + + + Advertise ORF capability to this neighbor + + + + + Advertise prefix-list ORF capability to this neighbor + + + + + Capability to receive the ORF + + + + + + Capability to send the ORF + + + + + + + + + + + + Send default IPv6-route to this neighbor + + + + + Route-map to specify criteria of the default + + policy route-map + + + + + + + + Disable sending community attributes to this neighbor + + + + + Disable sending extended community attributes to this neighbor + + + + + + Disable sending standard community attributes to this neighbor + + + + + + + + Access-list to filter route updates to/from this neighbor + + + + + Access-list to filter outgoing route updates to this neighbor + + policy access-list6 + + + <1-65535> + Access-list to filter outgoing route updates to this neighbor + + + + + + + + + Access-list to filter incoming route updates from this neighbor + + policy access-list6 + + + <1-65535> + Access-list to filter incoming route updates from this neighbor + + + + + + + + + + + As-path-list to filter route updates to/from this neighbor + + + + + As-path-list to filter outgoing route updates to this neighbor + + policy as-path-list + + + + + + As-path-list to filter incoming route updates from this neighbor + + policy as-path-list + + + + + + + + Maximum number of prefixes to accept from this neighbor + + <1-4294967295> + Prefix limit + + + + + + + + + Nexthop attributes + + + + + Leave link-local nexthop unchanged for this peer + + + + + + + + Nexthop for IPv6-routes sent to this neighbor to be the local router + + + + + Set the next hop to self for reflected routes + + + + + + + + IPv6 peer group for this peer + + + + + Prefix-list to filter route updates to/from this neighbor + + + + + Prefix-list to filter outgoing route updates to this neighbor + + policy prefix-list6 + + + + + + Prefix-list to filter incoming route updates from this neighbor + + policy prefix-list6 + + + + + + + + Remove private AS numbers from AS path in outbound route updates + + + + + + Route-map to filter route updates to/from this neighbor + + + + + Route-map to filter outgoing route updates to this neighbor + + policy route-map + + + + + + Route-map to filter incoming route updates from this neighbor + + policy route-map + + + + + + + + Neighbor as a IPv6-route reflector client + + + + + + Neighbor is IPv6-route server client + + + + + + Soft reconfiguration for neighbor (IPv6) + + + + + Inbound soft reconfiguration for this neighbor [REQUIRED] + + + + + + + + Route-map to selectively unsuppress suppressed IPv6-routes + + + + + + Default weight for routes from this neighbor + + <1-65535> + Weight for routes from this neighbor + + + + + + + + diff --git a/interface-definitions/include/bgp-peer-group-afi-ipv4-unicast.xml.i b/interface-definitions/include/bgp-peer-group-afi-ipv4-unicast.xml.i new file mode 100644 index 000000000..df051ace5 --- /dev/null +++ b/interface-definitions/include/bgp-peer-group-afi-ipv4-unicast.xml.i @@ -0,0 +1,301 @@ + + + IPv4 BGP peer group parameters + + + + + Accept a route that contains the local-AS in the as-path + + + + + Number of occurrences of AS number + + <1-10> + Number of times AS is allowed in path + + + + + + + + + + + BGP attributes are sent unchanged + + + + + Send AS path unchanged + + + + + + Send multi-exit discriminator unchanged + + + + + + Send nexthop unchanged + + + + + + + + Advertise capabilities to this peer-group + + + + + Advertise dynamic capability to this peer-group + + + + + + Advertise ORF capability to this peer-group + + + + + Advertise prefix-list ORF capability to this peer-group + + + + + Capability to receive the ORF + + + + + + Capability to send the ORF + + + + + + + + + + + + Send default route to this peer-group + + + + + Route-map to specify criteria of the default + + + + + + + Disable sending community attributes to this peer-group + + + + + Disable sending extended community attributes to this peer-group + + + + + + Disable sending standard community attributes to this peer-group + + + + + + + + Access-list to filter route updates to/from this peer-group + + + + + Access-list to filter outgoing route updates to this peer-group + + policy access-list + + + <1-65535> + Access-list to filter outgoing route updates to this peer-group + + + + + + + + + Access-list to filter incoming route updates from this peer-group + + policy access-list + + + <1-65535> + Access-list to filter incoming route updates from this peer-group + + + + + + + + + + + As-path-list to filter route updates to/from this peer-group + + + + + As-path-list to filter outgoing route updates to this peer-group + + policy as-path-list + + + + + + As-path-list to filter incoming route updates from this peer-group + + policy as-path-list + + + + + + + + Maximum number of prefixes to accept from this peer-group + + <1-4294967295> + Prefix limit + + + + + + + + + Nexthop for routes sent to this peer-group to be the local router + + + + + Set the next hop to self for reflected routes + + + + + + + + Prefix-list to filter route updates to/from this peer-group + + + + + Prefix-list to filter outgoing route updates to this peer-group + + policy prefix-list + + + + + + Prefix-list to filter incoming route updates from this peer-group + + policy prefix-list + + + + + + + + Remove private AS numbers from AS path in outbound route updates + + + + + + Route-map to filter route updates to/from this peer-group + + + + + Route-map to filter outgoing route updates to this peer-group + + policy route-map + + + + + + Route-map to filter incoming route updates from this peer-group + + policy route-map + + + + + + + + Peer-group as a route reflector client + + + + + + Peer-group as route server client + + + + + + Soft reconfiguration for peer-group + + + + + Inbound soft reconfiguration for this peer-group [REQUIRED] + + + + + + + + Route-map to selectively unsuppress suppressed routes + + + + + + Default weight for routes from this peer-group + + <1-65535> + Weight for routes from this peer-group + + + + + + + + diff --git a/interface-definitions/include/bgp-peer-group-afi-ipv6-unicast.xml.i b/interface-definitions/include/bgp-peer-group-afi-ipv6-unicast.xml.i new file mode 100644 index 000000000..a381e02f0 --- /dev/null +++ b/interface-definitions/include/bgp-peer-group-afi-ipv6-unicast.xml.i @@ -0,0 +1,317 @@ + + + IPv6 BGP neighbor parameters + + + + + Accept a IPv6-route that contains the local-AS in the as-path + + + + + Number of occurrences of AS number + + <1-10> + Number of times AS is allowed in path + + + + + + + + + + + BGP attributes are sent unchanged + + + + + Send AS path unchanged + + + + + + Send multi-exit discriminator unchanged + + + + + + Send nexthop unchanged + + + + + + + + Advertise capabilities to this peer-group + + + + + Advertise dynamic capability to this peer-group + + + + + + Advertise ORF capability to this peer-group + + + + + Advertise prefix-list ORF capability to this peer-group + + + + + Capability to receive the ORF + + + + + + Capability to send the ORF + + + + + + + + + + + + Send default route to this peer-group + + + + + Route-map to specify criteria of the default + + policy route-map + + + + + + + + Disable sending community attributes to this peer-group + + + + + Disable sending extended community attributes to this peer-group + + + + + + Disable sending standard community attributes to this peer-group + + + + + + + + Access-list to filter route updates to/from this peer-group + + + + + Access-list to filter outgoing route updates to this peer-group + + policy access-list6 + + + <1-65535> + Access-list to filter outgoing route updates to this peer-group + + + + + + + + + Access-list to filter incoming route updates from this peer-group + + policy access-list6 + + + <1-65535> + Access-list to filter incoming route updates from this peer-group + + + + + + + + + + + As-path-list to filter route updates to/from this peer-group + + + + + As-path-list to filter outgoing route updates to this peer-group + + policy as-path-list + + + + + + As-path-list to filter incoming route updates from this peer-group + + policy as-path-list + + + + + + + + Maximum number of prefixes to accept from this peer-group + + <1-4294967295> + Prefix limit + + + + + + + + + Nexthop attributes + + + + + Leave link-local nexthop unchanged for this peer + + + + + + + + Nexthop for routes sent to this peer-group to be the local router + + + + + Set the next hop to self for reflected routes + + + + + + + + Prefix-list to filter route updates to/from this peer-group + + + + + Prefix-list to filter outgoing route updates to this peer-group + + policy prefix-list6 + + + + + + Prefix-list to filter incoming route updates from this peer-group + + policy prefix-list6 + + + + + + + + Remove private AS numbers from AS path in outbound route updates + + + + + + Route-map to filter route updates to/from this peer-group + + + + + Route-map to filter outgoing route updates to this peer-group + + policy route-map + + + + + + Route-map to filter incoming route updates from this peer-group + + policy route-map + + + + + + + + Peer-group as a route reflector client + + + + + + Peer-group as route server client + + + + + + Soft reconfiguration for peer-group + + + + + Inbound soft reconfiguration for this peer-group [REQUIRED] + + + + + + + + Route-map to selectively unsuppress suppressed routes + + + + + + Default weight for routes from this peer-group + + <1-65535> + Weight for routes from this peer-group + + + + + + + + -- cgit v1.2.3