BGP & BGP4+ (Border Gateway Protocol IPv4 & IPv6) Software Reference Supplement for x-Series Switches AlliedWare Plus™ Operating System Version 5.4.3-2.
Acknowledgments This product includes software developed by the University of California, Berkeley and its contributors. Copyright ©1982, 1986, 1990, 1991, 1993 The Regents of the University of California. All rights reserved. This product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit (http://www.openssl.org/). Copyright ©1998-2008 The OpenSSL Project. All rights reserved.
Table of Contents Chapter 1 BGP and BGP4+ Introduction Introduction...................................................................................................................................................................... 1.3 BGP and BGP4+ ASNs and AS_Path Attributes............................................................................................. 1.4 Internal and External BGP Concepts....................................................................................................
BGP Optimization ......................................................................................................................................................... 1.35 How to determine Backdoor Routes .............................................................................................................. 1.35 How to set the BGP Administrative Distance .............................................................................................. 1.
bgp deterministic-med (BGP and BGP4+) ..........................................................................................................3.29 bgp enforce-first-as (BGP and BGP4+)..................................................................................................................3.30 bgp fast-external-failover (BGP and BGP4+) ......................................................................................................3.31 bgp graceful-restart (BGP and BGP4+)......................
neighbor disallow-infinite-holdtime (BGP and BGP4+) .............................................................................. 3.112 neighbor distribute-list (BGP and BGP4+)........................................................................................................ 3.114 neighbor dont-capability-negotiate (BGP and BGP4+)............................................................................... 3.117 neighbor ebgp-multihop (BGP and BGP4+)..................................................
show bgp memory maxallocation (BGP).......................................................................................................... 3.218 show debugging bgp (BGP).................................................................................................................................. 3.219 show ip bgp (BGP) .................................................................................................................................................... 3.
Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches i.viii AlliedWare PlusTM Operating System - Software Version 5.4.3-2.
Chapter 1: BGP and BGP4+ Introduction Introduction ...........................................................................................................................................1.3 BGP and BGP4+ ASNs and AS_Path Attributes ..................................................................1.4 Internal and External BGP Concepts .............................................................................................1.5 Public and Private ASNs.................................................
BGP and BGP4+ Introduction How to set the BGP Administrative Distance .................................................................. 1.35 How to change BGP default local preference value...................................................... 1.35 How to redistribute the default network 0.0.0.0 ............................................................ 1.36 How to adjust BGP Timers ...................................................................................................... 1.
BGP and BGP4+ Introduction Introduction This chapter introduces terminology and concepts about BGP for IPv4 and BGP4+ for IPv6, including the concepts of autonomous system numbers (ASN), path attributes (PA), and both internal and external BGP and BGP4+. For basic BGP and BGP4+ configuration examples, see Chapter 2, BGP and BGP4+ Configuration. For details about the commands used in these examples, or the outputs from validation commands, see Chapter 3, BGP and BGP4+ Commands.
BGP and BGP4+ Introduction BGP does not send any more route updates than it absolutely has to. When routers first peer up, they exchange the route table data that they wish to inform each other of. Thereafter, they only send each other route information if anything changes. BGP and BGP4+ ASNs and AS_Path Attributes BGP and BGP4+ uses BGP path attributes (PAs). PAs define information about a path, or route, through a network.
BGP and BGP4+ Introduction Internal and External BGP Concepts BGP defines two classes of neighbors (peers): internal BGP (iBGP) and external BGP (eBGP). These terms use the perspective of a single router, with the terms referring to whether a BGP neighbor is in the same ASN (iBGP) or a different ASN (eBGP). A BGP router behaves differently in several ways depending on whether the peer (neighbor) is an iBGP or eBGP peer.
BGP and BGP4+ Introduction BGP is useful when you have at least two Internet connections. BGP is most useful when you want to choose one outbound path over another path for particular destinations in the Internet. Consider BGP when you have multiple Internet connections, where you want to make some packets take one path and you want other packets to take another path.
BGP and BGP4+ Introduction How to verify eBGP Neighbor Status The two most common commands to display a BGP neighbor’s status are: show ip bgp summary (BGP) and show ip bgp neighbors (BGP). The show ip bgp neighbors (BGP) command shows detailed output per neighbor. The show ip bgp summary (BGP) command shows summary output per neighbor.
BGP and BGP4+ Introduction Viewing a subset of the BGP Table When accepting full BGP updates, the number of BGP table entries may be too large for the show ip bgp (BGP) command listing thousands of prefixes. So instead use the show ip bgp summary (BGP) command that only lists the number of prefixes received from each neighbor. Advertising eBGP routes to ISPs Outbound routes let the Enterprise routers forward packets toward the Internet.
BGP and BGP4+ Introduction Internal BGP (iBGP) Concepts Routers that run BGP often run an IGP, such as OSPF, and have learned routes for the public range either as one route or with subset routes. If a single route exists for the public range, then you can add a redistribute (into BGP or BGP4+) (BGP and BGP4+) command to the BGP configuration to redistribute that route, and only that route, into BGP. IGPs do not handle the public routing table.
BGP and BGP4+ Introduction 4. Make sure each router has IP routes so that they can forward packets to the loopback interface IP address of the other router. Verifying iBGP iBGP neighbors use the same messages and neighbor states as eBGP peers. The same commands for BGP neighbor verification can be used to verify iBGP peers. The show ip bgp summary (BGP) command lists neighbors.
BGP and BGP4+ Introduction The synchronization feature tells a BGP router not to consider an iBGP-learned route as best unless the prefix is learned locally or via an IGP and is currently in the IP routing table. BGP synchronization prevents reachability issues by preventing a BGP router advertising routes learned from an iBGP peer unless the route is learned locally, or via an IGP.
BGP and BGP4+ Introduction How to configure BGP and BGP4+ This section describes BGP and BGP4+ configuration tasks and the commands required. For example configurations with sample topologies, see Chapter 2, BGP and BGP4+ Configuration. Initial BGP and BGP4+ Configuration Tasks There are two initial BGP and BGP4+ configuration tasks described in the below sections.
BGP and BGP4+ Introduction BGP and BGP4+ Neighbor Route Filtering You can filter BGP and BGP4+ advertisements in two ways with neighbors: ■ Use autonomous system path filters, as with the ip as-path access-list (BGP and BGP4+) Global Configuration mode command and the neighbor filter-list (BGP and BGP4+) Router Configuration mode command ■ Use access or prefix lists, as with the neighbor distribute-list (BGP and BGP4+) Router Configuration mode command.
BGP and BGP4+ Introduction To configure BGP4+ path filtering, use the following commands starting in Global Configuration mode: awplus(config)# ip as-path access-list (BGP and This command defines a BGP-related access list.
BGP and BGP4+ Introduction How to use Route Maps for BGP or BGP4+ updates You can use a route map on a per-neighbor basis to filter updates and modify various attributes. A route map can be applied to either inbound or outbound updates. Only the routes that pass the route map are sent or accepted in updates. Note that community based matching requires the ip community-list (BGP and BGP4+) Global Configuration command. See the section BGP Community Filtering for more information.
BGP and BGP4+ Introduction BGP and BGP4+ Peer Groups Often, in a BGP speaker, many neighbors are configured with the same update policies. Neighbors with the same update policies can be grouped into peer groups to simplify configuration and, more importantly, to make updating more efficient. Three steps to configure a BGP peer group, described in following sections, are as below: 1. How to create a Peer Group for BGP 2. How to assign options to the created Peer Group 3.
BGP and BGP4+ Introduction To assign configuration options to an individual neighbor, specify any of the following commands using the IP address as the . To assign the options to a peer group, specify any of the commands using the peer group name as the . Use the following commands in Router Configuration mode as needed. awplus(config-router)# neighbor remote-as This command specifies a BGP neighbor.
BGP and BGP4+ Introduction awplus(config-router)# neighbor This command disables next hop processing on the BGP next-hop-self updates to a neighbor. awplus(config-router)# neighbor version This command specifies the BGP version to use when communicating with a neighbor. awplus(config-router)# neighbor {| This command starts MD5 authentication on a TCP connection } password to a BGP peer.
BGP and BGP4+ Introduction How to configure authentication for BGP Peering Sessions You can configure authentication between two BGP peers, meaning that each segment sent on the TCP connection between the peers is verified. Authentication must be configured with the same password on both BGP peers; otherwise, the connection between them will not be made. Configuring authentication causes the software to generate and check the MD5 digest of every segment sent on the TCP connection.
BGP and BGP4+ Introduction BGP and BGP4+ Prefix Lists Prefix lists can be used as an alternative to access lists in many BGP or BGP4+ route filtering commands. The advantages of using IPv4 or IPv6 prefix lists are as follows: ■ More of a performance improvement in loading and route lookup of large lists. ■ Support for updates. Filtering using access lists does not support updates. ■ The command-line interface to use access lists to filter BGP updates is more difficult.
BGP and BGP4+ Introduction How to create and configure a Prefix List for BGP or BGP4+ To create a prefix list for BGP, use the following command in Global Configuration mode. Note you can add individual prefix list entries to a defined prefix list as well. awplus(config)# ip prefix-list [seq <1-429496725>] {deny| permit} {any|} [ge <0-32>] [le <0-32>] This command creates an IPv4 prefix list with the name specified for the parameter.
BGP and BGP4+ Introduction How to display IPv4 and IPv6 Prefix Entries To display information about IPv4 and IPv6 prefix tables, prefix table entries, the policy associated with a node, or specific information about an entry, use the following commands in Privileged Exec mode as appropriate: awplus# show ip prefix-list [| This command displays information about IPv4 prefix lists. detail|summary] awplus# show ipv6 prefix-list [| This command displays information about IPv6 prefix lists.
BGP and BGP4+ Introduction BGP and BGP4+ Route Dampening Route dampening is a BGP and BGP4+ feature designed to minimize the propagation of flapping routes across a network. A route is considered to be flapping when it is repeatedly available, then unavailable, then available, then unavailable, etc. Consider a network with three BGP autonomous systems: autonomous system 1, autonomous system 2, and autonomous system 3.
BGP and BGP4+ Introduction How to enable BGP and BGP4+ Route Dampening To enable BGP route dampening, use the command below in Router Configuration mode: awplus(config)# router bgp This command enters Router Configuration mode awplus(config-router)# bgp dampening This command enables BGP route dampening in Router Configuration mode.
BGP and BGP4+ Introduction Once a route is dampened, you can display BGP route dampening information, including the time remaining before the dampened routes will be unsuppressed. To display the information, use the following command in Privileged Exec mode: awplus# show ip bgp dampening This command displays BGP route dampening information for {dampened-paths| all IPv4 paths when you apply the dampened-paths flap-statistics|parameters} parameter.
BGP and BGP4+ Introduction BGP and BGP4+ Synchronization IGP synchronisation is a feature that is specifically required in the case where routing information is ‘transiting’ through an AS. That is, when: ■ A BGP router on one side of the AS learns routes from external ASs by eBGP. ■ This router passes the routes across the AS by iBGP to a BGP router on the other side of the network (passing through several IGP routers on the way, which simply pass on the iBGP updates).
BGP and BGP4+ Introduction BGP and BGP4+ Weights A weight is a number that you can assign to a route so that you can control the route selection process. The administrative weight is local to the router. A weight can be a number from 0 to 65535. If you have particular neighbors that you want to prefer for most of your traffic, you can assign a higher weight to all routes learned from that neighbor.
BGP and BGP4+ Introduction BGP and BGP4+ Aggregate Addresses CIDR (Classless Inter-Domain Routing) enables you to create aggregate routes to minimize the size of routing tables. CIDR is a routing method supported by BGP and BGP4+ that is based on route aggregation. CIDR allows a router to group routes together to minimize the amount of routing information carried.
BGP and BGP4+ Introduction BGP and BGP4+ monitoring You can remove all contents of a particular cache, table, or database. You also can display specific statistics. The following sections describe each of these tasks. How to clear BGP and BGP4+ tables You can remove all contents of a particular table. Clearing a table may be needed when the contents of the table have become invalid.
BGP and BGP4+ Introduction How to display BGP and BGP4+ statistics You can display specific statistics such as the contents of BGP routing tables. Information provided can be used to determine resource utilization and solve network problems. You can also display information about node reachability and discover the routing path that the packets of your device are taking through the network.
BGP and BGP4+ Introduction awplus# show ip bgp regexp This command displays the routes that have an autonomous system path that matches the specified regular expression entered on the command line. awplus# show ip bgp [| This command displays the contents of the IPv4 routes in the ] BGP routing table. awplus# show bgp ipv6 This command displays the contents of the IPv6 routes in the BGP4+ routing table.
BGP and BGP4+ Introduction BGP Connections Reset When a link between external neighbors drops, a BGP session does not reset immediately. To reset a BGP session when an interface goes down, use this command in Router Configuration mode awplus(config-router)# bgp fast-external-failover This command resets BGP sessions automatically. BGP Versions By default, BGP sessions begin using BGP Version 4 and negotiate downward to earlier versions as needed.
BGP and BGP4+ Introduction BGP Route Reflectors BGP requires that all iBGP speakers be fully meshed. Another way to reduce the iBGP mesh is to configure a BGP route reflector, instead of configuring a BGP confederation. With route reflectors, all iBGP speakers need not be fully meshed because there is a method to pass learned routes to neighbors. In this model, an iBGP peer is configured to be a route reflector responsible for passing iBGP learned routes to a set of iBGP neighbors.
BGP and BGP4+ Introduction BGP Community Filtering BGP supports transit policies via controlled distribution of routing information. The distribution of routing information is based on one of the following three values: ■ IP address. ■ The value of the autonomous system path attribute. ■ The value of the communities attribute (as described in this section). The communities attribute is a way to group destinations into communities and apply routing decisions based on the communities.
BGP and BGP4+ Introduction BGP Optimization How to determine Backdoor Routes You can determine which networks are reachable by using a backdoor route that the border router should use. A backdoor network is treated as a local network, except that it is not advertised.
BGP and BGP4+ Introduction How to redistribute the default network 0.0.0.0 By default, you are not allowed to redistribute network 0.0.0.0. To permit the redistribution of network 0.0.0.0, use the following command in Router Configuration or Address Family Configuration modes: awplus(config-router)# neighbor {} This command allows the redistribution of the default network default-originate [route-map 0.0.0.0 into BGP from the Router Configuration mode.
BGP and BGP4+ Introduction How to adjust the eBGP advertisement interval eBGP 30 second advertisement interval AS200 2001:db8::80:1 AS300 2001:db8::80:2 Router 1 Router 2 Router ID 10.10.10.11 Router ID 10.10.10.12 intro_bgp4+_3.eps When a route advertised by BGP changes, BGP sends an Update message. If an advertised route is flapping, and becomes unavailable. Route flapping is often caused when an interface is unstable, and a flood of Update messages will occur.
BGP and BGP4+ Introduction How to adjust the AS origination interval AS1000 Peer 1 10.10.9.1 Peer 2 iBGP 15 second advertisement interval with prefixes in the same AS 10.10.7.3 Peer 3 intro_bgp_5 With the default value of 15 seconds for iBGP neighbors with a prefix in the same AS, BGP routing updates are sent only every 15 seconds, even if a route is flapping many times during this 15 second interval.
BGP and BGP4+ Introduction How to remove private AS numbers for BGP There are public and private AS numbers, in the same way there are public and private IP addresses. Like the private IP addresses that you cannot send to the Internet, you cannot send private AS numbers to the Internet. This functionality enables you to remove them. Public AS numbers range from 1 to 64,511. Private AS numbers range for 64,512 and 65,535. Private AS numbers are used to divide large ASs into smaller multiple ASs for eBGP.
BGP and BGP4+ Introduction How to remove BGP filtering for private AS numbers Remove BGP filtering for private AS numbers using the no neighbor remove-private-AS command. See this example from Router Configuration mode: awplus# configure terminal awplus(config)# router bgp 5 awplus(config-router)# no neighbor 192.168.0.2 remove-private-AS If the AS path attribute command is removed from the Router 2 BGP configuration, then the private AS is correctly not filtered.
BGP and BGP4+ Introduction How to apply BGP filtering for private AS numbers Apply BGP filtering for private AS numbers using the neighbor remove-private-AS command. See this example from Router Configuration mode: awplus# configure terminal awplus(config)# router bgp 5 awplus(config-router)# neighbor 192.168.0.2 remove-private-AS If the non-default AS path attribute command is applied to the Router 2 BGP configuration then the private AS is correctly filtered.
BGP and BGP4+ Introduction BGP and BGP4+ Terminology See the below table for descriptions of BGP and BGP4+ terms used through this chapter: Term Description AS number (ASN) A number that identifies an Autonomous System. Previously, an ASN was a 16-bit number between 1 and 64,511 (public) and 64,512 and 65,535 (private) assigned to an AS for the purpose of BGP operation. Since RFC 6793, an ASN is now 32-bit with a range of decimal values between 1 and 4,294,967,295 .
BGP and BGP4+ Introduction Term Description CIDR Classless Inter-Domain Routing. A routing method supported by BGP that is based on route aggregation. CIDR allows router to group routes together to cut down on the amount of routing information carried by routers. Several IP networks appear as a single network to networks outside of those grouped together. External BGP (eBGP) Refers to how a router views a BGP peer relationship, where the peer is in another AS (Autonomous System).
BGP and BGP4+ Introduction Term Description route map Enables logic to be applied to a set of items. Often used for decisions about what routes to redistribute and for setting characteristics of those routes, for instance, metric values. route redistribution The process of taking routes known through one routing protocol and advertising those routes with another routing protocol. route summarization A consolidation of advertised addresses that causes a single summary route to be advertised.
Chapter 2: BGP and BGP4+ Configuration Introduction ................................................................................................................................................2.2 BGP Configurations ..................................................................................................................................2.3 Enabling BGP Peers In The Same Autonomous System ......................................................2.
BGP and BGP4+ Configuration Introduction This chapter contains basic BGP and BGP4+ configuration examples. For details about the commands used in these examples, or the outputs from validation commands, see Chapter 3, BGP and BGP4+ Commands . This chapter provides an alphabetical reference of commands used to configure the Border Gateway Protocol for IPv4 (BGP) and for IPv6 (BGP4+).
BGP and BGP4+ Configuration BGP Configurations Enabling BGP Peers In The Same Autonomous System This example shows the minimum configuration required for enabling BGP on an interface. Peer 1 and Peer 2 are two BGP Peers belonging to the same Autonomous System (AS), AS200, connecting to network 10.10.10.0/24. First, define the routing process and the AS number to which the peers belong. Then, define BGP neighbors to start exchanging routing updates. 10.10.10.10 10.10.10.
BGP and BGP4+ Configuration Validation Commands show ip bgp summary (BGP) show ip bgp neighbors (BGP) Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches 2.4 AlliedWare PlusTM Operating System - Software Version 5.4.3-2.
BGP and BGP4+ Configuration Enabling BGP Between Different Autonomous Systems This example shows the minimum configuration required for enabling BGP on an interface when the BGP peers belong to different Autonomous Systems (ASs). Peer 1 and Peer 2 are two BGP peers in different ASs, AS200 and AS300 connecting to network 10.10.10.0/24. AS200 10.10.10.10 AS300 10.10.10.11 Peer 1 Peer 2 bgp_2 Peer 1 awplus# configure terminal Enter the Global Configuration mode.
BGP and BGP4+ Configuration Configuring a BGP Route Reflector Use a BGP Route Reflector to reduce the iBGP mesh inside an AS. In this example, Peer 2, Peer 5 and Peer 4 would have to maintain a full mesh among themselves but by making Peer 5 the Route Reflector, Peer 2 (Client1) has an iBGP session with the Route Reflector only and not with Peer 4 (Client 2).
BGP and BGP4+ Configuration awplus(config-router)# neighbor 10.10.11.50 route-reflector Configure Peer 5 as the Route-Reflector (RR) and client neighbor Peer 4 as its client. Route Reflector Client 1 (Peer 2) awplus(config)# router bgp 1 Define the BGP routing process. The number 1 specifies the AS number of Peer 2. awplus(config-router)# neighbor 10.10.10.10 remote-as 1 Define BGP neighbors. 10.10.10.10 is the IP address of the neighbor (Peer 5) and 1 is the neighbor’s AS number.
BGP and BGP4+ Configuration Configuring a BGP Confederation In this example, AS1 contains three Confederation Autonomous Systems - AS 1000, AS 1001 and AS 1002. To any outside AS, the Confederation is a single AS. AS1 Confederation eBGP is run between Peer 2 and Peer 5, and between Peer 5 and Peer 7. Peer 2 is configured so that its local AS is 1000. Its peer connection to Peer 5 is set up like any other eBGP session. The bgp confederation identifier (BGP and BGP4+) command on page 3.
BGP and BGP4+ Configuration Peer 2 (cont’d) awplus(config-router)# neighbor 10.10.10.5 remote-as 1001 Define BGP neighbors for Peer 2 by specifying the IP awplus(config-router)# addresses and the AS numbers of neighbors. neighbor 10.10.9.1 remote-as 1000 awplus(config-router)# neighbor 10.10.7.3 remote-as 1000 Peer 5 awplus(config)# router bgp 1001 Define the BGP routing process. The number 1001 specifies the AS number of Peer 5.
BGP and BGP4+ Configuration Peer 7 awplus(config)# router bgp 1002 Define the BGP routing process. The number 1001 specifies the AS number of Peer 5. awplus(config-router)# bgp confederation identifier 1 Specify a BGP Confederation Identifier. To routers outside the confederation, the whole confederation will appear as a single AS, and the identifier will appear as its AS number.
BGP and BGP4+ Configuration Configuring BGP Authentication BGP authentication allows users to receive selected routing information, enhancing security of their network traffic. When BGP authentication is enabled on a peer, the peer verifies routing packet it receives by exchanging a password that is configured on both the sending and the receiving peers. In this example, both Peer 1 and Peer 2 have manager as the password.
BGP and BGP4+ Configuration Names of Commands Used neighbor remote-as (BGP and BGP4+) neighbor password (BGP and BGP4+) Validation Commands show ip bgp (BGP) show ip bgp neighbors (BGP) Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches 2.12 AlliedWare PlusTM Operating System - Software Version 5.4.3-2.
BGP and BGP4+ Configuration Configuring BGP Graceful Reset The graceful restart feature for BGP session reset is used so that any changes in network configuration do not affect packet forwarding. The bgp graceful-restart graceful-reset (BGP and BGP4+) command on page 3.33 invokes graceful restart only when a configuration change forces a peer reset. This example shows configuring BGP graceful reset. AS100 AS200 1.1.1.1 1.1.1.
BGP and BGP4+ Configuration Peer 2 awplus(config)# configure terminal Enter the Global Configuration mode. awplus(config-router)# router bgp 200 Define the BGP routing process. The number 200 specifies the AS number of Peer 2. awplus(config-router)# bgp graceful-restart Enable BGP graceful restart support. awplus(config-router)# bgp graceful-restart graceful-reset Configure to invoke graceful restart when a configuration change forces a peer reset. awplus(config-router)# neighbor 1.1.1.
BGP and BGP4+ Configuration Configuring BGP Distance You can configure administrative distance in BGP for a specific address family. This example shows configuring the BGP distance for the IPv4 Address Family. AS100 AS100 10.10.10.10 AS200 10.10.10.30 10.10.10.20 Router 1 10.10.10.40 Router 2 172.16.10.10/24 Router 3 192.168.10.20/24 bgp_distance Router 1 awplus(config)# configure terminal Enter the Global Configuration mode. awplus(config-router)# router bgp 100 Define the BGP routing process.
BGP and BGP4+ Configuration Router 2 awplus(config)# configure terminal Enter the Global Configuration mode. awplus(config-router)# router bgp 100 Define the BGP routing process. The number 100 specifies the AS number of Router 2. awplus(config-router)# neighbor 10.10.10.40 remote-as 200 Specify the neighbor’s IPv4 address (10.10.10.40) and Autonomous System (AS) number (200). Router 3 is a neighbor of Router 2. awplus(config-router)# neighbor 10.10.10.
BGP and BGP4+ Configuration Router 3 awplus(config)# configure terminal Enter the Global Configuration mode. awplus(config-router)# router bgp 200 Define the BGP routing process. The number 200 specifies the AS number of Router 3. awplus(config-router)# network 192.168.10.20/24 Specify the network 192.168.10.20/24 to be advertised by the BGP4+ routing process from Router 3 to Router 2. awplus(config-router)# neighbor 10.10.10.30 remote-as 100 Specify the neighbor’s IPv4 address (10.10.10.
BGP and BGP4+ Configuration Configuring BGP Graceful Restart Using BGP graceful restart, the data forwarding plane of the device can continue to process and forward packets even if the control plane, which is responsible for determining best paths, fails. The bgp graceful-restart (BGP and BGP4+) command on page 3.32 sets the maximum time that a graceful-restart neighbor waits to come back up after a restart.
BGP and BGP4+ Configuration Peer 2 awplus(config)# configure terminal Enter the Global Configuration mode. awplus(config-router)# router bgp 200 Define the routing process. The number 200 specifies the AS number of Peer 2. awplus(config-router)# bgp graceful-restart Enable BGP graceful restart support. If the restart and stale-path timers are not configured, the defaults are 90 seconds and 360 seconds, respectively. awplus(config-router)# neighbor 1.1.1.
BGP and BGP4+ Configuration Configuring BGP Weight per Peer You can assign a different weight per address family of a peer. For example, a network can be configured to prefer IPv6 routes from one peer and IPv4 routes from another peer. If the neighbor weight command is given under a specific address family mode, then the peer weight is set for that specific address family. If the address family is not specifically set first, then the weight is updated for the default address family instead.
BGP and BGP4+ Configuration Router 21 awplus(config)# configure terminal Enter the Global Configuration mode. awplus(config-router)# router bgp 200 Define the BGP routing process. The number 200 specifies the AS number of Router 2. awplus(config-router)# address-family ipv4 unicast Enter the IPv4 Address Family Configuration mode from the Global Configuration mode. awplus(config-router-af)# neighbor 10.10.10.10 remote-as 100 Specify the neighbor’s IPv4 address (10.10.10.
BGP and BGP4+ Configuration Router 31 awplus(config)# configure terminal Enter the Global Configuration mode. awplus(config-router)# router bgp 300 Define the BGP routing process. The number 300 specifies the AS number of Router 3. awplus(config-router)# address-family ipv4 unicast Enter the IPv4 Address Family Configuration mode from the Global Configuration mode.
BGP and BGP4+ Configuration BGP4+ Configurations Enabling iBGP Peering using a Global Address This example shows the minimum configuration required for enabling iBGP on a VLAN interface. Router 1 and Router 2 are BGP4+ Peers in in the same Autonomous System (AS), 200, connected to network 2001:db8::/48. First, specify an IPv6 global address, then define the AS number for the routers. Next, configure a Router ID, then define BGP4+ neighbors to start exchanging routing updates.
BGP and BGP4+ Configuration awplus(config-router# neighbor 2001:db8::11 remote- Define BGP4+ neighbor Router 2, and establish a TCP session by as 200 specifying the global unicast IPv6 address (2001:db8::11) and the AS number (200) of neighbor Router 2. awplus(config-router)# address-family ipv6 Enter IPv6 Address Family Configuration mode for configuring routing sessions that use IPv6 address prefixes.
BGP and BGP4+ Configuration awplus(config-router# neighbor 2001:db8::10 remote-as 200 Define BGP4+ neighbor Router 1, and establish a TCP session by specifying the global IPv6 address (2001:db8::10) and the AS number (200) of neighbor Router 1. awplus(config-router)# address-family ipv6 Enter IPv6 Address Family Configuration mode for configuring routing sessions that use IPv6 address prefixes.
BGP and BGP4+ Configuration Enabling iBGP Peering using a Link-local Address This example shows the minimum configuration required for enabling iBGP on a VLAN interface. Router 1 and Router 2 are BGP4+ Peers in in the same Autonomous System (AS), 200, connected to link local network fe80::/10. First, define the BGP4+ routing process, then define the AS number for the routers. Next, configure a Router ID for the BGP4+ routing process, then define BGP4+ neighbors to start exchanging routing updates.
BGP and BGP4+ Configuration awplus(config-router# neighbor fe80::2 interface Specify a link-local neighbor, and configure the interface name of vlan1 the neighbor (fe80::2). awplus(config-router)# address-family ipv6 Enter IPv6 Address Family Configuration mode for configuring routing sessions that use IPv6 address prefixes.
BGP and BGP4+ Configuration awplus(config-router# neighbor fe80::1 interface vlan2 Specify a link-local neighbor, and configure the interface name of the neighbor (fe80::1). awplus(config-router)# address-family ipv6 Enter IPv6 Address Family Configuration mode for configuring routing sessions that use IPv6 address prefixes.
BGP and BGP4+ Configuration Enabling eBGP Peering between different Autonomous Systems This example shows the minimum configuration required to enable eBGP on a VLAN interface, when the routers belong to different Autonomous Systems. Router 1 and Router 2 are two routers in different Autonomous Systems, 200 and 300, connecting to network 2001:db8::/64. AS200 AS300 2001:db8::80:1 2001:db8::80:2 Router 1 Router 2 Router ID 10.10.10.11 Router ID 10.10.10.
BGP and BGP4+ Configuration Router 2 awplus# configure terminal Enter the Global Configuration mode. awplus(config)# router bgp 300 Define the BGP4+ routing process. The number 300 specifies the AS number of Router 2. awplus(config-router)# bgp router-id 10.10.10.12 Configure a fixed Router ID (10.10.10.12) for the BGP4+ routing process.
BGP and BGP4+ Configuration Configuring Route-Maps with BGP4+ Use route-maps to filter incoming updates from a BGP4+ peer. In this example, a prefix-list named list1 on Router 1 is configured to deny entry of any routes with the IPv6 address 2001::db8:12::/48. To test the route-map filter , Router 2 is configured to advertise IPv6 network prefixes 2001:db8:11::/48 and 2001:db8:12::/48.
BGP and BGP4+ Configuration awplus(config-router-map)# exit Exit the Route-map Configuration mode and return to the Global Configuration mode. awplus(config)# router bgp 10 Define the routing process, where 10 is the Autonomous System (AS) number for Router 1. awplus(config-router)# bgp router-id 192.168.10.10 Configure a fixed Router ID (192.168.10.10) for the BGP4+ routing process.
BGP and BGP4+ Configuration Router 2 awplus# configure terminal Enter the Global Configuration mode. awplus(config)# router bgp 11 Define the BGP4+ routing process. The number 11 specifies the Autonomous System (AS) number of Router 2. awplus(config-router)# bgp router-id 192.168.10.11 Configure a fixed Router ID (192.168.10.11) for the BGP4+ routing process.
BGP and BGP4+ Configuration Names of Commands Used address-family (BGP and BGP4+) bgp router-id (BGP and BGP4+) exit-address-family (BGP and BGP4+) network (BGP and BGP4+) neighbor activate (BGP and BGP4+) neighbor remote-as (BGP and BGP4+) neighbor route-map (BGP and BGP4+) router bgp (BGP and BGP4+) Validation Commands show bgp ipv6 (BGP4+) show bgp ipv6 neighbors (BGP4+) show bgp ipv6 summary (BGP4+) Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches 2.
BGP and BGP4+ Configuration Configuring BGP4+ Graceful Restart Using BGP4+ graceful restart, the data forwarding plane of the device can continue to process and forward packets even if the control plane, which is responsible for determining best paths, fails. The bgp graceful-restart (BGP and BGP4+) command on page 3.32 sets the maximum time that a graceful-restart neighbor waits to come back up after a restart.
BGP and BGP4+ Configuration Router 1 awplus(config)# configure terminal Enter the Global Configuration mode. awplus(config-router)# router bgp 100 Define the BGP4+ routing process. The number 100 specifies the AS number of Router 1. awplus(config-router)# bgp router-id 192.168.10.10 Configure a fixed Router ID (192.168.10.10) for the BGP4+ routing process. awplus(config-router)# bgp graceful-restart Enable BGP4+ graceful restart support.
BGP and BGP4+ Configuration Router 2 awplus(config)# configure terminal Enter the Global Configuration mode. awplus(config-router)# router bgp 200 Define the BGP4+ routing process. The number 200 specifies the AS number of Router 2. awplus(config-router)# bgp router-id 192.168.10.11 Configure a fixed Router ID (192.168.10.11) for the BGP4+ routing process. awplus(config-router)# bgp graceful-restart Enable BGP4+ graceful restart support.
BGP and BGP4+ Configuration awplus(config-router)# address-family ipv6 unicast Exchange the IPv6 capabilities, and move from Router Configuration mode to IPv6 Address Family Configuration mode. Activate the exchange of information to the peer neighbor 2001:db8::10:10 activate (neighbor) with the global unicast IPv6 address (2001:db8::10:10) (Router 1). Note that other information apart from prefixes is sent in updates. This command activates the exchange of information for the peer defined.
BGP and BGP4+ Configuration Configuring BGP4+ Distance You can configure administrative distance in BGP4+ for a specific address family. This example shows configuring the BGP4+ distance for the IPv6 Address Family. AS100 AS100 2001:db8::121 AS200 2001:db8::114 2001:db8::120 Router 1 2001:db8::115 Router 2 2001:db8:132::/64 Router 3 2001:db8:99::/64 bgp4+_distance Router 1 awplus(config)# configure terminal Enter the Global Configuration mode.
BGP and BGP4+ Configuration awplus(config-router)# neighbor 2001:db8::120 remote-as Specify the neighbor’s IPv6 address (2001:db::120) 100 and Autonomous System (AS) number (100). Router 2 is the neighbor of Router 1. This command defines BGP neighbor Router 2, and establishes a TCP session by specifying the global unicast IPv6 address and the AS number of the neighbor. awplus(config-router)# address-family ipv6 unicast Enter the IPv6 Address Family Configuration mode from the Global Configuration mode.
BGP and BGP4+ Configuration awplus(config-router-af)# aggregate-address 2001:db8::102/64 Configure an IPv6 non-AS-set aggregate route on Router summary-only 2. Note that the local distance gets applied to this route. Activate the exchange of information to the peer neighbor 2001:db8::121 activate (neighbor) with the global unicast IPv6 address 2001:db::121 for Router 1. Note that other information apart from prefixes is sent in updates.
BGP and BGP4+ Configuration Router 3 awplus(config)# configure terminal Enter the Global Configuration mode. awplus(config-router)# router bgp 200 Define the BGP4+ routing process. The number 100 specifies the AS number of Router 3. awplus(config-router)# network 2001:db8:99::/64 Specify the network 2001:db8:99::/64 to be advertised by the BGP4+ routing process from Router 3 to Router 2.
BGP and BGP4+ Configuration Configuring BGP4+ Graceful Reset The graceful restart feature for BGP4+ session reset is used so that any changes in network configuration do not affect packet forwarding. The bgp graceful-restart graceful-reset (BGP and BGP4+) command on page 3.33 invokes graceful restart only when a configuration change forces a peer reset. This example shows configuring BGP4+ graceful reset. AS100 AS200 2001:db8::119 2001:db8::120 Router 1 Router ID 192.168.10.10 Router 2 Router ID 192.
BGP and BGP4+ Configuration awplus(config-router)# address-family ipv6 unicast Enter the IPv6 Address Family Configuration mode from the Global Configuration mode. Activate the exchange of information to the peer neighbor 2001:db8::120 activate (neighbor) with the IPv6 address 2001:db::120 for Router 2. Note that other information apart from prefixes is sent in updates. This command activates the exchange of information for the peer defined.
BGP and BGP4+ Configuration awplus(config-router)# address-family ipv6 unicast Enter the IPv6 Address Family Configuration mode from the Global Configuration mode. Activate the exchange of information to the peer neighbor 2001:db8::119 activate (neighbor) with the global unicast IPv6 address 2001:db::119 for Router 1. Note that other information apart from prefixes is sent in updates. This command activates the exchange of information for the peer defined.
BGP and BGP4+ Configuration Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches 2.46 AlliedWare PlusTM Operating System - Software Version 5.4.3-2.
Chapter 3: BGP and BGP4+ Commands Introduction ...........................................................................................................................................3.5 Controlling “show” Command Output.........................................................................................3.6 Command List .......................................................................................................................................3.8 address-family (BGP and BGP4+)............
BGP and BGP4+ Commands clear ip bgp external (BGP) ............................................................................................................ 3.55 clear ip bgp peer-group (BGP)...................................................................................................... 3.56 clear bgp ipv6 (ipv6 address) (BGP4+) ...................................................................................... 3.57 clear bgp ipv6 dampening (BGP4+)...............................................
BGP and BGP4+ Commands neighbor soft-reconfiguration inbound (BGP and BGP4+) .............................................3.172 neighbor timers (BGP and BGP4+)............................................................................................3.175 neighbor transparent-as (BGP and BGP4+) ...........................................................................3.178 neighbor transparent-nexthop (BGP and BGP4+) ..............................................................3.
BGP and BGP4+ Commands show ip bgp regexp (BGP) ...........................................................................................................3.241 show ip bgp route-map (BGP)....................................................................................................3.242 show ip bgp scan (BGP) ................................................................................................................3.243 show ip bgp summary (BGP)...................................................
BGP and BGP4+ Commands Introduction This chapter provides an alphabetical reference of commands used to configure the Border Gateway Protocol for IPv4 (BGP) and for IPv6 (BGP4+). For basic BGP and BGP4+ introduction information, including terminology and concepts about BGP and BGP4+, including the concept of autonomous system numbers (ASN), path attributes (PA), and both internal and external BGP/BGP4+, see Chapter 1, BGP and BGP4+ Introduction.
BGP and BGP4+ Commands Controlling “show” Command Output You can control the output of show commands by using the | and > or >> tokens in the following ways: ■ To display only part of the output, follow the command with | and then other keywords (see Output Modifiers below) ■ To save the output to a file, follow the command with > filename ■ To append the output to an existing file, follow the command with >> filename Using the ? after typing the show command displays the following information about
BGP and BGP4+ Commands Exclude The exclude parameter excludes all lines of output that contain the input string. In the following output all lines containing the word “input” are excluded: awplus# show interface vlan1 | exclude input Interface vlan1 Scope: both Hardware is Ethernet, address is 192.168.14.
BGP and BGP4+ Commands Command List address-family (BGP and BGP4+) This command enters the IPv4 or IPv6 Address-Family Configuration command mode. In this mode you can configure address-family specific parameters. When using VRF-Lite, you can enter IPv4 Address Family Configuration mode for a specified VRF instance before configuring that instance.
BGP and BGP4+ Commands Example [BGP4+] awplus# configure terminal awplus(config)# router bgp 100 awplus(config-router)# neighbor 2001:0db8:010d::1 remote-as 100 awplus(config-router)# address-family ipv6 awplus(config-router-af)# neighbor 2001:0db8:010d::1 activate awplus(config-router-af)# exit-address-family awplus(config-router)# Related Commands exit-address-family (BGP and BGP4+) Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches C613-50032-01 REV D AlliedWa
BGP and BGP4+ Commands aggregate-address (BGP and BGP4+) This command adds an aggregate route that can be advertised to BGP or BGP4+ neighbors. This command creates an aggregate entry in the BGP or BGP4+ routing table if the switch learns, by any means, any routes that are within the range configured by the aggregate address/mask. When this command is used with the summary-only option, the more-specific routes of the aggregate are suppressed to all neighbors.
BGP and BGP4+ Commands The as-set parameter controls the AS-path attribute that is advertised with the aggregate route. If the switch has learnt multiple routes that are within the range of the aggregate address/mask, and the AS-paths associated with those routes contain different sets of AS-numbers, then it is not possible to create a single AS-path that accurately represents the AS-paths of all those component routes. In this case, the switch will, by default, advertise a NULL AS-path with the aggregate.
BGP and BGP4+ Commands Examples [BGP4+] awplus# configure terminal awplus(config)# router bgp 100 awplus(config-router)# address family ipv6 awplus(config-router-af)# aggregate-address 2001:0db8::/64 as-set summary-only awplus# configure terminal awplus(config)# router bgp 100 awplus(config-router)# address family ipv6 awplus(config-router-af)# no aggregate-address 2001:0db8::/64 as-set summary-only Related Commands aggregate-address (BGP and BGP4+) match as-path (Route Map) auto-summary (BGP) Use thi
BGP and BGP4+ Commands The following example disables auto-summary in Router Configuration mode: awplus# configure terminal awplus(config)# router bgp 100 awplus(config-router)# no auto-summary The following example enables auto-summary in Address Family IPv4 mode: awplus# configure terminal awplus(config)# router bgp 100 awplus(config-router)# address-family ipv4 awplus(config-router-af)# auto-summary The following example disables auto-summary in Address Family IPv4 mode: awplus# configure terminal awp
BGP and BGP4+ Commands bgp always-compare-med (BGP and BGP4+) This command enables BGP to compare the Multi Exit Discriminator (MED) for paths from neighbors in different autonomous systems. Multi Exit Discriminator (MED) is used in best path selection by BGP. MED is compared after BGP attributes weight, local preference, AS-path and origin have been compared and are equal. By default, MED comparison is done only among routes from the same autonomous system (AS).
BGP and BGP4+ Commands bgp bestpath as-path ignore (BGP and BGP4+) This command prevents the router from considering as-path as a factor in the algorithm for choosing a route. The no variant of this command allows the router to consider as-path in choosing a route.
BGP and BGP4+ Commands bgp bestpath compare-routerid (BGP and BGP4+) By default, when comparing similar routes from peers, BGP does not consider the router ID of neighbors advertising the routes - BGP simply selects the first received route. Use this command to include router ID in the selection process; similar routes are compared and the route with the lowest router ID is selected.
BGP and BGP4+ Commands bgp bestpath med (BGP and BGP4+) This command controls how the Multi Exit Discriminator (MED) attribute comparison is performed. Use the no variant of this command to prevent BGP from considering the MED attribute when comparing paths. Syntax bgp bestpath med {[confed] [missing-as-worst]} Parameter Description confed Compares MED among confederation paths. missing-as-worst Treats missing MED as the least preferred one.
BGP and BGP4+ Commands bgp bestpath med remove-recv-med (BGP and BGP4+) This command removes the Multi Exit Discriminator (MED) attribute from the update messages received by the BGP speaker from its peers. However, the local BGP speaker will send MED attributes in the update messages to its peers, unless specified not to by the bgp bestpath med remove-send-med command. Use the no variant of this command to disable this feature.
BGP and BGP4+ Commands bgp client-to-client reflection (BGP and BGP4+) This command restores route reflection from a BGP route reflector to clients, and is used to configure routers as route reflectors. Route reflectors are used when all Interior Border Gateway Protocol (iBGP) speakers are not fully meshed. If the clients are fully meshed the route reflector is not required, use the no variant of this command to disable the client-to-client route reflection.
BGP and BGP4+ Commands bgp cluster-id (BGP and BGP4+) This command configures the cluster-id if the BGP cluster has more than one route reflector. A cluster includes one or more route reflectors and their clients. Usually, each cluster is identified by the router-id of its single route reflector. However, to increase redundancy, a cluster may sometimes have more than one route reflector. All router reflectors in such a cluster are then identified by a cluster-id.
BGP and BGP4+ Commands To remove a bgp cluster-id apply the example commands as shown below: awplus# configure terminal awplus(config)# router bgp 100 awplus(config-router)# no bgp cluster-id 10.10.1.1 Related Commands bgp client-to-client reflection (BGP and BGP4+) neighbor route-reflector-client (BGP) show bgp ipv6 (BGP4+) show ip bgp (BGP) bgp confederation identifier (BGP and BGP4+) This command specifies a BGP confederation identifier.
BGP and BGP4+ Commands bgp confederation peers (BGP and BGP4+) This command configures the Autonomous Systems (AS) that belong to the same confederation as the current switch. A confederation allows an AS to be divided into several sub-ASs. The overall AS is given a confederation identifier. External routers view only the whole confederation as one AS, whose AS number is the confederation identifier. Each sub-AS is fully meshed within itself and is visible internally to the confederation.
BGP and BGP4+ Commands Example awplus# configure terminal awplus(config)# router bgp 100 awplus(config-router)# bgp confederation peers 1234 Related Commands bgp confederation identifier (BGP and BGP4+) Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches C613-50032-01 REV D AlliedWare PlusTM Operating System - Software Version 5.4.3-2.6 3.
BGP and BGP4+ Commands bgp config-type (BGP and BGP4+) Use this command to set the BGP configuration type to either standard or enhanced types. When you configure the enhanced type, then BGP and BGP4+ communities are allowed to be sent and received by default. The enhanced type is configured by default. Use the no variant of this command to restore the default BGP configuration type (enhanced).
BGP and BGP4+ Commands To restore the default BGP configuration type (enhanced), enter the following commands: awplus# configure terminal awplus(config)# no bgp config-type Related Commands neighbor send-community (BGP and BGP4+) synchronization (BGP and BGP4+) Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches C613-50032-01 REV D AlliedWare PlusTM Operating System - Software Version 5.4.3-2.6 3.
BGP and BGP4+ Commands bgp dampening (BGP and BGP4+) This command enables BGP and BGP4+ dampening and sets BGP and BGP4+ dampening parameters. BGP4+ dampening is available from the IPv6 Address Family Configuration mode. BGP dampening is available from the Router Configuration mode. The no variant of this command disables BGP dampening or unsets the BGP dampening parameters.
BGP and BGP4+ Commands Usage [BGP/BGP4+] Route dampening minimizes the instability caused by route flapping. A penalty is added for every flap in a flapping route. As soon as the total penalty reaches the suppress limit the advertisement of the route is suppressed. This penalty is decayed according to the configured half time value. Once the penalty is lower than the reuse limit, the route advertisement is un-suppressed.
BGP and BGP4+ Commands bgp default local-preference (BGP) This command changes the default local preference value. The local preference indicates the preferred path when there are multiple paths to the same destination. The path with the higher preference is preferred. Use this command to define the default local preference value that the switch will advertise for the routes it sends. The preference is sent to all routers and access servers in the local autonomous system.
BGP and BGP4+ Commands bgp deterministic-med (BGP and BGP4+) Use this command to allow or disallow the switch to compare the Multi Exit Discriminator (MED) variable when choosing among routes advertised by different peers in the same autonomous system (AS). Use the bgp deterministic-med command to enable this feature to allow the comparison of MED variables when choosing among routes advertised by different peers in the same AS.
BGP and BGP4+ Commands All routers in an AS should have the same setting for BGP deterministic-MED. All routers in an AS should have BGP deterministic-MED enabled with bgp deterministic-med, or all routers in an AS should have BGP deterministic-MED disabled with no bgp-deterministicmed. In the example above, the MED values were not considered when comparing the winners of the two groups (the best routes from the different ASs).
BGP and BGP4+ Commands bgp fast-external-failover (BGP and BGP4+) Use this command to reset a BGP session immediately if the interface used for BGP connection goes down. Use the no variant of this command to disable this feature.
BGP and BGP4+ Commands bgp graceful-restart (BGP and BGP4+) Use this command to enable BGP and BGP4+ graceful-restart capabilities for restart and stalepath times. Use the no variant of this command to restore restart timers to their default settings. Syntax bgp graceful-restart [restart-time |stalepath-time ] no bgp graceful-restart [restart-time|stalepath-time] Parameter Description restart-time The maximum time needed for neighbors to restart, in seconds.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# bgp graceful-restart restart-time 150 awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no bgp graceful-restart restart-time 150 Related Commands bgp graceful-restart graceful-reset (BGP and BGP4+) restart bgp graceful (BGP) bgp graceful-restart graceful-reset (BGP and BGP4+) This command enables BGP and BGP4+ graceful-restart when a configuration change forces a peer res
BGP and BGP4+ Commands bgp log-neighbor-changes (BGP and BGP4+) Use this command to enable logging of status change messages without turning on debug bgp commands. Use the no variant of this command to disable this feature.
BGP and BGP4+ Commands Example [BGP/BGP4+] To enable the logging of BGP status changes without using the debug bgp command: awplus# configure terminal awplus(config)# router bgp 100 awplus(config-router)# bgp log-neighbor-changes Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches C613-50032-01 REV D AlliedWare PlusTM Operating System - Software Version 5.4.3-2.6 3.
BGP and BGP4+ Commands bgp memory maxallocation (BGP and BGP4+) This command allocates a maximum percentage of the RAM (Random Access Memory) available on the switch for BGP processes. When this percentage is exceeded, BGP peering terminates and an out of resources error displays. The default setting for bgp memory maxallocation is 100% memory allocation. Use the no variant of this command to reset memory allocation to the default.
BGP and BGP4+ Commands bgp nexthop-trigger-count (BGP and BGP4+) Use this command to configure the display of BGP nexthop-tracking status. Use the no variant of this command to disable this function. Syntax [BGP/BGP4+] bgp nexthop-trigger-count <0-127> no bgp nexthop-trigger-count Mode [BGP/BGP4+] Example [BGP/BGP4+] Parameter Description <0-127> BGP nexthop-tracking status.
BGP and BGP4+ Commands bgp nexthop-trigger delay (BGP and BGP4+) Use this command to set the delay interval for nexthop address tracking. Use the no variant of this command to reset the timer value to the default. Syntax [BGP/BGP4+] bgp nexthop-trigger delay <1-100> no bgp nexthop-trigger delay Default [BGP/BGP4+] Parameter Description <1-100> Nexthop trigger delay interval in seconds. The default nexthop delay interval is 5 seconds.
BGP and BGP4+ Commands bgp nexthop-trigger enable (BGP and BGP4+) Use this command to enable nexthop address tracking. If nexthop address tracking is enabled and a nexthop trigger delay interval has not been explicitly set with the bgp nexthop-trigger delay (BGP and BGP4+) command on page 3.38, the default delay interval of 5 seconds is used. Use the no variant of this command to disable this feature.
BGP and BGP4+ Commands bgp rfc1771-path-select (BGP) Use this command to set the RFC1771 compatible path selection mechanism. Use the no variant of this command to revert this setting. Syntax bgp rfc1771-path-select no bgp rfc1771-path-select Default Mode Industry standard compatible path selection mechanism. Global Configuration Example awplus# configure terminal awplus(config)# bgp rfc1771-path-select bgp rfc1771-strict (BGP) Use this command to set the Strict RFC1771 setting.
BGP and BGP4+ Commands bgp router-id (BGP and BGP4+) Use this command to configure the router identifier. The IPv4 address specified in this command does not have to be an IPv4 address that is configured on any of the interfaces on the switch. Note that you must specify an IPv4 address with this when used for BGP4+. Use the no variant of this command to return the router-id to its default value (as described in Default below).
BGP and BGP4+ Commands bgp scan-time (BGP) Use this command to set the interval for BGP route next-hop scanning. Use the no variant of this command to disable this function. Syntax bgp scan-time
BGP and BGP4+ Commands bgp update-delay (BGP and BGP4+) Use this command to specify the update-delay value for a graceful-restart capable router. Use the no variant of this command to revert to the default update-delay value. Syntax [BGP/BGP4+] bgp update-delay <1-3600> no bgp update-delay [<1-3600>] Default [BGP/BGP4+] Parameter Description <1-3600> Delay value in seconds. The default update-delay value is 120 seconds.
BGP and BGP4+ Commands clear bgp * (BGP and BGP4+) Use this command to reset the BGP and BGP4+ connections for all peers. Syntax clear bgp * clear bgp * in [prefix-filter] clear bgp * out clear bgp * soft [in|out] Mode Parameter Description * Clears all BGP and BGP4+ peers. in Indicates that incoming advertised routes will be cleared. prefix-filter Specifies that a prefix-list will be sent, by the ORF mechanism, to those neighbors with which the ORF capability has been negotiated.
BGP and BGP4+ Commands clear bgp (IPv4 or IPv6 address) (BGP and BGP4+) Use this command to reset the BGP and BGP4+ connections for specified peers. When VRF-Lite is configured, you can apply this command to a specific VRF instance. This command resets all BGP connections from any address family (from either IPv4 or IPv6 Address Families).
BGP and BGP4+ Commands Examples [BGP] awplus# clear bgp 3.3.3.3 soft in prefix-filter awplus# clear bgp 2.2.2.2 out To apply the above example to clear the BGP connection to peer at IP address 192.0.2.11for the VRF instance blue, use the following commands: awplus# clear bgp 192.0.2.
BGP and BGP4+ Commands clear bgp (ASN) (BGP and BGP4+) Use this command to reset the BGP and BGP4+ connections for peers in the specified Autonomous System Number (ASN). Syntax [BGP/BGP4+] clear bgp [in [prefix-filter]|out|soft [in|out]] Parameter Description <1-4294967295> The AS Number for which all routes will be cleared. Mode [BGP/BGP4+] Examples [BGP/BGP4+] in Indicates that incoming advertised routes will be cleared.
BGP and BGP4+ Commands clear bgp external (BGP and BGP4+) Use this command to reset the BGP and BGP4+ connections for all external peers. Syntax [BGP/BGP4+] Mode [BGP/BGP4+] Examples [BGP/BGP4+] clear bgp external [in [prefix-filter]|out|soft [in|out]] Parameter Description external Clears all external peers. in Indicates that incoming advertised routes will be cleared.
BGP and BGP4+ Commands clear bgp peer-group (BGP and BGP4+) Use this command to reset the BGP and BGP4+ connections for all members of a peer group. Syntax [BGP/BGP4+] Mode [BGP/BGP4+] Examples [BGP/BGP4+] clear bgp peer-group [in [prefix-filter]|out|soft [in|out]] Parameter Description peer-group Clears all members of a peer group. Name of the BGP peer group in Indicates that incoming advertised routes will be cleared.
BGP and BGP4+ Commands clear ip bgp * (BGP) Use this command to reset all BGP connections, either by fully resetting sessions or by performing soft resets. If VRF-Lite is configured, you can reset BGP connections for all VRF instances or for a specified VRF instance.
BGP and BGP4+ Commands Examples To clear all BGP peers, use the command: awplus# clear ip bgp * To clear all BGP peers in VRF instance red, use the command: awplus# clear ip bgp * vrf red To clear all outbound BGP peers in VRF instance red, use the command: awplus# clear ip bgp * out vrf red Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches C613-50032-01 REV D AlliedWare PlusTM Operating System - Software Version 5.4.3-2.6 3.
BGP and BGP4+ Commands clear ip bgp (IPv4) (BGP) Use this command to reset the IPv4 BGP connection to the peer specified by the IP address. When VRF-Lite is configured, you can apply this command to a specific VRF instance.
BGP and BGP4+ Commands clear ip bgp dampening (BGP) Use this command to clear route dampening information and unsuppress routes that have been suppressed. Syntax Mode clear ip bgp dampening [|] Parameter Description Specifies the IPv4 address for which BGP dampening is to be cleared, in dotted decimal format. Specifies the IPv4 address with mask for which BGP dampening is to be cleared, entered in the form A.B.C.D/M.
BGP and BGP4+ Commands clear ip bgp (ASN) (BGP) Use this command to reset the BGP connections to all peers in a specified Autonomous System Number (ASN). Syntax clear ip bgp [in [prefix-filter]|out|soft [in|out]] clear ip bgp ipv4 clear ip bgp ipv4 in [prefix-filter] clear ip bgp ipv4 out clear ip bgp ipv4 soft [in|out] Parameter Description <1-4294967295> Specifies the ASN for which all routes will be cleared. ipv4 Clears all IPv4 address family peers.
BGP and BGP4+ Commands clear ip bgp external (BGP) Use this command to reset the BGP connections to all external peers. Syntax clear ip bgp external [in [prefix-filter]|out|soft [in|out]] clear ip bgp external clear ip bgp external in [prefix-filter] clear ip bgp external out clear ip bgp external soft [in|out] Mode Parameter Description external Clears all external peers. ipv4 Clears all IPv4 address family peers. Configure parameters relating to the BGP exchange of IPv4 prefixes.
BGP and BGP4+ Commands clear ip bgp peer-group (BGP) Use this command to reset the BGP connections to all members of a peer group. Syntax clear ip bgp peer-group clear ip bgp peer-group in [prefix-filter] clear ip bgp peer-group out clear ip bgp peer-group soft [in|out] clear ip bgp peer-group out clear ip bgp peer-group soft [in|out] Parameter Description peer-group Clears all members of a peer group.
BGP and BGP4+ Commands clear bgp ipv6 (ipv6 address) (BGP4+) Use this command to reset the IPv6 BGP4+ connection to the peer specified by the IP address. Syntax Mode Examples clear bgp ipv6 [in [prefix-filter]|out|soft [in|out]] Parameter Description Specifies the IPv6 address of the neighbor whose connection is to be reset, entered in hexadecimal in the format X:X::X:X. ipv6 Clears all IPv6 address family peers.
BGP and BGP4+ Commands clear bgp ipv6 dampening (BGP4+) Use this command to clear route dampening information and unsuppress routes that have been suppressed routes. Syntax Mode clear bgp ipv6 dampening [|] Parameter Description Specifies the IPv6 address for which BGP4+ dampening is to be cleared, entered in hexadecimal in the format X:X::X:X.
BGP and BGP4+ Commands clear bgp ipv6 (ASN) (BGP4+) Use this command to reset the BGP4+ connections to all peers in a specified Autonomous System Number (ASN). Syntax clear bgp ipv6 [in [prefix-filter]|out|soft [in|out]] clear bgp ipv6 clear bgp ipv6 in [prefix-filter] clear bgp ipv6 out clear bgp ipv6 soft [in|out] Parameter Description <1-4294967295> Specifies the ASN for which all routes will be cleared. Indicates that incoming advertised routes will be cleared.
BGP and BGP4+ Commands clear bgp ipv6 external (BGP4+) Use this command to reset the BGP4+ connections to all external peers. Syntax clear bgp ipv6 external [in [prefix-filter]|out|soft [in|out]] clear bgp ipv6 external clear bgp ipv6 external in [prefix-filter] clear bgp ipv6 external out clear bgp ipv6 external soft [in|out] Mode Parameter Description external Clears all external peers. in Indicates that incoming advertised routes will be cleared.
BGP and BGP4+ Commands clear bgp ipv6 peer-group (BGP4+) Use this command to reset the BGP4+ connections to all members of a peer group.
BGP and BGP4+ Commands debug bgp (BGP) Use this command to turn on one or more BGP debug options. Use the no variant of this command to disable one or more BGP debug options. Syntax debug bgp [all|dampening|events|filters|fsm|keepalives|nht|nsm| updates [in|out]] no debug all bgp no debug bgp [all|dampening|events|filters|fsm|keepalives|nht|nsm| updates [in|out]] Parameter Description all Turns on all debugging for BGP. dampening Specifies debugging for BGP dampening.
BGP and BGP4+ Commands distance (BGP and BGP4+) This command sets the administrative distance for BGP and BGP4+ routes. The switch uses this value to select between two or more routes to the same destination from two different routing protocols. Set the administrative distance for BGP routes in the Router Configuration mode, and for BGP4+ routes in IPv6 Address Family Configuration mode. The route with the smallest administrative distance value is added to the Forwarding Information Base (FIB).
BGP and BGP4+ Commands Usage You can use this command to set the administrative distance: ■ for each BGP route types by specifying: distance (BGP and BGP4+) ■ for a specific route by specifying: distance (BGP and BGP4+) <1-255> [] If the administrative distance is changed, it could create inconsistency in the routing table and obstruct routing. Examples [BGP] For BGP IPv4, to set the administrative distance to 34 for the route 10.10.0.
BGP and BGP4+ Commands exit-address-family (BGP and BGP4+) Use this command to exit either the IPv4 or the IPv6 Address Family Configuration mode. Syntax [BGP/BGP4+] exit-address-family Mode [BGP] IPv4 Address Family Configuration Mode [BGP4+] IPv6 Address Family Configuration Examples [BGP] To enter and then exit IPv4 Address Family Configuration mode, use the commands:.
BGP and BGP4+ Commands ip as-path access-list (BGP and BGP4+) This command defines a BGP and BGP4+ Autonomous System (AS) path access list. The named AS path list is a filter based on regular expressions. If the regular expression matches the AS path in a BGP update message, then the permit or deny condition applies to that update. Use this command to define the BGP access list globally, then use neighbor configuration commands to apply the list to a particular neighbor.
BGP and BGP4+ Commands ip community-list (BGP and BGP4+) Use this command to add an entry to a standard or extended BGP community-list filter. Use the no variant of this command to delete a standard or extended community list entry. Syntax [BGP/BGP4+] ip community-list {deny|permit} . no ip community-list {deny|permit} . Parameter Description Specifies the community listname. deny Specifies the community to reject.
BGP and BGP4+ Commands ip community-list expanded (BGP and BGP4+) Use this command to add an entry to an expanded BGP community-list filter. Use the no variant of this command to delete the community list entry. Syntax ip community-list <100-199> {deny|permit} . no ip community-list <100-199> {deny|permit} . ip community-list expanded {deny|permit} . no ip community-list expanded {deny|permit} .
BGP and BGP4+ Commands 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. Examples awplus# configure terminal awplus(config)# ip community-list 125 permit 6789906 awplus(config)# ip community-list expanded CLIST permit .
BGP and BGP4+ Commands ip community-list standard (BGP and BGP4+) Use this command to add an entry to a standard BGP community-list filter. Use the no variant of this command to delete the standard community-list entry. Syntax ip community-list <1-99> {deny|permit} [.] no ip community-list <1-99> {deny|permit} [.] ip community-list standard {deny|permit} [.] no ip community-list standard {deny|permit} [.
BGP and BGP4+ Commands Examples awplus# configure terminal awplus(config)# ip community-list standard CLIST permit 7675:80 7675:90 no-export awplus(config)# ip community-list 34 permit 5675:50 no- advertise Related Commands ip community-list (BGP and BGP4+) ip community-list expanded (BGP and BGP4+) show ip community-list (BGP and BGP4+) Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches C613-50032-01 REV D AlliedWare PlusTM Operating System - Software Version 5
BGP and BGP4+ Commands ip extcommunity-list expanded (BGP and BGP4+) Use this command to create or delete an expanded extended community list. Use the no variant of this command to delete the expanded extended community-list entry. Syntax ip extcommunity-list <100-199> {deny|permit} {.|.|.} no ip extcommunity-list <100-199> {deny|permit} {.|.|.} ip extcommunity-list expanded {deny|permit} {.|.|.
BGP and BGP4+ Commands Mode Symbol Character Meaning (cont’d) ? Question mark Used to match none or one occurrence of a pattern. _ Underscore Used to match spaces, commas, braces, parenthesis, or the beginning and end of an input string. [] Brackets Specifies a range of single-characters. - Hyphen Separates the end points of a range.
BGP and BGP4+ Commands ip extcommunity-list standard (BGP and BGP4+) Use this command to create and delete a standard extended community list. Use the no variant of this command to delete a standard extended community-list entry.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# ip extcommunity-list 36 deny rt 192.168.1.1:70 awplus(config)# ip extcommunity-list standard CLIST deny soo 10.10.1.1:50 Related Commands ip extcommunity-list expanded (BGP and BGP4+) show ip extcommunity-list (BGP and BGP4+) Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches C613-50032-01 REV D AlliedWare PlusTM Operating System - Software Version 5.4.3-2.6 3.
BGP and BGP4+ Commands ip prefix-list (IPv4 Prefix List) Use this command to create an entry for an IPv4 prefix list. Use the no variant of this command to delete the IPv4 prefix-list entry.
BGP and BGP4+ Commands Example In the below sample configuration, the last ip prefix-list command in the below list matches all, and the first ip prefix-list command denies the IP network 76.2.2.0: . awplus(config)# router bgp 100 awplus(config-router)# network 172.1.1.0 awplus(config-router)# network 172.1.2.0 awplus(config-router)# neighbor 10.6.5.3 remote-as 300 awplus(config-router)# neighbor 10.6.5.
BGP and BGP4+ Commands ipv6 prefix-list (IPv6 Prefix List) Use this command to create an IPv6 prefix list or an entry in an existing prefix list. Use the no variant of this command to delete a whole prefix list or a prefix list entry.
BGP and BGP4+ Commands Example To check the first 32 bits of the prefix 2001:db8:: and the subnet mask must be greater than or equal to 34 and less than or equal to 40, enter the following commands: awplus# configure terminal awplus(config)# ipv6 prefix-list mylist seq 12345 permit 2001:db8::/32 ge 34 le 40 Related Commands ip prefix-list (IPv4 Prefix List) show ipv6 prefix-list (IPv6 Prefix List) Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches C613-50032-01 R
BGP and BGP4+ Commands match as-path (Route Map) Use this command to add an autonomous system (AS) path match clause to a route map entry. Specify the AS path attribute value or values to match by specifying the name of an AS path access list. To create the AS path access list, enter Global Configuration mode and use the ip as-path access-list (BGP and BGP4+) command. A BGP update message matches the route map if its attributes include AS path values that match the AS path access list.
BGP and BGP4+ Commands match community (Route Map) Use this command to add a community match clause to a route map entry. Specify the community value or values to match by specifying a community list. To create the community list, enter Global Configuration mode and use the ip community-list (BGP and BGP4+) command. A BGP update message matches the route map if its attributes include community values that match the community list.
BGP and BGP4+ Commands neighbor activate (BGP and BGP4+) Use this command to enable the exchange of BGP IPv4 and BGP4+ IPv6 routes with a neighboring router, and also within either an IPv4 or an IPv6 specific address-family. Use the no variant of this command to disable the exchange of information with a BGP or BGP4+ neighbor, in the Router Configuration or the Address Family Configuration mode.
BGP and BGP4+ Commands To disable an exchange of routes with a neighboring router with the IPv4 address 10.10.10.1, enter the commands as shown below: awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 10.10.10.1 activate To enable an exchange of routes in Address Family Configuration mode with a neighboring router with the IPv4 address 10.10.10.
BGP and BGP4+ Commands Examples [BGP4+] To enable an exchange of routes in IPv6 Address Family Configuration mode with a neighboring router with the IPv6 address 2001:0db8:010d::1, enter the commands as shown below: awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv6 awplus(config-router-af)# neighbor 2001:0db8:010d::1 activate To disable an exchange of routes in IPv6 Address Family Configuration mode with a neighboring router with the IPv6 address 2001:0db
BGP and BGP4+ Commands neighbor advertisement-interval (BGP and BGP4+) Use this command to set the minimum interval between sending iBGP or eBGP routing updates for a given route. This command reduces the flapping of individual routes. Use the no variant of this command to set the interval time to the default values (30 seconds for eBGP peers and 5 seconds for iBGP peers) for a given route.
BGP and BGP4+ Commands Examples [BGP] awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor 10.10.0.3 advertisement-interval 45 awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 10.10.0.3 advertisement-interval awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 10.10.0.3 remote-as 10 awplus(config-router)# neighbor 10.10.0.
BGP and BGP4+ Commands Examples [BGP4+] awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor 2001:0db8:010d::1 advertisement-interval 45 awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 2001:0db8:010d::1 advertisement-interval awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 2001:0db8:010d::1 remote-as 10 awplus(config-router)# address
BGP and BGP4+ Commands neighbor allowas-in (BGP and BGP4+) Use this command to accept an AS_PATH with the specified Autonomous System (AS) number from inbound updates for both BGP and BGP4+ routes. This command allows BGP and BGP4+ to accept prefixes with the same ASN in the AS_PATH attribute. This command allows BGP and BGP4+ to accept up to 10 instances, configured by the placeholder, of its own AN in the AS_PATH for a prefix.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv4 awplus(config-router-af)# neighbor 10.10.0.1 allowas-in 3 awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 10.10.0.1 allowas-in awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv4 awplus(config-router-af)# no neighbor 10.10.0.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv6 awplus(config-router-af)# no neighbor 2001:0db8:010d::1 allowas-in awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 2001:0db8:010d::1 remote-as 10 awplus(config-router)# address-family ipv6 awplus(config-router-af)# neighbor 2001:0db8:010d::1 peer-group group1 awplus(config-router-af)# neighbo
BGP and BGP4+ Commands neighbor as-origination-interval (BGP and BGP4+) Use this command to adjust the sending of AS (Autonomous System) origination routing updates to a specified iBGP peer. This command adjusts the rate at which updates are sent to a specified iBGP peer (15 seconds by default). You must set a rate when you enable it.
BGP and BGP4+ Commands Examples [BGP] awplus# configure terminal awplus(config)# router bgp 100 awplus(config-router)# neighbor 10.10.0.1 as-origination-interval 10 awplus# configure terminal awplus(config)# router bgp 100 awplus(config-router)# no neighbor 10.10.0.
BGP and BGP4+ Commands neighbor attribute-unchanged (BGP and BGP4+) Use this command to advertise unchanged BGP or BGP4+ attributes to the specified BGP or BGP4+ neighbor. Use the no variant of this command to disable this function.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 10.10.0.75 attribute-unchanged as-path med awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv4 awplus(config-router-af)# neighbor 10.10.0.75 attribute-unchanged as-path med awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv4 awplus(config-router-af)# no neighbor 10.10.0.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv6 awplus(config-router-af)# no neighbor 2001:0db8:010d::1 attribute-unchanged as-path med awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 2001:0db8:010d::1 remote-as 10 awplus(config-router)# address-family ipv6 awplus(config-router-af)# neighbor 2001:0db8:010d::1 peer-group group1 awplus(confi
BGP and BGP4+ Commands neighbor capability graceful-restart (BGP and BGP4+) Use this command to configure the device to advertise the Graceful Restart Capability to BGP and BGP4+ neighbors. Use the no variant of this command to configure the device so it does not advertise the Graceful Restart Capability to its neighbor.
BGP and BGP4+ Commands Examples [BGP] awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor 10.10.10.50 capability graceful-restart awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 10.10.10.50 capability graceful-restart awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv4 awplus(config-router-af)# neighbor 10.10.10.
BGP and BGP4+ Commands Examples [BGP4+] awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv6 awplus(config-router-af)# neighbor 2001:0db8:010d::1 capability graceful-restart awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv6 awplus(config-router-af)# no neighbor 2001:0db8:010d::1 capability graceful-restart awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-g
BGP and BGP4+ Commands neighbor capability orf prefix-list (BGP and BGP4+) Use this command to advertise ORF (Outbound Route Filters) capability to neighbors. Use this command to dynamically filter updates. The BGP speaker can advertise a prefix list with prefixes it wishes the peer to prune or filter from outgoing updates. Use the no variant of this command to disable this function.
BGP and BGP4+ Commands Examples [BGP] awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor 10.10.0.5 capability orf prefix-list both awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 10.10.0.5 capability orf prefix-list both awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv4 awplus(config-router)# neighbor 10.10.0.
BGP and BGP4+ Commands Examples [BGP4+] awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv6 awplus(config-router)# neighbor 2001:0db8:010d::1 capability orf prefix-list both awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv6 awplus(config-router)# no neighbor 2001:0db8:010d::1 capability orf prefix-list both awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer
BGP and BGP4+ Commands neighbor capability route-refresh (BGP and BGP4+) Use this command to advertise route-refresh capability to the specified BGP and BGP4+ neighbors.
BGP and BGP4+ Commands Examples [BGP] awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor 10.10.10.1 capability route- refresh awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 10.10.10.1 capability route-refresh awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 10.10.1.1 remote-as 10 awplus(config-router)# neighbor 10.10.1.
BGP and BGP4+ Commands Examples [BGP4+] awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor 2001:0db8:010d::1 capability route-refresh awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 2001:0db8:010d::1 capability route-refresh awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 2001:0db8:010d::1 remote-as 10 awplus(config-router)# address-
BGP and BGP4+ Commands neighbor collide-established (BGP and BGP4+) Use this command to specify including a BGP or BGP4+ neighbor, already in an 'established' state, for conflict resolution when a TCP connection collision is detected. Use the no variant of this command to remove a BGP or BGP4+ neighbor, already in an ‘established’ state, for conflict resolution when a TCP connection collision is detected.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 10.10.10.1 remote-as 10 awplus(config-router)# neighbor 10.10.10.
BGP and BGP4+ Commands Related Commands neighbor peer-group (add a neighbor) (BGP and BGP+) neighbor route-map (BGP and BGP4+) neighbor default-originate (BGP and BGP4+) Use this command to allow a BGP or BGP4+ local router to send the default route to a neighbor. Use the no variant of this command to send no route as a default route.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 10.10.10.1 default-originate route-map myroute awplus# configure terminal awplus(config)# router bgp 10 awplus(config)# address-family ipv4 awplus(config-router-af)# neighbor 10.10.10.1 default-originate route-map myroute awplus# configure terminal awplus(config)# router bgp 10 awplus(config)# address-family ipv4 awplus(config-router-af)# no neighbor 10.10.10.
BGP and BGP4+ Commands Examples [BGP4+] awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv6 awplus(config-router-af)# neighbor 2001:0db8:010d::1 default-originate route-map myroute awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv6 awplus(config-router-af)# no neighbor 2001:0db8:010d::1 default-originate route-map myroute awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbo
BGP and BGP4+ Commands neighbor description (BGP and BGP4+) Use this command to associate a description with a BGP or a BGP4+ neighbor. We recommend adding descriptions to defined neighbors, so any network administrators or network engineers can see a description of connected BGP or BGP4+ peers on the switch. Use the no variant of this command to remove the description from a BGP or a BGP4+ neighbor.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 10.10.10.1 remote-as 10 awplus(config-router)# neighbor 10.10.10.1 peer-group group1 awplus(config-router)# neighbor group1 description Backup router for sales awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 description Backup router for sales.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor group1 description Backup router for sales Related Commands neighbor peer-group (add a neighbor) (BGP and BGP+) neighbor route-map (BGP and BGP4+) neighbor disallow-infinite-holdtime (BGP and BGP4+) Use this command to disallow the configuration of infinite holdtime for BGP and BGP4+. Use the no variant of this command to allow the configuration of infinite holdtime for BGP or BGP4+.
BGP and BGP4+ Commands To disable the disallow-infinite-holdtime feature on the BGP speaker with the IP address of 10.10.10.10, enter the command: awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 10.10.10.
BGP and BGP4+ Commands neighbor distribute-list (BGP and BGP4+) This command filters route updates from a particular BGP or BGP4+ neighbor using an access control list. You can add one incoming and one outgoing distribute-list for each BGP or BGP4+ neighbor. The no variant of this command removes a previously configured BGP or BGP4+ distribute-list.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 10.10.10.1 distribute-list mylist out awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv4 awplus(config-router-af)# neighbor 10.10.10.1 distribute-list mylist out awplus# configure terminal awplus(config)# router bgp 10 awplus(config)# address-family ipv4 awplus(config-router-af)# no neighbor 10.10.10.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv6 awplus(config-router-af)# no neighbor 2001:0db8:010d::1 distribute-list mylist out awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 2001:0db8:010d::1 remote-as 10 awplus(config-router# address-family ipv6 awplus(config-router-af)# neighbor 2001:0db8:010d::1 peer-group group1 awplus(config-rout
BGP and BGP4+ Commands neighbor dont-capability-negotiate (BGP and BGP4+) Use this command to disable capability negotiation for BGP and BGP4+. The capability negotiation is performed by default. This command is used to allow compatibility with older BGP versions that have no capability parameters used in open messages between peers. Use the no variant of this command to enable capability negotiation.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 10.10.10.34 remote-as 100 awplus(config-router)# neighbor 10.10.10.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor group1 dont-capability-negotiate Related Commands neighbor peer-group (add a neighbor) (BGP and BGP+) neighbor route-map (BGP and BGP4+) neighbor ebgp-multihop (BGP and BGP4+) Use this command to accept and attempt BGP or BGP4+ connections to external peers on indirectly connected networks.
BGP and BGP4+ Commands Examples [BGP] awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor 10.10.10.34 remote-as 10 awplus(config-router)# neighbor 10.10.10.34 ebgp-multihop 5 awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 10.10.10.34 ebgp-multihop 5 awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 10.10.10.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 2001:0db8:010d::1 remote-as 10 awplus(config-router)# address-family ipv6 awplus(config-router-af)# neighbor 2001:0db8:010d::1 peer-group group1 awplus(config-router-af)# exit awplus(config-router)# neighbor group1 ebgp-multihop 5 awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor group1 ebgp-multihop 5
BGP and BGP4+ Commands neighbor enforce-multihop (BGP and BGP4+) Use this command to enforce the requirement that BGP and BGP4+ neighbors form multihop connections. Use the no variant of this command to turn off this feature. Syntax [BGP/BGP4+] neighbor enforce-multihop no neighbor enforce-multihop Mode [BGP] Mode [BGP4+] Parameter Description {||} The address of an IPv4 BGP neighbor, in dotted decimal notation A.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 10.10.10.34 remote-as 10 awplus(config-router)# neighbor 10.10.10.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor group1 enforce-multihop Related Commands neighbor peer-group (add a neighbor) (BGP and BGP+) neighbor route-map (BGP and BGP4+) Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches 3.124 AlliedWare PlusTM Operating System - Software Version 5.4.3-2.
BGP and BGP4+ Commands neighbor filter-list (BGP and BGP4+) This command creates a BGP or BGP4+ filter using an AS (Autonomous System) path list. This command specifies an AS path list, which it then applies to filter updates to and from a BGP or a BGP4+ neighbor The no variant of this command removes the previously specified BGP or BGP4+ filter using access control lists.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 10.10.0.34 filter-list list1 out awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv4 awplus(config-router-af)# neighbor 10.10.0.34 filter-list list1 out awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv4 awplus(config-router-af)# no neighbor 10.10.0.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv6 awplus(config-router-af)# no neighbor 2001:0db8:010d::1 filter-list list1 out awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 2001:0db8:010d::1 remote-as 10 awplus(config-router)# address-family ipv6 awplus(config-router-af)# neighbor 2001:0db8:010d::1 peer-group group1 awplus(config-router-a
BGP and BGP4+ Commands neighbor interface (BGP4+) Use this command to configure the interface name of a BGP4+ speaking neighbor. Use the no variant of this command to disable this function. Syntax [BGP4+] neighbor {|} interface no neighbor {|} interface Parameter Description Specifies the IPv4 address of the BGP neighbor - entered in dotted decimal notation in the format A.B.C.D.
BGP and BGP4+ Commands neighbor local-as (BGP and BGP4+) Use this command to configure a local AS number for the specified BGP or BGP4+ neighbor. This overrides the local AS number specified by the router bgp (BGP and BGP4+) command on page 3.200. Use the no variant of this command to remove the local AS number for the specified BGP or BGP4+ neighbor.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 10.10.0.34 local-as 1 awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 10.10.10.34 remote-as 10 awplus(config-router)# neighbor 10.10.10.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor group1 local-as 1 Related Commands neighbor peer-group (add a neighbor) (BGP and BGP+) neighbor route-map (BGP and BGP4+) router bgp (BGP and BGP4+) neighbor maximum-prefix (BGP and BGP4+) Use this command to control the number of prefixes that can be received from a BGP or a BGP4+ neighbor. Use the no variant of this command to disable this function.
BGP and BGP4+ Commands Mode [BGP] Mode [BGP4+] Usage [BGP/BGP4+] Router Configuration or IPv4 Address Family Configuration for a VRF instance IPv6 Address Family Configuration The neighbor maximum-prefix command allows the configuration of a specified number of prefixes that a BGP or a BGP4+ router is allowed to receive from a neighbor. When the warning-only option is not used, if any extra prefixes are received, the router ends the peering.
BGP and BGP4+ Commands Examples [BGP4+] awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv6 awplus(config-router-af)# neighbor 2001:0db8:010d::1 maximum-prefix 1244 warning-only awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv6 awplus(config-router-af)# no neighbor 2001:0db8:010d::1 maximum-prefix 1244 warning-only awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor gro
BGP and BGP4+ Commands neighbor next-hop-self (BGP and BGP4+) Use this command to configure the BGP or BGP4+ router as the next hop for a BGP or BGP4+ speaking neighbor or peer group. Use the no variant of this command to disable this feature. Syntax [BGP/BGP4+] neighbor next-hop-self no neighbor next-hop-self Parameter Description {||} Specify the address of an IPv4 BGP neighbor, in dotted decimal notation A.B.C.D.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv4 awplus(config-router)# neighbor 10.10.0.72 next-hop-self awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv4 awplus(config-router)# no neighbor 10.10.0.72 next-hop-self awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 10.10.10.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 2001:0db8:010d::1 remote-as 10 awplus(config-router)# address-family ipv6 awplus(config-router-af)# neighbor 2001:0db8:010d::1 peer-group group1 awplus(config-router-af)# neighbor group1 next-hop-self awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv6 awplus(config-router-af)# no neighbor group1
BGP and BGP4+ Commands neighbor override-capability (BGP and BGP4+) Use this command to override a capability negotiation result for BGP and BGP4+. Use the no variant of with this command to disable this function. Syntax [BGP/BGP4+] neighbor override-capability no neighbor override-capability Mode [BGP/BGP4+] Parameter Description {||} Specify the address of an IPv4 BGP neighbor, in dotted decimal notation A.B.C.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 10.10.10.72 remote-as 10 awplus(config-router)# neighbor 10.10.10.
BGP and BGP4+ Commands Related Commands neighbor peer-group (add a neighbor) (BGP and BGP+) neighbor route-map (BGP and BGP4+) neighbor passive (BGP and BGP4+) Use this command to configure the local BGP or BGP4+ router to be passive with regard to the specified BGP or BGP4+ neighbor. This has the effect that the BGP or BGP4+ router will not attempt to initiate connections to this BGP or BGP4+ neighbor, but will accept incoming connection attempts from the BGP or BGP4+ neighbor.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 10.10.10.72 remote-as 10 awplus(config-router)# neighbor 10.10.10.
BGP and BGP4+ Commands neighbor password (BGP and BGP4+) Use this command to enable MD5 authentication on a TCP connection between BGP and BGP4+ neighbors. No authentication is applied by default. To setup authentication for the session, you must first apply authentication on each connected peer for the session. Use the no variant of this command to disable this function.
BGP and BGP4+ Commands This example removes the password set for the neighbor 10.10.10.1: awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 10.10.10.1 password This example specifies the encryption type and the password (manager) for the neighbor peer group named group1: awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 10.10.10.
BGP and BGP4+ Commands This example specifies the password (manager) for the neighbor peer group named group1 for an IPv4 address-family, VRF name red, and router bgp 10: awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 10.10.10.1 remote-as 10 awplus(config-router)# neighbor 10.10.10.
BGP and BGP4+ Commands This example removes the password set for the neighbor peer group named group1: awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor group1 password Related Commands neighbor peer-group (add a neighbor) (BGP and BGP+) neighbor route-map (BGP and BGP4+) neighbor peer-group (add a neighbor) (BGP and BGP+) Use this command to add a BGP or a BGP4+ neighbor to an existing peer-group. Use the no variant of this command to disable this function.
BGP and BGP4+ Commands To create a peer-group use the neighbor port (BGP and BGP4+) command on page 3.147 and then use this command to add neighbors to the group. Examples [BGP] This example shows a new peer-group group1 and the addition of a neighbor 10.10.0.63 to the group. awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 10.10.0.
BGP and BGP4+ Commands neighbor peer-group (create a peer-group) (BGP and BGP4+) Use this command to create a peer-group for BGP and BGP4+. Use the no variant of this command to disable this function. Syntax [BGP/BGP4+] neighbor peer-group no neighbor peer-group Mode [BGP] Mode [BGP4+] Usage [BGP/BGP4+] Parameter Description Enter the name of the peer-group.
BGP and BGP4+ Commands neighbor port (BGP and BGP4+) Use this command to specify the TCP port to which packets are sent to on a BGP or a BGP4+ neighbor. TCP port 179 is the default port used to connect BGP and BGP4+ peers. You can specify a different destination port for the TCP session with this command. Use the no variant of this command to reset the port number back to the default value (TCP port 179).
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 12 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 10.10.10.1 remote-as 10 awplus(config-router)# neighbor 10.10.10.
BGP and BGP4+ Commands neighbor prefix-list (BGP and BGP4+) Use this command to distribute BGP and BGP4+ neighbor information as specified in a prefix list. Use the no variant of this command to remove an entry. Syntax [BGP/BGP4+] neighbor prefix-list {in|out} no neighbor prefix-list {in|out} Parameter Description {||} Specify the address of an IPv4 BGP neighbor, in dotted decimal notation A.B.
BGP and BGP4+ Commands Examples [BGP] awplus# configure terminal awplus(config)# ip prefix-list list1 deny 30.0.0.0/24 awplus(config)# router bgp 10 awplus(config-router)# neighbor 10.10.10.1 prefix-list list1 in awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 10.10.10.1 prefix-list list1 in awplus# configure terminal awplus(config)# ip prefix-list list1 deny 30.0.0.
BGP and BGP4+ Commands Examples [BGP4+] awplus# configure terminal awplus(config)# ipv6 prefix-list list1 deny 2001:0db8:010d::1/128 awplus(config)# router bgp 10 awplus(config-router)# address-family ipv6 awplus(config-router-af)# neighbor 2001:0db8:: prefix-list list1 in awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv6 awplus(config-router-af)# no neighbor 2001:0db8:: prefix-list list1 in awplus# configure terminal awplus(config)# ip prefix-list list1
BGP and BGP4+ Commands neighbor remote-as (BGP and BGP4+) Use this command to configure an internal or external BGP or BGP4+ (iBGP or eBGP) peering relationship with another router. Use the no variant of this command to remove a previously configured BGP or BGP4+ peering relationship.
BGP and BGP4+ Commands Usage [BGP/BGP4+] This command is used to configure iBGP and eBGP peering relationships with other BGP or BGP4+ neighbors. A peer-group support of this command is configured only after creating a specific peer-group. Use the no variant of this command to remove a previously configured BGP peering relationship. The vrf and global parameters are used to create internal 'loopback' BGP connections within the device between two VRF instances.
BGP and BGP4+ Commands Examples [BGP4+] To configure a BGP4+ peering relationship with another router: awplus# configure terminal awplus(config)# router bgp 11 awplus(config-router)# neighbor 2001:0db8:010d::1 remote- as 345 To remove a configured BGP4+ peering relationship from another router: awplus# configure terminal awplus(config)# router bgp 11 awplus(config-router)# no neighbor 2001:0db8:010d::1 remote-as 345 To configure a BGP4+ peering relationship from the neighbor with the peer group named gr
BGP and BGP4+ Commands neighbor remove-private-AS (BGP) Use this command to remove the private Autonomous System (AS) number from external outbound updates. Use the no variant of this command to revert to the default (disabled). Syntax neighbor remove-private-AS no neighbor remove-private-AS Parameter Description {|} The address of an IPv4 BGP neighbor, in dotted decimal notation A.B.C.D.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 10.10.0.63 remove-private-AS Related Commands show ip bgp (BGP) neighbor restart-time (BGP and BGP4+) Use this command to set a different restart-time other than the global restart-time configured using the bgp graceful-restart command for BGP and BGP4+. Use the no variant of this command to restore the device to its default state (see the default value of the bgp graceful-restart command).
BGP and BGP4+ Commands Examples [BGP] awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor 10.10.10.1 restart-time 45 awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 10.10.10.1 restart-time 45 awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 10.10.10.1 remote-as 10 awplus(config-router)# neighbor 10.10.10.
BGP and BGP4+ Commands Examples [BGP4+] awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor 2001:0db8:010d::1 restart-time 45 awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 2001:0db8:010d::1 restart-time 45 awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 2001:0db8:010d::1 remote-as 10 awplus(config-router)# address-family ipv6 awpl
BGP and BGP4+ Commands neighbor route-map (BGP and BGP4+) Use this command to apply a route map to incoming or outgoing routes for BGP or BGP4+. Use the no variant of this command to remove a route map from a BGP or BGP4+ route.
BGP and BGP4+ Commands Examples [BGP] The following example shows the configuration of the route-map name rmap2 and then the use of this map name in the neighbor route-map command for the neighbor with the IPv4 address 10.10.10.1 in the Router Configuration mode.
BGP and BGP4+ Commands The following example shows the removal of the route-map name rmap2 in the neighbor route-map command for the neighbor with the IPv4 address 10.10.10.1 in the IPv4 Address Family Configuration mode. awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv4 awplus(config-router-af)# no neighbor 10.10.10.
BGP and BGP4+ Commands Examples [BGP4+] The following example shows the configuration of the route-map name rmap2 and then the use of this map name in the neighbor route-map command for the neighbor with the IPv6 address 2001:0db8:010d::1 in the IPv6 Address Family Configuration mode.
BGP and BGP4+ Commands The following example shows the configuration of the route-map name rmap2 and then the use of this map name in the neighbor route-map command for the neighbor with the peer group named group1 in the Router Configuration mode.
BGP and BGP4+ Commands neighbor route-reflector-client (BGP) Use this command to configure the router as a BGP route reflector and configure the specified neighbor as its client. Use the no variant of this command to indicate that the neighbor is not a client. Syntax neighbor route-reflector-client no neighbor route-reflector-client Parameter Description {|} The address of an IPv4 BGP neighbor, in dotted decimal notation A.B.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 10.10.0.72 route-reflector-client neighbor route-server-client (BGP) Use this command to specify the peer as route server client. Use the no variant of this command to disable this function.
BGP and BGP4+ Commands neighbor send-community (BGP and BGP4+) Use this command to specify that a community attribute should be sent to a BGP or BGP4+ neighbor. Use the no variant of this command to remove the entry for the community attribute.
BGP and BGP4+ Commands Examples [BGP] awplus# configure terminal awplus(config)# bgp config-type standard awplus(config)# router bgp 10 awplus(config-router)# neighbor 10.10.0.72 send-community extended awplus# configure terminal awplus(config)# bgp config-type standard awplus(config)# router bgp 10 awplus(config-router)# no neighbor 10.10.0.
BGP and BGP4+ Commands Examples [BGP4+] awplus# configure terminal awplus(config)# bgp config-type standard awplus(config)# router bgp 10 awplus(config-router)# neighbor 2001:0db8:010d::1 send-community extended awplus# configure terminal awplus(config)# bgp config-type standard awplus(config)# router bgp 10 awplus(config-router)# no neighbor 2001:0db8:010d::1 send-community extended awplus# configure terminal awplus(config)# bgp config-type standard awplus(config)# router bgp 10 awplus(config-router)# a
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# bgp config-type standard awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 2001:0db8:010d::1 remote-as 10 awplus(config-router)# address-family ipv6 awplus(config-router-af)# neighbor 2001:0db8:010d::1 peer-group group1 awplus(config-router-af)# exit awplus(config-router)# neighbor group1 send-community extended awplus# configure terminal awplus(config)# bgp config-type standar
BGP and BGP4+ Commands neighbor shutdown (BGP and BGP4+) Use this command to disable a peering relationship with a BGP or BGP4+ neighbor. Use the no variant of this command to re-enable the BGP or BGP4+ neighbor. Syntax [BGP/BGP4+] neighbor shutdown no neighbor shutdown Parameter Description {|} Specify the address of an IPv4 BGP neighbor, in dotted decimal notation A.B.C.D.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor group1 shutdown Examples [BGP4+] awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor 2001:0db8:010d::1 shutdown awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 2001:0db8:010d::1 shutdown awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 shutdown awplus# configure
BGP and BGP4+ Commands neighbor soft-reconfiguration inbound (BGP and BGP4+) Use this command to configure the switch to start storing all updates from the BGP or BGP4+ neighbor, without any consideration of any inward route filtering policy that might be applied to the connection with this BGP or BGP4+ neighbor. This is so that the full set of the neighbor’s updates are available locally to be used in a soft-reconfiguration event.
BGP and BGP4+ Commands Examples [BGP] awplus# configure terminal awplus(config)# router bgp 12 awplus(config-router)# neighbor 10.10.10.10 soft-reconfiguration inbound awplus# configure terminal awplus(config)# router bgp 12 awplus(config-router)# no neighbor 10.10.10.10 soft-reconfiguration inbound awplus# configure terminal awplus(config)# router bgp 12 awplus(config-router)# address-family ipv4 awplus(config-router-af)# neighbor 10.10.10.
BGP and BGP4+ Commands Examples [BGP4+] awplus# configure terminal awplus(config)# router bgp 12 awplus(config-router)# address-family ipv6 awplus(config-router-af)# neighbor 2001:0db8:010d::1 soft-reconfiguration inbound awplus# configure terminal awplus(config)# router bgp 12 awplus(config-router)# address-family ipv6 awplus(config-router-af)# no neighbor 2001:0db8:010d::1 soft-reconfiguration inbound awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer
BGP and BGP4+ Commands neighbor timers (BGP and BGP4+) Use this command to set the keepalive, holdtime, and connect timers for a specific BGP or BGP4+ neighbor. Use the no variant of this command to clear the timers for a specific BGP or BGP4+ neighbor.
BGP and BGP4+ Commands Examples [BGP] awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor 10.10.10.1 timers 60 120 awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 10.10.10.1 timers awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 10.10.10.1 remote-as 10 awplus(config-router)# neighbor 10.10.10.
BGP and BGP4+ Commands Examples [BGP4+] awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor 2001:0db8:010d::1 timers 60 120 awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 2001:0db8:010d::1 timers awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 2001:0db8:010d::1 remote-as 10 awplus(config-router)# address-family ipv6 awplus(config-rou
BGP and BGP4+ Commands neighbor transparent-as (BGP and BGP4+) Use this command to specify not to append your AS path number even if the BGP or BGP4+ peer is an eBGP peer. Note this command has the same effect as invoking neighbor attribute-unchanged (BGP and BGP4+) and specifying the optional as-path parameter.
BGP and BGP4+ Commands Examples [BGP4+] awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor 2001:0db8:010d::1 transparent-as awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 2001:0db8:010d::1 remote-as 10 awplus(config-router)# address-family ipv6 awplus(config-router-af)# neighbor 2001:0db8:010d::1 peer-group group1 awplus(config-router-af)# exit awplus(config-router)# neighbo
BGP and BGP4+ Commands neighbor transparent-nexthop (BGP and BGP4+) Use this command to keep the nexthop value of the route even if the BGP or BGP4+ peer is an eBGP peer. Note this command has the same effect as invoking neighbor attribute-unchanged (BGP and BGP4+) and specifying the optional next-hop parameter.
BGP and BGP4+ Commands Examples [BGP4+] awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor 2001:0db8:010d::1 transparent-nexthop awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 2001:0db8:010d::1 remote-as 10 awplus(config-router)# address-family ipv6 awplus(config-router-af)# neighbor 2001:0db8:010d::1 peer-group group1 awplus(config-router-af)# exit awplus(config-router)# ne
BGP and BGP4+ Commands neighbor unsuppress-map (BGP and BGP4+) Use this command to selectively leak more specific routes to a particular BGP or BGP4+ neighbor. Use the no variant of this command to remove selectively leaked specific routes to a particular BGP or BGP4+ neighbor.
BGP and BGP4+ Commands Examples [BGP] awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor 10.10.0.73 unsuppress-map mymap awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv4 unicast awplus(config-router-af)# neighbor 10.10.0.70 unsuppress-map mymap awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 10.10.0.
BGP and BGP4+ Commands Examples [BGP4+] awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv6 unicast awplus(config-router-af)# neighbor 2001:0db8:010d::1 unsuppress-map mymap awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv6 unicast awplus(config-router-af)# no neighbor 2001:0db8:010d::1 unsuppress-map mymap awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer
BGP and BGP4+ Commands neighbor update-source (BGP and BGP4+) Use this command to specify the source IPv4 or IPv6 address of BGP or BGP4+ packets, which are sent to the neighbor for routing updates, as the IPv4 or IPv6 address configured on the specified interface. The specified interface is usually the local loopback (lo) interface to allow internal BGP or BGP4+ connections to stay up regardless of which interface is used to reach a neighbor.
BGP and BGP4+ Commands Examples [BGP] To source BGP connections for neighbor 10.10.0.72 with the IP address of the local loopback address instead of the best local address, enter the commands listed below: awplus(config)# interface lo awplus(config-if)# ip address 10.10.0.73/24 awplus(config-if)# exit awplus(config)# router bgp 100 awplus(config-router)# network 10.10.0.0 awplus(config-router)# neighbor 10.10.0.72 remote-as 110 awplus(config-router)# neighbor 10.10.0.
BGP and BGP4+ Commands Examples [BGP4+] To source BGP connections for neighbor 2001:0db8:010d::1 with the IPv6 address of the local loopback address instead of the best local address, enter the commands listed below: awplus(config)# interface lo awplus(config-if)# ipv6 address 2001:0db8:010d::1/128 awplus(config-if)# exit awplus(config)# router bgp 100 awplus(config-router)# neighbor 2001:0db8:010d::1 remote-as 110 awplus(config-router)# neighbor 2001:0db8:010d::1 update-source lo To remove BGP connecti
BGP and BGP4+ Commands neighbor version (BGP) Use this command to configure the switch to accept only a particular BGP version. Use the no variant of this command to use the default BGP version (version 4). Syntax neighbor version no neighbor version Parameter Description {|} The address of an IPv4 BGP neighbor, in dotted decimal notation A.B.C.D. Enter the name of an existing peer-group.
BGP and BGP4+ Commands awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 10.10.10.
BGP and BGP4+ Commands neighbor weight (BGP and BGP4+) Use this command to set default weights for routes from this BGP or BGP4+ neighbor. Use the no variant of this command to remove a weight assignment. Syntax [BGP/BGP4+] neighbor weight no neighbor weight [] Parameter Description {||} Specify the address of an IPv4 BGP neighbor, in dotted decimal notation A.B.C.D.
BGP and BGP4+ Commands Examples [BGP] awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor 10.10.10.1 weight 60 awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# no neighbor 10.10.10.1 weight awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv4 awplus(config-router-af)# neighbor 10.10.10.
BGP and BGP4+ Commands Examples [BGP4+] awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv6 awplus(config-router-af)# neighbor 2001:0db8:010d::1 weight 60 awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# address-family ipv6 awplus(config-router-af)# no neighbor 2001:0db8:010d::1 weight awplus# configure terminal awplus(config)# router bgp 10 awplus(config-router)# neighbor group1 peer-group awplus(config-router)# neighbor 2001
BGP and BGP4+ Commands network (BGP and BGP4+) Use this command to specify particular routes to be advertised into the BGP or BGP4+ routing process. A unicast network address without a mask is accepted if it falls into the natural boundary of its class. A class-boundary mask is derived if the address matches its natural class-boundary.
BGP and BGP4+ Commands Usage [BGP/BGP4+] It does not matter how the route is arranged in the IP or IPv6 routing table. The route can arrive in the IP routing table by a static route, or the route can be learnt from OSPF or OSPFv3 or RIP or RIPng routing. If you configure a route-map, then that route-map will be used in filtering the network, or the route-map will be used to modify the attributes that are advertised with the route.
BGP and BGP4+ Commands Example [BGP] The following example is the same as the previous example for host route 192.0.2.224/27, but is entered in prefix/length format using slash notation (instead of prefix plus mask in dotted decimal format using the mask keyword before the network mask in dotted decimal format): awplus(config)# router bgp 100 awplus(config-router)# network 192.0.2.224/27 Output [BGP] Figure 3-3: Example output from the show running-config command after entering network 192.0.2.
BGP and BGP4+ Commands network synchronization (BGP and BGP4+) Use this command to ensure the exact same static network prefix, specified through any of the network commands, is local or has IGP reachability before introduction to BGP or BGP4+. Use the no variant of this command to disable this function. Syntax [BGP/BGP4+] network synchronization no network synchronization Default [BGP/BGP4+] Mode [BGP] Mode [BGP4+] Examples [BGP] Network synchronization is disabled by default.
BGP and BGP4+ Commands redistribute (into BGP or BGP4+) (BGP and BGP4+) Use this command to inject routes from one routing process into a BGP or BGP4+ routing table. Use the no variant of this command to disable this function.
BGP and BGP4+ Commands Examples [BGP/BGP+] The following example shows the configuration of a route-map named rmap1, which is then applied using the redistribute route-map command.
BGP and BGP4+ Commands restart bgp graceful (BGP) Use this command to force the switch to perform a graceful BGP restart. Syntax restart bgp graceful Mode Privileged Exec Usage Before using this command, BGP graceful-restart capabilities must be enabled within the router BGP (bgp graceful-restart (BGP and BGP4+) command on page 3.
BGP and BGP4+ Commands router bgp (BGP and BGP4+) Use this command to configure a BGP routing process, specifying the 32-bit Autonomous System (AS) number. Use the no variant of this command to disable a BGP routing process, specifying the 32-bit AS number. Syntax router bgp no router bgp Parameter Description <1-4294967295> Specifies the 32-bit Autonomous System (AS) number.
BGP and BGP4+ Commands route-map (Route Map) Use this command to configure a route map entry, and to specify whether the device will process or discard matching routes and BGP update messages. The switch uses a name to identify the route map, and a sequence number to identify each entry in the route map. The route-map command puts you into route-map configuration mode. In this mode, you can use the following: ■ one or more of the match commands to create match clauses.
BGP and BGP4+ Commands If it does not find a match, it discards the route or update message. This means that route maps end with an implicit deny entry. To permit all non-matching routes or update messages, end your route map with an entry that has an action of permit and no match clause.
BGP and BGP4+ Commands set as-path (Route Map) Use this command to add an AS path set clause to a route map entry. When a BGP update message matches the route map entry, the device prepends the specified Autonomous System Number (ASN) or ASNs to the update’s AS path attribute. The AS path attribute is a list of the autonomous systems through which the announcement for the prefix has passed. As prefixes pass between autonomous systems, each autonomous system adds its ASN to the beginning of the list.
BGP and BGP4+ Commands set community (Route Map) Use this command to add a community set clause to a route map entry. When a BGP update message matches the route map entry, the device takes one of the following actions: ■ changes the update’s community attribute to the specified value or values, or ■ adds the specified community value or values to the update’s community attribute, if you specify the additive parameter after specifying another parameter.
BGP and BGP4+ Commands Usage Examples This command is valid for BGP update messages only.
BGP and BGP4+ Commands show bgp ipv6 community (BGP4+) Use this command to display routes that match specified communities within an IPv6 environment. Use the show ip bgp community (BGP) command within an IPv4 environment. For information on output options, see “Controlling “show” Command Output” on page 3.6. You may use any combination and repetition of parameters listed in the placeholder.
BGP and BGP4+ Commands show bgp ipv6 community-list (BGP4+) Use this command to display routes that match the given community-list within an IPv6 environment. Use the show ip bgp community-list (BGP) command within an IPv4 environment. For information on output options, see “Controlling “show” Command Output” on page 3.6. Syntax Mode show bgp ipv6 community-list [exact-match] Parameter Description Specifies the community list name.
BGP and BGP4+ Commands show bgp ipv6 dampening (BGP4+) Use this command to show dampened routes from a BGP4+ instance within an IPv6 environment. Use the show ip bgp dampening (BGP) command to show dampened routes from a BGP instance within an IPv4 environment. For information on output options, see “Controlling “show” Command Output” on page 3.6. Syntax show bgp ipv6 dampening {dampened-paths|flap-statistics|parameters} Parameter Description dampened-paths Display paths suppressed due to dampening.
BGP and BGP4+ Commands show bgp ipv6 filter-list (BGP4+) Use this command to display routes conforming to the filter-list within an IPv6 environment. Use the show ip bgp filter-list (BGP) command to display routes conforming to the filter-list within an IPv4 environment. For information on output options, see “Controlling “show” Command Output” on page 3.6. Syntax Mode show bgp ipv6 filter-list Parameter Description Specifies the regular-expression access list name.
BGP and BGP4+ Commands show bgp ipv6 longer-prefixes (BGP4+) Use this command to display the route of the local BGP4+ routing table for a specific prefix with a specific mask or for any prefix having a longer mask than the one specified. For information on output options, see “Controlling “show” Command Output” on page 3.6. Syntax Mode show bgp ipv6 longer-prefixes Parameter Description Specifies the IPv6 address with prefix length.
BGP and BGP4+ Commands show bgp ipv6 neighbors (BGP4+) Use this command to display detailed information on peering connections to all BGP4+ neighbors within an IPv6 environment. Use the show ip bgp neighbors (BGP) to display detailed information on peering connections to all BGP neighbors within an IPv4 environment. See the Usage section about what you can verify using this command. For information on output options, see “Controlling “show” Command Output” on page 3.6.
BGP and BGP4+ Commands show bgp ipv6 neighbors session information: ■ Neighbor address, ASN information and if the link is external or internal ■ BGP version and status ■ Neighbor capabilities for the BGP session ■ Number of messages transmitted and received show bgp ipv6 neighbors IPv6 unicast address family information: ■ BGP4+ table version ■ IPv6 Address Family dependant capabilities ■ IPv6 Communities ■ IPv6 Route filters for ingress and egress updates ■ Number of announced and accept
BGP and BGP4+ Commands Output Figure 3-5: Example output from the show bgp ipv6 neighbors 2001:db8:b::1 command awplus#show bgp ipv6 neighbors 2001:db8:b::1 BGP neighbor is 2001:db8:b::1, remote AS 200, local AS 100, external link BGP version 4, remote router ID 2.2.2.
BGP and BGP4+ Commands show bgp ipv6 paths (BGP4+) Use this command to display BGP4+ path information within an IPv6 environment. Use the show ip bgp paths (BGP) command to display BGP path information within an IPv4 environment. For information on output options, see “Controlling “show” Command Output” on page 3.6.
BGP and BGP4+ Commands show bgp ipv6 quote-regexp (BGP4+) Use this command to display routes matching the AS path regular expression within an IPv6 environment. Use the show ip bgp quote-regexp (BGP) command to display routes matching the AS path regular expression within an IPv4 environment. Note that you must use quotes to enclose the regular expression with this command.
BGP and BGP4+ Commands show bgp ipv6 regexp (BGP4+) Use this command to display routes matching the AS path regular expression within an IPv6 environment. Use the show ip bgp regexp (BGP) command to display routes matching the AS path regular expression within an IPv4 environment. Use the regular expressions listed below with the parameter: Symbol Character Meaning ^ Caret Used to match the beginning of the input string.
BGP and BGP4+ Commands show bgp ipv6 route-map (BGP4+) Use this command to display BGP4+ routes that match the specified route-map within an IPv6 environment. Use the show ip bgp route-map (BGP) command to display BGP routes that match the specified route-map within an IPv4 environment. For information on output options, see “Controlling “show” Command Output” on page 3.6. Syntax Mode Example show bgp ipv6 route-map Parameter Description Specifies a route-map that is matched.
BGP and BGP4+ Commands show bgp nexthop-tracking (BGP) Use this command to display BGP nexthop-tracking status. Syntax Mode Example show bgp nexthop-tracking User Exec and Privileged Exec To display BGP nexthop-tracking status, use the command: awplus# show bgp nexthop-tracking Related Commands bgp nexthop-trigger-count (BGP and BGP4+) show bgp nexthop-tree-details (BGP) show bgp nexthop-tree-details (BGP) Use this command to display BGP nexthop-tree-details.
BGP and BGP4+ Commands show debugging bgp (BGP) Use this command to display the BGP debugging option set. For information on output options, see “Controlling “show” Command Output” on page 3.6.
BGP and BGP4+ Commands show ip bgp (BGP) Use this command to display BGP network information. For information on output options, see “Controlling “show” Command Output” on page 3.6. Syntax Mode show ip bgp [|] Parameter Description Specifies the IPv4 address and the optional prefix mask length. User Exec and Privileged Exec Example awplus# show ip bgp 10.10.1.
BGP and BGP4+ Commands show ip bgp attribute-info (BGP) Use this command to show internal attribute hash information. For information on output options, see “Controlling “show” Command Output” on page 3.6. Syntax Mode show ip bgp attribute-info User Exec and Privileged Exec Example awplus# show ip bgp attribute-info Output Figure 3-9: Example output from the show ip bgp attribute-info command attr[1] nexthop 0.0.0.0 attr[1] nexthop 10.10.10.10 attr[1] nexthop 10.10.10.
BGP and BGP4+ Commands show ip bgp cidr-only (BGP) Use this command to display routes with non-natural network masks. For information on output options, see “Controlling “show” Command Output” on page 3.6. Syntax Syntax [VRF] Mode show ip bgp cidr-only show ip bgp [global|vrf ] cidr-only Parameter Description global When VRF-Lite is configured, apply the command to the global routing and forwarding table. vrf Apply the command to the specified VRF instance.
BGP and BGP4+ Commands show ip bgp community (BGP) Use this command to display routes that match specified communities from a BGP instance within an IPv4 environment. Use the show bgp ipv6 community (BGP4+) command within an IPv6 environment. For information on output options, see “Controlling “show” Command Output” on page 3.6. You may use any combination and repetition of parameters listed in the placeholder.
BGP and BGP4+ Commands awplus# show ip bgp community no-export 64510:64511 no-advertise 64497:64499 64500:64501 no-export awplus# show ip bgp community no-export 64497:64499 no-advertise local-AS no-export awplus# show ip bgp vrf red no-export awplus# show ip bgp global 65500:2 65500:3 exact-match Related Commands set community (Route Map) show bgp ipv6 community (BGP4+) show ip bgp community-info (BGP) Use this command to list all BGP community information.
BGP and BGP4+ Commands show ip bgp community-list (BGP) Use this command to display routes that match the given community-list from a BGP instance within an IPv4 environment. Use the show bgp ipv6 community-list (BGP4+) command within an IPv6 environment. For information on output options, see “Controlling “show” Command Output” on page 3.6.
BGP and BGP4+ Commands show ip bgp dampening (BGP) Use this command to show dampened routes from a BGP instance within an IPv4 environment. Use the show bgp ipv6 dampening (BGP4+) command within an IPv6 environment. For information on output options, see “Controlling “show” Command Output” on page 3.6.
BGP and BGP4+ Commands Figure 3-12: Example output from the show ip bgp dampening flap-statistics command awplus# show ip bgp dampening flap-statistics BGP table version is 1, local router ID is 30.30.30.77 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network From Flaps Duration Reuse Path hi1.1.1.0/24 10.100.0.62 3 00:01:20 i The following example output shows a dampened route in the 1.1.1.0/24 network.
BGP and BGP4+ Commands show ip bgp filter-list (BGP) Use this command to display routes conforming to the filter-list within an IPv4 environment. Use the show bgp ipv6 filter-list (BGP4+) command to display routes conforming to the filter-list within an IPv6 environment For information on output options, see “Controlling “show” Command Output” on page 3.6.
BGP and BGP4+ Commands show ip bgp inconsistent-as (BGP) Use this command to display routes with inconsistent AS Paths within an IPv4 environment. Use the show bgp ipv6 inconsistent-as (BGP4+) command to display routes with inconsistent AS paths within an IPv6 environment. For information on output options, see “Controlling “show” Command Output” on page 3.6.
BGP and BGP4+ Commands show ip bgp longer-prefixes (BGP) Use this command to display the route of the local BGP routing table for a specific prefix with a specific mask, or for any prefix having a longer mask than the one specified. For information on output options, see “Controlling “show” Command Output” on page 3.6.
BGP and BGP4+ Commands show ip bgp neighbors (BGP) Use this command to display detailed information on peering connections to all BGP neighbors within an IPv4 environment. Use the show bgp ipv6 neighbors (BGP4+) to display detailed information on peering connections to all BGP4+ neighbors within an IPv6 environment. See the Usage section about what you can verify using this command. For information on output options, see “Controlling “show” Command Output” on page 3.6.
BGP and BGP4+ Commands Usage [BGP] You can verify many of the BGP settings using this command: ■ show bgp ip neighbors session information: ■ show bgp ip neighbors IPv4 unicast address family Information: ■ show bgp ip neighbors connection information: show bgp ip neighbors session information: ■ Neighbor address, ASN information and if the link is external or internal ■ BGP version and status ■ Neighbor capabilities for the BGP session ■ Number of messages transmitted and received show bgp
BGP and BGP4+ Commands show bgp ip neighbors connection information: ■ Connection counters ■ Graceful restart timer ■ Hop count to the peer ■ Next hop information ■ Local and external port numbers Examples [BGP] awplus# show ip bgp neighbors 10.10.10.72 advertised-routes awplus# show ip bgp neighbors 10.10.10.72 received prefix-filter awplus# show ip bgp neighbors 10.10.10.72 received-routes awplus# show ip bgp neighbors 10.10.10.
BGP and BGP4+ Commands show ip bgp neighbors connection-retrytime (BGP) Use this command to display the configured connection-retrytime value of the peer at the session establishment time with the neighbor. For information on output options, see “Controlling “show” Command Output” on page 3.6. Syntax Mode show ip bgp neighbors connection-retrytime Parameter Description The IPv4 address of an IPv4 BGP neighbor, in dotted decimal notation A.B.C.D.
BGP and BGP4+ Commands show ip bgp neighbors keepalive (BGP) Use this command to display the number of keepalive messages sent to the neighbor from the peer throughout the session. For information on output options, see “Controlling “show” Command Output” on page 3.6. Syntax Mode show ip bgp neighbors keepalive Parameter Description The IPv4 address of an IPv4 BGP neighbor, in dotted decimal notation A.B.C.D.
BGP and BGP4+ Commands show ip bgp neighbors notification (BGP) Use this command to display the number of notification messages sent to the neighbor from the peer throughout the session. For information on output options, see “Controlling “show” Command Output” on page 3.6. Syntax Mode show ip bgp neighbors {|} notification Parameter Description The IPv4 address of an IPv4 BGP neighbor, in dotted decimal notation A.B.C.D.
BGP and BGP4+ Commands show ip bgp neighbors rcvd-msgs (BGP) Use this command to display the number of messages received by the neighbor from the peer throughout the session. For information on output options, see “Controlling “show” Command Output” on page 3.6. Syntax Mode show ip bgp neighbors rcvd-msgs Parameter Description The IPv4 address of an IPv4 BGP neighbor, in dotted decimal notation A.B.C.D. User Exec and Privileged Exec Example awplus# show ip bgp neighbors 10.
BGP and BGP4+ Commands show ip bgp neighbors update (BGP) Use this command to display the number of update messages sent to the neighbor from the peer throughout the session. For information on output options, see “Controlling “show” Command Output” on page 3.6. Syntax Mode show ip bgp neighbors update Parameter Description The IPv4 address of an IPv4 BGP neighbor, in dotted decimal notation A.B.C.D. User Exec and Privileged Exec Example awplus# show ip bgp neighbors 10.11.
BGP and BGP4+ Commands show ip bgp prefix-list (BGP) Use this command to display routes matching the prefix-list within an IPv4 environment. Use the show bgp ipv6 prefix-list (BGP4+) command to display routes matching the prefix-list within an IPv6 environment. For information on output options, see “Controlling “show” Command Output” on page 3.6.
BGP and BGP4+ Commands show ip bgp quote-regexp (BGP) Use this command to display routes matching the AS path regular expression within an IPv4 environment. Use the show bgp ipv6 quote-regexp (BGP4+) command to display routes matching the AS path regular expression within an IPv6 environment. Note that you must use quotes to enclose the regular expression with this command.
BGP and BGP4+ Commands show ip bgp regexp (BGP) Use this command to display routes matching the AS path regular expression within an IPv4 environment. Use the show bgp ipv6 regexp (BGP4+) command to display routes matching the AS path regular expression within an IPv6 environment.
BGP and BGP4+ Commands show ip bgp route-map (BGP) Use this command to display BGP routes that match the specified route-map within an IPv4 environment. Use the show bgp ipv6 route-map (BGP4+) command to display BGP4+ routes that match the specified route-map within an IPv6 environment. For information on output options, see “Controlling “show” Command Output” on page 3.6.
BGP and BGP4+ Commands show ip bgp scan (BGP) Use this command to display BGP scan status. For information on output options, see “Controlling “show” Command Output” on page 3.6. Syntax Mode show ip bgp scan User Exec and Privileged Exec Example awplus# show ip bgp scan Output Figure 3-15: Example output from the show ip bgp scan command BGP scan is running BGP scan interval is 60 BGP instance : AS is 11,DEFAULT Current BGP nexthop cache: BGP connected route: 10.10.10.0/24 10.10.11.
BGP and BGP4+ Commands show ip bgp summary (BGP) Use this command to display a summary of a BGP neighbor status within an IPv4 environment. Use the show bgp ipv6 summary (BGP4+) command to display a summary of BGP4+ neighbors. For information on output options, see “Controlling “show” Command Output” on page 3.6.
BGP and BGP4+ Commands show ip community-list (BGP and BGP4+) Use this command to display routes that match a specified community-list name or number. For information on output options, see “Controlling “show” Command Output” on page 3.6. Syntax Mode show ip community-list [|] Parameter Description Specifies the community list number in the range <1-199> as specified by a previously issued ip community-list command.
BGP and BGP4+ Commands show ip prefix-list (IPv4 Prefix List) Use this command to display the IPv4 prefix-list entries. Note that this command is valid for RIP and BGP routing protocols only. Syntax Mode show ip prefix-list [|detail|summary] Parameter Description Specify the name of a prefix list in this placeholder. detail Specify this parameter to show detailed output for all IPv4 prefix lists. summary Specify this parameter to show summary output for all IPv4 prefix lists.
BGP and BGP4+ Commands show ip protocols bgp (BGP) Use this command to display BGP process parameters and statistics. For information on output options, see “Controlling “show” Command Output” on page 3.6.
BGP and BGP4+ Commands show route-map (Route Map) Use this command to display information about one or all route maps. Syntax Mode Example show route-map Parameter Description A name to identify the route map.
BGP and BGP4+ Commands synchronization (BGP and BGP4+) Use this command in Router Configuration mode or in Address Family Configuration mode to ensure BGP does not advertise router learned from iBGP peers until they are learned locally, or are propagated throughout the AS via an IGP. Use the no variant of this command to disable this function. Syntax synchronization no synchronization Default Disabled.
BGP and BGP4+ Commands timers (BGP and BGP4+) Use this command sets the BGP keepalive timer and holdtime timer values. Use the no variant of this command to reset timers to the default. Syntax timers bgp no timers bgp [ ] Parameter Description <0-65535> The frequency with which the keepalive messages are sent to the neighbors. The default is 30 seconds as per RFC 4271. Cisco IOS uses a 60 second keepalive timer default value.
BGP and BGP4+ Commands Related Commands neighbor timers (BGP and BGP4+) show ip bgp neighbors hold-time (BGP) show ip bgp neighbors keepalive-interval (BGP) undebug bgp (BGP) Use this command to disable BGP debugging functions. Syntax undebug bgp [all|dampening|events|filters|fsm|keepalives|nht|nsm| updates] undebug all bgp Mode Parameter Description all Disable all debugging for BGP. dampening Disable debugging for BGP dampening. events Disable debugging for BGP events.
BGP and BGP4+ Commands Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches 3.252 AlliedWare PlusTM Operating System - Software Version 5.4.3-2.