Supported on all 7210 SAS platforms as described in this document
This command enables the BGP protocol instance and BGP configuration context. BGP is administratively enabled upon creation.
The no form of this command deletes the BGP protocol instance and removes all configuration parameters for the BGP instance. BGP must be shutdown before deleting the BGP instance. An error occurs if BGP is not shutdown first.
Supported on all 7210 SAS platforms as described in this document
Commands in this context configure multiple paths for one or more families in a BGP instance, group, or neighbor. The BGP add-path capability allows the router to send and receive multiple paths per prefix to and from a peer.
The no form of this command removes the add-path capability from the BGP instance, group, or neighbor, causing sessions established using add-paths to go down and come back up without the add-path capability.
no add-paths
Supported on all 7210 SAS platforms as described in this document
This command configures the add-path capability for IPv4 labeled routes; the add-path capability is disabled by default.
Note: The add-path capability is not supported for IPv4 native routes (that is, IPv4 routes without a label). |
The maximum number of paths to send per IPv4 NLRI is configured using the send-limit mandatory parameter. The capability to receive multiple paths per prefix from a peer is configured using the optional receive keyword. If the receive keyword is not specified, the receive capability is enabled by default.
The no form of this command disables add-path support for IPv4 routes, causing sessions established using add-paths for IPv4 to go down and come back up without the add-paths capability.
no ipv4
Supported on all 7210 SAS platforms as described in this document
This command configures the add-path capability for IPv6 labeled routes; the capability is disabled by default.
Note: The add-path capability is not supported for IPv6 native routes (that is, IPv6 routes without a label). |
The maximum number of paths to send per IPv6 NLRI is configured using the send-limit mandatory parameter. The capability to receive multiple paths per prefix from a peer is configured using the optional receive keyword. If the receive keyword is not specified, the receive capability is enabled by default.
The no form of this command disables add-path support for IPv6 routes, and causes sessions established using add-paths for IPv6 to go down and come back up without the add-path capability.
no ipv6
Supported on all 7210 SAS platforms as described in this document
This command enables the advertising of inactive BGP routes to other BGP peers. By default, BGP only advertises BGP routes to other BGP peers if a specific BGP route is chosen by the route table manager as the most preferred route within the system and is active in the forwarding plane. This command allows system administrators to advertise a BGP route even though it is not the most preferred route within the system for a specific destination.
The no form of this command disables the advertising of inactive BGP routers to other BGP peers.
no advertise-inactive
Supported on all 7210 SAS platforms as described in this document
This command configures the IPv4 transport peers to exchange RFC 3107-labeled IPv4 routes.
If the ipv4 keyword is configured, all IPv4 routes advertised to the remote BGP peer are sent with an RFC 3107 formatted label for the destination route.
The optional keyword use-svc-routes allows the user to limit the number of BGP 3107 IPv4 labeled routes that are installed in the MPLS FIB. If the keyword is specified, only BGP 3107 labeled routes that are required by services or required for establishing a BGP session with a configured neighbor are installed in the MPLS FIB. The following will trigger installation of the MPLS label into the MPLS FIB for the received BGP 3107 IPv4 labeled route:
Other IP applications such as FTP, SSH, and other applications will not trigger installation of the IPv4 labeled routes into the MPLS FIB.
The no form of this command disables any or all configured options.
no advertise-label
Supported on all 7210 SAS platforms as described in this document
This command sets the router ID in the BGP aggregator path attribute to zero when BGP aggregates routes. This prevents different routers within an AS from creating aggregate routes that contain different AS paths.
When BGP is aggregating routes, it adds the aggregator path attribute to the BGP update messages. By default, BGP adds the ASN and router ID to the aggregator path attribute.
When this command is enabled, BGP adds the router ID to the aggregator path attribute. This command is used at the group level to revert to the value defined under the global level. This command is used at the neighbor level to revert to the value defined under the group level.
The no form of this command used at the global level reverts to the default, where BGP adds the ASN and router ID to the aggregator path attribute.
The no form of this command used at the group level reverts to the value defined at the global level.
The no form of this command used at the neighbor level reverts to the value defined at the group level.
no aggregator-id-zero
Supported on all 7210 SAS platforms as described in this document
This command enables AIGP path attribute support with one or more BGP peers. BGP path selection among routes with an associated AIGP metric is based on the end-to-end IGP metrics of the different BGP paths, even when these BGP paths span more than one AS and IGP instance.
The no form of this command disables AIGP path attribute support, removes the AIGP attribute from advertised routes, and causes the AIGP attribute in received routes to be ignored.
no aigp
Supported on all 7210 SAS platforms as described in this document
This command configures a TCP authentication keychain to use for the session. The keychain allows the rollover of authentication keys during the lifetime of a session.
no auth-keychain
Supported on all 7210 SAS platforms as described in this document
This command configures the BGP authentication key.
Authentication is performed between neighboring routers before setting up the BGP session by verifying the password. Authentication is performed using the MD-5 message based digest. MD5 authentication is disabled by default.
The authentication key can be any combination of ASCII characters up to 255 characters.
The no form of this command reverts to the default value.
This is useful when a user must configure the parameter, but, for security purposes, the actual unencrypted key value is not provided.
Supported on all 7210 SAS platforms as described in this document
This command enables BGP Fast Reroute (FRR) with Prefix-Independent Convergence (PIC), allowing for the creation of a backup path for labeled IPv4 and IPv6 BGP learned prefixes belonging to the base router. Multiple paths must be received for a prefix to take advantage of this feature.
If a prefix has a backup path and its primary paths fail, the affected traffic is rapidly diverted to the backup path without waiting for control plane reconvergence to occur. If many prefixes share the same primary paths, and in some cases also the same backup path, the time to failover traffic to the backup path is independent of the number of prefixes.
By default, IPv4 and IPv6 prefixes do not have a backup path installed in the IOM.
The no form of this command disables BGP FRR with PIC.
no backup-path
Supported on all 7210 SAS platforms as described in this document
This command enables path selection configuration.
Supported on all 7210 SAS platforms as described in this document
This command configures the comparison of BGP routes based on the MED attribute.
The default behavior of 7210 SAS is to compare two routes on the basis of MED only if they have the same neighbor AS (the first non-confed AS in the received AS_PATH attribute). By default, a route without a MED attribute is handled the same as though it had a MED attribute with the value 0.
The always-compare-med command without the strict-as keyword allows MED to be compared even if the paths have a different neighbor AS. In this case, if neither zero nor infinity is specified, the zero option is inferred, meaning a route without a MED is handled the same as though it had a MED attribute with the value 0. When the strict-as keyword is configured, MED is only compared between paths from the same neighbor AS, and in this case, zero or infinity is mandatory and tells BGP how to interpret paths without a MED attribute.
The no form of this command reverts to the default behavior.
no always-compare-med
Supported on all 7210 SAS platforms as described in this document
This command determines whether the AS path is used to determine the best BGP route.
If this option is present, the AS paths of incoming routes are not used in the route selection process.
The no form of this command removes the configuration.
no as-path-ignore
Supported on all 7210 SAS platforms as described in this document
This command instructs BGP to disregard the resolved distance to the BGP next-hop in its decision process for selecting the best route to a destination.
When configured in the config>router>bgp>best-path-selection context, this command applies to the comparison of two BGP routes with the same NLRI learned from base router BGP peers. When configured in the config>service>vprn context, this command applies to the comparison of two BGP-VPN routes for the same IP prefix imported into the VPRN from the base router BGP instance. When configured in the config>service>vprn>bgp>best-path-selection context, this command applies to the comparison of two BGP routes for the same IP prefix learned from VPRN BGP peers.
The no form of this command restores the default behavior where BGP factors the distance to the next-hop into its decision process.
no ignore-nh-metric
Supported on all 7210 SAS platforms as described in this document
This command modifies the route selection behavior. When this command is enabled and the current best path to a destination was learned from eBGP peer X with BGP identifier x, new paths that are received from eBGP peer Y with BGP identifier y and are equivalent will not change the best path even if y is less than x during BGP identifier comparison.
The no form of this command restores the default behavior of selecting the route with the lowest BGP identifier (Y) as best.
no ignore-router-id
Supported on all 7210 SAS platforms as described in this document
This command enables bidirectional forwarding (BFD) to control the state of the associated protocol interface. By enabling BFD on a specific protocol interface, the state of the protocol interface is tied to the state of the BFD session between the local node and the remote node. The parameters used for the BFD are set via the BFD command under the IP interface.
IPv4 BFD can be used for multihop or single hop MP-BGP sessions. For more information about the protocols and platforms that support BFD, refer to the 7210 SAS-D, Dxp, K 2F1C2T, K 2F6C4T, K 3SFP+ 8C Router Configuration Guide.
The no form of this command removes BFD from the associated IGP/BGP protocol adjacency.
no bfd-enable
Supported on all 7210 SAS platforms as described in this document
This command configures the BGP connect retry timer value in seconds.
When this timer expires, BGP tries to reconnect to the configured peer. This configuration parameter can be set at three levels: global level (applies to all peers), peer-group level (applies to all peers in group) or neighbor level (only applies to specified peer). The most specific value is used.
The no form of this command used at the global level reverts to the default value.
The no form of this command used at the group level reverts to the value defined at the global level.
The no form of this command used at the neighbor level reverts to the value defined at the group level.
connect-retry 120
Supported on all 7210 SAS platforms as described in this document
This command enables BGP route damping for learned routes, which are defined within the route policy. Use damping to reduce the number of update messages sent between BGP peers and reduce the load on peers without affecting the route convergence time for stable routes. Damping parameters are set through route policy definition.
When damping is enabled and the route policy does not specify a damping profile, the default damping profile is used. This profile is always present and consists of the following parameters:
Half-life: | 15 minutes |
Max-suppress: | 60 minutes |
Suppress-threshold: | 3000 |
Reuse-threshold: | 750 |
The no form of this command used at the global level reverts route damping.
The no form of this command used at the group level reverts to the value defined at the global level.
The no form of this command used at the neighbor level reverts to the value defined at the group level.
no damping
Supported on all 7210 SAS platforms as described in this document
This command originates the default RTC route (zero prefix length) toward the selected peers.
The no form of this command disables the advertisement of the default RTC route.
no default-route-target
Supported on all 7210 SAS platforms as described in this document
This command creates a text description stored in the configuration file for a configuration context.
The no form of this command removes the description string from the context.
Supported on all 7210 SAS platforms as described in this document
This command disables the use of 4-byte ASNs. It can be configured at all 3 levels of the hierarchy so it can be specified down to the per peer basis.
If this command is enabled, 4-byte ASN support should not be negotiated with the associated remote peers.
The no form of this command reverts to the default behavior, which is to enable the use of 4-byte ASN.
Supported on all 7210 SAS platforms as described in this document
This command disables the exchange of capabilities when the command is enabled, after the peering is flapped, any new capabilities are not negotiated and strictly support IPv4 routing exchanges with that peer.
The no form of this command removes this command from the configuration and restores the normal behavior.
no disable-capability-negotiation
Supported on all 7210 SAS platforms as described in this document
This command configures BGP to disable sending communities.
Supported on all 7210 SAS platforms as described in this document
This command configures BGP fast external failover.
Supported on all 7210 SAS platforms as described in this document
This command enables or disables the use of the IGP next-hop to the BGP next-hop as the next-hop of the last resort.
Supported on all 7210 SAS platforms as described in this document
This command specifies whether VPNs can exchange routes across autonomous system boundaries, providing model B connectivity.
The no form of this command disallows ASBRs to advertise VPRN routes to their peers in other autonomous systems.
no enable-inter-as-vpn
Supported on all 7210 SAS platforms as described in this document
This command enables BGP peer tracking. BGP peer tracking allows a BGP peer to be dropped immediately if the route used to resolve the BGP peer address is removed from the IP routing table and there is no alternative available. The BGP peer will not wait for the holdtimer to expire; therefore, the BGP reconvergance process is accelerated.
The no form of this command disables peer tracking.
no enable-peer-tracking
Supported on all 7210 SAS platforms as described in this document
This command specifies the export route policy used to determine which routes are advertised to peers.
This configuration parameter can be set at three levels: global level (applies to all peers), group level (applies to all peers in peer-group) or neighbor level (only applies to specified peer). The most specific level is used.
When multiple policy names are specified, the policies are evaluated in the order they are specified. A maximum of five (5) policy names can be configured. The first policy that matches is applied.
When multiple export commands are issued, the last command entered overrides the previous command.
When no export policies are specified, BGP routes are advertised and non-BGP routes are not advertised by default.
The no form of this command removes the policy association with the BGP instance. To remove association of all policies, use the no export command without arguments.
no export
Supported on all 7210 SAS platforms as described in this document
This command specifies the address families to be supported over BGP peerings in the base router. This command is additive, so issuing the family command adds the specified address family to the list.
The no form of this command removes the specified address family from the associated BGP peerings. If an address family is not specified, the system resets the supported address family back to the default.
family ipv4
Supported on all 7210 SAS platforms as described in this document
This command causes the base instance BGP export route policies to be applied to VPN-IPv4 routes.
The no form of this command disables the application of the base instance BGP route policies to VPN-IPv4 routes.
no vpn-apply-export
Supported on all 7210 SAS platforms as described in this document
This command applies base instance BGP import route policies to VPN-IPv4 routes.
The no form of this command disables the application of the base instance BGP import route policies to VPN-IPv4 routes.
no vpn-apply-import
Supported on all 7210 SAS platforms as described in this document
Commands in this context configure a BGP peer group.
The no form of this command deletes the specified peer group and all configurations associated with the peer group. The group must be shutdown before it can be deleted.
Supported on all 7210 SAS platforms as described in this document
This command configures the BGP hold time, expressed in seconds.
The BGP hold time specifies the maximum amount of time that BGP waits between successive messages (either keepalive or update) from its peer before closing the connection.
This configuration parameter can be set at three levels: global level (applies to all peers), group level (applies to all peers in group) or neighbor level (only applies to specified peer). The most specific value is used.
Even though the 7210 SAS implementation allows setting the keepalive time separately, the configured keepalive timer is overridden by the hold-time value under the following circumstances.
The no form of this command used at the global level reverts to the default value.
The no form of this command used at the group level reverts to the value defined at the global level.
The no form of this command used at the neighbor level reverts to the value defined at the group level.
hold-time 90
Supported on all 7210 SAS platforms as described in this document
This command specifies the import route policy to be used to determine which routes are accepted from peers. Route policies are configured in the config>router>policy-options context.
This configuration parameter can be set at three levels: global level (applies to all peers), group level (applies to all peers in peer-group) or neighbor level (only applies to specified peer). The most specific level is used.
When multiple policy names are specified, the policies are evaluated in the order they are specified. A maximum of five (5) policy names can be specified. The first policy that matches is applied.
When multiple import commands are issued, the last command entered will override the previous command.
When an import policy is not specified, BGP routes are accepted by default.
The no form of this command removes the policy association with the BGP instance. To remove association of all policies, use no import without arguments.
no import
Supported on all 7210 SAS platforms as described in this document
This command configures the BGP keepalive timer. A keepalive message is sent every time this timer expires.
The keepalive parameter can be set at three levels: global level (applies to all peers), group level (applies to all peers in peer-group) or neighbor level (only applies to specified peer). The most specific value is used.
The keepalive value is generally one-third of the hold-time interval. Even though the 7210 SAS implementation allows the keepalive value and the hold-time interval to be independently set, under the following circumstances, the configured keepalive value is overridden by the hold-time value.
The no form of this command used at the global level reverts to the default value.
The no form of this command used at the group level reverts to the value defined at the global level.
The no form of this command used at the neighbor level reverts to the value defined at the group level.
keepalive 30
Supported on all 7210 SAS platforms as described in this document
This command configures the local IP address used by the group or neighbor when communicating with BGP peers.
Outgoing connections use the local-address as the source of the TCP connection when initiating connections with a peer.
When a local address is not specified, 7210 SAS uses the system IP address when communicating with IBGP peers and uses the interface address for directly connected EBGP peers. This command is used at the neighbor level to revert to the value defined under the group level.
The no form of this command removes the configured local-address for BGP.
The no form of this command used at the group level reverts to the value defined at the global level.
The no form of this command used at the neighbor level reverts to the value defined at the group level.
no local-address
ipv4-address: | a.b.c.d (host bits must be 0) |
ipv4-prefix-length: | 0 to 32 |
ipv6-address: | x:x:x:x:x:x:x:x (eight 16-bit pieces) |
x:x:x:x:x:x:d.d.d.d | |
x: [0 to FFFF]H | |
d: [0 to 255]D |
Supported on all 7210 SAS platforms as described in this document
This command configures a BGP virtual autonomous system (AS) number.
In addition to the ASN configured for BGP in the config>router>autonomous-system context, a virtual (local) ASN is configured. The virtual ASN is added to the as-path message before the router ASN makes the virtual AS the second AS in the as-path.
This configuration parameter can be set at three levels: global level (applies to all peers), group level (applies to all peers in peer-group) or neighbor level (only applies to specified peer). Therefore, by specifying this at each neighbor level, it is possible to have a separate as-number per EBGP session.
When a command is entered multiple times for the same AS, the last command entered is used in the configuration. The private attribute can be added or removed dynamically by reissuing the command.
Changing the local AS at the global level in an active BGP instance causes the BGP instance to restart with the new local ASN. Changing the local AS at the global level in an active BGP instance causes BGP to re-establish the peer relationships with all peers in the group with the new local ASN. Changing the local AS at the neighbor level in an active BGP instance causes BGP to re-establish the peer relationship with the new local ASN.
This is an optional command and can be used in the following situation.
Example: Provider router P is moved from AS1 to AS2. The customer router that is connected to P, however, is configured to belong to AS1. To avoid reconfiguring the customer router, the local-as value on router P can be set to AS1. Therefore, router P adds AS1 to the as-path message for routes it advertises to the customer router.
The no form of this command used at the global level will remove any virtual ASN configured.
The no form of this command used at the group level reverts to the value defined at the global level.
The no form of this command used at the neighbor level reverts to the value defined at the group level.
no local-as
Supported on all 7210 SAS platforms as described in this document
This command configures the BGP local-preference attribute in incoming routes if not specified and configures the default value for the attribute.
This value is used if the BGP route arrives from a BGP peer without the local-preference integer set.
The specified value can be overridden by any value set via a route policy. This configuration parameter can be set at three levels: global level (applies to all peers), group level (applies to all peers in peer-group) or neighbor level (only applies to specified peer). The most specific value is used.
The no form of this command at the global level specifies that incoming routes with local-preference set are not overridden and routes arriving without local-preference set are interpreted as if the route had local-preference value of 100.
The no form of this command used at the group level reverts to the value defined at the global level.
The no form of this command used at the neighbor level reverts to the value defined at the group level.
no local-preference
Supported on all 7210 SAS platforms as described in this document
This command configures how the BGP peer session handles loop detection in the AS path.
This configuration parameter can be set at three levels: global level (applies to all peers), group level (applies to all peers in peer-group) or neighbor level (only applies to specified peer). The most specific value is used.
Dynamic configuration changes of loop-detect are not recognized.
The no form of this command used at the global level reverts to default, which is loop-detect ignore-loop.
The no form of this command used at the group level reverts to the value defined at the global level.
The no form of this command used at the neighbor level reverts to the value defined at the group level.
loop-detect ignore-loop
Supported on all 7210 SAS platforms as described in this document
This command enables advertising the Multi-Exit Discriminator (MED) and assigns the value used for the path attribute for the MED advertised to BGP peers if the MED is not already set.
The specified value can be overridden by any value set through a route policy.
This configuration parameter can be set at three levels: global level (applies to all peers), group level (applies to all peers in peer-group) or neighbor level (only applies to specified peer). The most specific value is used.
The no form of this command used at the global level reverts to default where the MED is not advertised.
The no form of this command used at the group level reverts to the value defined at the global level.
The no form of this command used at the neighbor level reverts to the value defined at the group level.
no med-out
Supported on all 7210 SAS platforms as described in this document
This command configures the minimum interval, in seconds, at which a path attribute, originated by the local router, can be advertised to a peer.
This configuration parameter can be set at three levels: global level (applies to all peers), group level (applies to all peers in peer-group) or neighbor level (only applies to specified peer). The most specific value is used.
The no form of this command used at the global level reverts to default.
The no form of this command used at the group level reverts to the value defined at the global level.
The no form of this command used at the neighbor level reverts to the value defined at the group level.
min-as-origination15
Supported on all 7210 SAS platforms as described in this document
This command configures the minimum interval, in seconds, at which a prefix can be advertised to a peer.
This configuration parameter can be set at three levels: global level (applies to all peers), group level (applies to all peers in peer-group) or neighbor level (only applies to specified peer). The most specific value is used.
The no form of this command used at the global level reverts to the default.
The no form of this command used at the group level reverts to the value defined at the global level.
The no form of this command used at the neighbor level reverts to the value defined at the group level.
min-route-advertisement 30
Supported on all 7210 SAS platforms as described in this document
This command configures the time to live (TTL) value entered in the IP header of packets sent to an EBGP peer multiple hops away.
The no form of this command is used to convey to the BGP instance that the EBGP peers are directly connected.
The no form of this command used at the global level reverts to default.
The no form of this command used at the group level reverts to the value defined at the global level.
The no form of this command used at the neighbor level reverts to the value defined at the group level.
multihop 1 (EBGP peers are directly connected)
multihop 64 (IBGP)
Supported on all 7210 SAS platforms as described in this document
Commands in this context configure next-hop resolution.
Supported on all 7210 SAS platforms as described in this document
Commands in this context configure the binding of BGP labeled routes to tunnels.
Supported on all 7210 SAS platforms as described in this document
This command configures the binding of BGP labeled routes to tunnels for a specific family.
family ipv4
Supported on all 7210 SAS platforms as described in this document
This command configures the resolution state of BGP labeled routes using tunnels to BGP peers.
resolution filter
Supported on all 7210 SAS platforms as described in this document
Commands in this context configure the subset of tunnel types that can be used in the resolution of BGP label routes.
Supported on all 7210 SAS platforms as described in this document
This command configures LDP tunneling for next-hop resolution.
Supported on all 7210 SAS platforms as described in this document
This command configures RSVP tunneling for next-hop resolution.
no rsvp
Supported on all 7210 SAS platforms as described in this document
This command selects the SR tunnel type programmed by an IS-IS instance in the TTM for next-hop resolution and specifies SR tunnels (shortest path) to destinations reachable by the IS-IS protocol. This command allows BGP to use the SR tunnel in the tunnel table submitted by the lowest preference IS-IS instance or, in the case of IS-IS instances with the same lowest preference, the IS-IS instance with the lowest ID number.
The no form of this command removes the SR tunnel type.
Supported on all 7210 SAS platforms as described in this document
This command selects the SR tunnel type programmed by an OSPF instance in the TTM for next-hop resolution and specifies SR tunnels (shortest path) to destinations reachable by the OSPF protocol. This command allows BGP to use the SR tunnel in the tunnel table submitted by the lowest preference OSPF instance or, in the case of IS-IS instances with the same lowest preference, the OSPF instance with the lowest ID number.
The no form of this command removes the SR tunnel type.
Supported on all 7210 SAS platforms as described in this document
This command opens the configuration tree for sending or accepting BGP filter lists from peers (outbound route filtering).
no outbound-route-filtering
Supported on all 7210 SAS platforms as described in this document
This command opens the configuration tree for sending or accepting extended community-based BGP filters.
In order for the no version of the command to work, all subcommands (send-orf, accept-orf) must be removed first.
Supported on all 7210 SAS platforms as described in this document
This command instructs the router to negotiate the receive capability in the BGP outbound route filtering (ORF) negotiation with a peer, and to accept filters that the peer wishes to send.
Accepting ORFs is not enabled by default.
The no form of this command causes the router to remove the accept capability in the BGP ORF negotiation with a peer, and to clear any existing ORF filters that are currently in place.
Supported on all 7210 SAS platforms as described in this document
This command instructs the router to negotiate the send capability in the BGP ORF negotiation with a peer.
This command also causes the router to send a community filter, prefix filter, or AS path filter configured as an inbound filter on the BGP session to its peer as an ORF Action ADD.
If the comm-id parameters are not exclusively route target communities, the router will extract appropriate route targets and use those. If, for some reason, the comm-id parameters specified contain no route targets, the router will not send an ORF.
The no form of this command causes the router to remove the send capability in the BGP ORF negotiation with a peer. The no form also causes the router to send an ORF remove action for a community filter, prefix filter, or AS path filter configured as an inbound filter on the BGP session to its peer.
no send-orf
Supported on all 7210 SAS platforms as described in this document
This command creates a BGP peer/neighbor instance within the context of the BGP group.
This command can be issued repeatedly to create multiple peers and their associated configuration.
The no form of this command is used to remove the specified neighbor and the entire configuration associated with the neighbor. The neighbor must be administratively shutdown before attempting to delete it. If the neighbor is not shutdown, the command will not result in any action except a warning message on the console indicating that neighbor is still administratively up.
ipv4-address: | a.b.c.d (host bits must be 0) |
ipv4-prefix-length: | 0 to 32 |
ipv6-address: | x:x:x:x:x:x:x:x (eight 16-bit pieces) |
x:x:x:x:x:x:d.d.d.d | |
x: [0 to FFFF]H | |
d: [0 to 255]D |
Supported on all 7210 SAS platforms as described in this document
This command configures the autonomous system number for the remote peer. The peer ASN must be configured for each configured peer.
For eBGP peers, the peer ASN configured must be different from the autonomous system number configured for this router under the global level since the peer will be in a different autonomous system than this router
For iBGP peers, the peer ASN must be the same as the ASN of this router configured under the global level.
This is required command for each configured peer. This may be configured under the group level for all neighbors in a particular group.
Supported on all 7210 SAS platforms as described in this document
This command enables path MTU discovery for the associated TCP connections. In doing so, the MTU for the associated TCP session will be initially set to the egress interface MTU. The DF bit will also be set so that if a router along the path of the TCP connection cannot handle a packet of a particular size without fragmenting, it will send back an ICMP message to set the path MTU for the specific session to a lower value that can be forwarded without fragmenting.
The no form of this command disables path MTU discovery.
no path-mtu-discovery
Supported on all 7210 SAS platforms as described in this document
This command configures the route preference for routes learned from the configured peers.
This configuration parameter can be set at three levels: global level (applies to all peers), group level (applies to all peers in peer-group) or neighbor level (only applies to specified peer). The most specific value is used.
The lower the preference the higher the chance of the route being the active route. The 7210 SAS assigns BGP routes the highest default preference compared to routes that are direct, static, or learned through MPLS or OSPF.
The no form of this command used at the global level reverts to default value.
The no form of this command used at the group level reverts to the value defined at the global level.
The no form of this command used at the neighbor level reverts to the value defined at the group level.
preference 170
Supported on all 7210 SAS platforms as described in this document
This command configures the maximum time before stale routes are purged.
Supported on all 7210 SAS platforms as described in this document
This command enables BGP rapid update for specified address families.
If rapid update is enabled for a set of address families, and a route belonging to a family in that set is received by the router and chosen for propagation to specific BGP peers, the remaining time on the MRAI timer of these peers is ignored and the route is transmitted immediately, along with all other pending routes for these peers, including routes of address families not specified in the rapid-update command.
The rapid-update command overrides the peer-level min-route-advertisement time and applies the minimum setting of 0 seconds to routes belonging to specified address families; routes of other address families continue to be advertised according to the session-level MRAI setting.
The no form of this command disables rapid update for all address families.
no rapid-update
Supported on all 7210 SAS platforms as described in this document
This command disables the delay (Minimum Route Advertisement) on sending BGP withdrawals. Normal route withdrawals may be delayed up to the minimum route advertisement to allow for efficient packing of BGP updates.
The no form of this command removes the configuration and reverts withdrawal processing to the normal behavior.
no rapid-withdrawal
Supported on all 7210 SAS platforms as described in this document
This command configures the maximum number of routes BGP can learn from a peer.
When the number of routes reaches 90% of this limit, an SNMP trap is sent. When the limit is exceeded, the BGP peering is dropped and disabled.
The no form of this command removes the configuration.
no prefix-limit
Supported on all 7210 SAS platforms as described in this document
This command enables private AS numbers to be removed from the AS path before advertising them to BGP peers.
When the remove-private command is configures at the global level, it applies to all peers, regardless of group or neighbor configuration. When the parameter is set at the group level, it applies to all peers in the group, regardless of the neighbor configuration.
7210 SAS software recognizes the set of AS numbers that are defined by the Internet Assignment Numbers Authority (IANA) as private. These are AS numbers in the range 64512 through 65535, inclusive.
The no form of this command used at the global level reverts to default value.
The no form of this command used at the group level reverts to the value defined at the global level.
The no form of this command used at the neighbor level reverts to the value defined at the group level.
no remove-private
Supported on all 7210 SAS platforms as described in this document
This command specifies the router ID to be used with this BGP instance.
Changing the BGP router ID on an active BGP instance causes the BGP instance to restart with the new router ID. The router ID must be set to a valid host address.
By default, the system interface IP address is used.
Supported on all 7210 SAS platforms as described in this document
This command administratively disables an entity. When disabled, an entity does not change, reset, or remove any configuration settings or statistics.
The operational state of the entity is disabled as well as the operational state of any entities contained within. Many objects must be shut down before they may be deleted.
Unlike other commands and parameters where the default state is not indicated in the configuration file, the shutdown and no shutdown states are always indicated in system generated configuration files.
Default administrative states for services and service entities are described in Special Cases.
The no form of this command places an entity in an administratively enabled state.
Supported on all 7210 SAS platforms as described in this document
This command designates the BGP peer as type internal or external.
The type internal indicates that the peer is an iBGP peer while the type external indicates that the peer is an eBGP peer.
By default, 7210 SAS derives the type of neighbor based on the local AS specified. If the local AS specified is the same as the AS of the router, the peer is considered internal. If the local AS is different, the peer is considered external.
The no form of this command used at the group level reverts to the default value.
The no form of this command used at the neighbor level reverts to the value defined at the group level.
no type
Supported on all 7210 SAS platforms as described in this document
This command configures the AS number for the router. A router can only belong to one AS. An ASN is a globally unique number with an AS. This number is used to exchange exterior routing information with neighboring ASs and as an identifier of the AS.
If the ASN is changed on a router with an active BGP instance, the new ASN is not used until the BGP instance is restarted either by administratively disabling or enabling (shutdown/no shutdown) the BGP instance or rebooting the system with the new configuration.
Supported on all 7210 SAS platforms as described in this document
This command configures the router ID for the router instance.
The router ID is used by both OSPF and BGP routing protocols in this instance of the routing table manager.
When a new router ID is configured, protocols are not automatically restarted with the new router ID. The next time a protocol is initialized, the new router ID is used. This can result in an interim period of time when different protocols use different router IDs.
To force the new router ID to be used, issue the shutdown and no shutdown commands for each protocol that uses the router ID, or restart the entire router.
By default, the system uses the system interface address (which is also the loopback address).
If a system interface address is not configured, use the last 32 bits of the chassis MAC address.
The no form of this command reverts to the default value.
Supported on all 7210 SAS platforms as described in this document
This command displays router instance information.
Supported on all 7210 SAS platforms as described in this document
Commands in this context display BGP related information.
Supported on all 7210 SAS platforms as described in this document
This command displays BGP sessions using a specific authentication keychain.
The following output is an example of authentication keychain information, and Table 64 describes the output fields.
Label | Description |
Peer address | Displays the IP address of the peer |
Group | Displays the BGP group name |
Keychain name | Displays the authentication keychain associated with the session, if applicable |
Supported on all 7210 SAS platforms as described in this document
This command displays BGP routes that have been dampened due to route flapping. This command can be entered with or without a route parameter. If no parameters are included, all dampened routes are listed.
When the keyword detail is included, more detailed information is displayed.
If a damp-type is specified, only those types of dampened routes (decayed, history, or suppressed) are displayed. Routes that have a state of decayed have gained penalties for flapping but have not yet reached the suppression limit. Routes that have a state of history have had a route flap and have been withdrawn. Routes that have a state of suppressed have reached the suppression limit and are not considered in BGP path selection.
ipv4-prefix: | a.b.c.d (host bits must be 0) |
ipv4-prefix-length: | 0 to 32 |
ipv6-prefix: | x:x:x:x:x:x:x:x (eight 16-bit pieces) |
x:x:x:x:x:x:d.d.d.d | |
x: [0 to FFFF]H | |
d: [0 to 255]D | |
ipv6-prefix-length: | 0 to 128 |
The following output is an example of BGP damping information, and Table 65 describes the output fields.
Label | Description |
BGP Router ID | Displays the local BGP router ID |
The local BGP router ID. | Displays the configured ASN |
Local AS | Displays the configured or inherited local AS for the specified peer group. If not configured, it is the same value as the AS. |
Network | Displays the route IP prefix and mask length for the route |
Flag(s) | Legend: Status codes: u- used, s-suppressed, h-history, d-decayed, *-valid. If a * is not present, then the status is invalid. Origin codes: i-IGP, e-EGP, ?-incomplete, >-best |
From | Displays the originator ID path attribute value |
Reuse time | Displays the time when a suppressed route can be used again |
From | Displays the originator ID path attribute value |
Reuse time | Displays the time when a suppressed route can be used again |
AS Path | Displays the BGP AS path for the route |
Peer | Displays the router ID of the advertising router |
NextHop | Displays the BGP next hop for the route |
Peer AS | Displays the ASN of the advertising router |
Peer Router-Id | Displays the router ID of the advertising router |
Local Pref | Displays the BGP local preference path attribute for the route |
Age | Displays the length of time in the hour/minute/second (HH:MM:SS) format. |
Last update | Displays the time when BGP was updated last in the day/hour/minute (DD:HH:MM) format |
FOM Present | Displays the current Figure of Merit (FOM) value |
Number of Flaps | Displays the number of route flaps in the neighbor connection |
Path | Displays the BGP AS path for the route |
Applied Policy | Displays the applied route policy name |
Supported on all 7210 SAS platforms as described in this document
This command displays group information for a BGP peer group. This command can be entered with or without parameters.
When this command is entered without a group name, information about all peer groups displays.
When the command is issued with a specific group name, information pertaining to only that specific peer group displays.
The ‘State’ field displays the BGP group operational state. Valid states are the following:
The following outputs are examples of BGP group information, and Table 66 describes the output fields:
Label | Description |
Group | Displays the BGP group name |
Group Type | No Type — Peer type not configured External — Peer type configured as external BGP peers Internal — Peer type configured as internal BGP peers |
State | Disabled — The BGP peer group has been operationally disabled Down — The BGP peer group is operationally inactive Up — The BGP peer group is operationally active |
Peer AS | Displays the configured or inherited peer AS for the specified peer group |
Local AS | Displays the configured or inherited local AS for the specified peer group |
Local Address | Displays the configured or inherited local address for originating peering for the specified peer group |
Loop Detect | Displays the configured or inherited loop detect setting for the specified peer group |
Connect Retry | Displays the configured or inherited connect retry timer value |
Authentication | None — No authentication is configured MD5 — MD5 authentication is configured |
Bfd | Yes — BFD is enabled No — BFD is disabled |
Local Pref | Displays the configured or inherited local preference value |
MED Out | Displays the configured or inherited MED value assigned to advertised routes without a MED attribute |
Min Route Advt. | Displays the minimum amount of time that must pass between route updates for the same IP prefix |
Min AS Originate | Displays the minimum amount of time that must pass between updates for a route originated by the local router |
Multihop | Displays the maximum number of router hops a BGP connection can traverse |
Prefix Limit | No Limit — No route limit assigned to the BGP peer group 1 to 4294967295 — The maximum number of routes BGP can learn from a peer |
Passive | Disabled — BGP attempts to establish a BGP connection with neighbor in the specified peer group Enabled — BGP will not actively attempt to establish a BGP connection with neighbor in the specified peer group |
Next Hop Self | Disabled — BGP is not configured to send only its own IP address as the BGP next hop in route updates to neighbors in the peer group Enabled — BGP sends only its own IP address as the BGP next hop in route updates to neighbors in the specified peer group |
Aggregator ID 0 | Disabled — BGP is not configured to set the aggregator ID to 0.0.0.0 in all originated route aggregates sent to the neighbor in the peer group Enabled — BGP is configured to set the aggregator ID to 0.0.0.0 in all originated route aggregates sent to the neighbor in the peer group |
Remove Private | Disabled — BGP will not remove all private AS numbers from the AS path attribute in updates sent to the neighbor in the peer group Enabled — BGP removes all private AS numbers from the AS path attribute in updates sent to the neighbor in the peer group |
Damping | Disabled — The peer group is configured not to dampen route flaps Enabled — The peer group is configured to dampen route flaps |
Export Policy | Displays the configured export policies for the peer group |
Import Policy | Displays the configured import policies for the peer group |
Hold Time | Displays the configured hold time setting |
Keep Alive | Displays the configured keepalive setting |
Client Reflect | Disabled — The BGP route reflector will not reflect routes to this neighbor Enabled — The BGP route reflector is configured to reflect routes to this neighbor |
NLRI | Displays the type of NLRI information that the specified peer group can accept Unicast — IPv4 unicast routing information can be carried |
Preference | Displays the configured route preference value for the peer group |
List of Peers | Displays a list of BGP peers configured under the peer group |
Total Peers | Displays the total number of peers configured under the peer group |
Established | Displays the total number of peers that are in an established state |
Supported on all 7210 SAS platforms as described in this document
This command displays BGP neighbor information. This command can be entered with or without any parameters.
When this command is issued without any parameters, information about all BGP peers displays.
When the command is issued with a specific IP address or ASN, information regarding only that specific peer or peers with the same AS displays.
When either received-routes or advertised-routes is specified, the routes received from or sent to the specified peer are listed (see Sample output for BGP neighbor received routes). This information is not available with SNMP.
When either history or suppressed is specified, the routes learned from those peers that either have a history or are suppressed are listed.
The State field displays the BGP peer protocol state. In addition to the standard protocol states, this field can also display the Disabled operational state, which indicates that the peer is operationally disabled and must be restarted by the operator.
ipv4-address: | a.b.c.d (host bits must be 0) | |
ipv6-address: | x:x:x:x:x:x:x:x[-interface] | |
x:x:x:x:x:x:d.d.d.d[-interface] | ||
x: | [0 to FFFF]H | |
d: | [0 to 255]D | |
interface: 32 characters maximum, mandatory for link local | ||
addresses. |
The following outputs are examples of BGP neighbor information. The associated tables describe the output fields.
Label | Description |
Peer | Displays the IP address of the configured BGP peer |
Group | Displays the BGP peer group to which this peer is assigned |
Peer AS | Displays the configured or inherited peer AS for the peer group |
Peer Address | Displays the configured address for the BGP peer |
Peer Port | Displays the TCP port number used on the far-end system |
Local AS | Displays the configured or inherited local AS for the peer group |
Local Address | Displays the configured or inherited local address for originating peering for the peer group |
Local Port | Displays the TCP port number used on the local system |
Peer Type | External — Peer type configured as external BGP peers Internal — Peer type configured as internal BGP peers |
Bfd | Yes — BFD is enabled No — BFD is disabled |
State | Idle — The BGP peer is not accepting connections Active — BGP is listening for and accepting TCP connections from this peer Connect — BGP is attempting to establish a TCP connections from this peer Open Sent — BGP has sent an OPEN message to the peer and is waiting for an OPEN message from the peer Open Confirm — BGP has received a valid OPEN message from the peer and is awaiting a KEEPALIVE or NOTIFICATION Established — BGP has successfully established a peering and is exchanging routing information |
Last State | Idle — The BGP peer is not accepting connections Active — BGP is listening for and accepting TCP connections from this peer Connect — BGP is attempting to establish a TCP connections from this peer Open Sent — BGP has sent an OPEN message to the peer and is waiting for an OPEN message from the peer Open Confirm — BGP has received a valid OPEN message from the peer and is awaiting a KEEPALIVE or NOTIFICATION |
Last Event | start — BGP has initialized the BGP neighbor stop — BGP has disabled the BGP neighbor open — BGP transport connection opened close — BGP transport connection closed openFail — BGP transport connection failed to open error — BGP transport connection error connectRetry — Connect retry timer expired holdTime — Hold time timer expired keepAlive — Keepalive timer expired recvOpen — Receive an OPEN message revKeepalive — Receive a KEEPALIVE message recvUpdate — Receive an UPDATE message recvNotify — Receive a NOTIFICATION message None — No events have occurred |
Last Error | Displays the last BGP error and subcode to occur on the BGP neighbor |
Connect Retry | Displays the configured or inherited connect retry timer value |
Local Pref. | Displays the configured or inherited local preference value |
Min Route Advt. | Displays the minimum amount of time that must pass between route updates for the same IP prefix |
Min AS Originate | Displays the minimum amount of time that must pass between updates for a route originated by the local router |
Multihop | Displays the maximum number of router hops a BGP connection can traverse |
Damping | Disabled — BGP neighbor is configured not to dampen route flaps Enabled — BGP neighbor is configured to dampen route flaps |
Loop Detect | Ignore — The BGP neighbor is configured to ignore routes with an AS loop Drop — The BGP neighbor is configured to drop the BGP peering if an AS loop is detected Off — AS loop detection is disabled for the neighbor |
MED Out | Displays the configured or inherited MED value assigned to advertised routes without a MED attribute |
Authentication | None — No authentication is configured MD5 — MD5 authentication is configured |
Next Hop Self | Disabled — BGP is not configured to send only its own IP address as the BGP nexthop in route updates to the specified neighbor Enabled — BGP will send only its own IP address as the BGP nexthop in route updates to the neighbor |
AggregatorID Zero | Disabled — The BGP Neighbor is not configured to set the aggregator ID to 0.0.0.0 in all originated route aggregates Enabled — The BGP Neighbor is configured to set the aggregator ID to 0.0.0.0 in all originated route aggregates |
Remove Private | Disabled — BGP will not remove all private AS numbers from the AS path attribute, in updates sent to the specified neighbor Enabled — BGP will remove all private AS numbers from the AS path attribute, in updates sent to the specified neighbor |
Passive | Disabled — BGP will actively attempt to establish a BGP connection with the specified neighbor Enabled — BGP will not actively attempt to establish a BGP connection with the specified neighbor |
Prefix Limit | No Limit — No route limit assigned to the BGP peer group 1 — 4294967295 — The maximum number of routes BGP can learn from a peer |
Hold Time | Displays the configured hold time setting |
Keep Alive | Displays the configured keepalive setting |
Active Hold Time | Displays the negotiated hold time if the BGP neighbor is in an established state |
Active Keep Alive | Displays the negotiated keepalive time if the BGP neighbor is in an established state |
Client Reflect | Disabled — The BGP route reflector is configured not to reflect routes to this neighbor Enabled — The BGP route reflector is configured to reflect routes to this neighbor |
Preference | Displays the configured route preference value for the peer group |
Num of Flaps | Displays the number of route flaps in the neighbor connection |
Recd. Prefixes | Displays the number of routes received from the BGP neighbor |
Active Prefixes | Displays the number of routes received from the BGP neighbor and active in the forwarding table |
Recd. Paths | Displays the number of unique sets of path attributes received from the BGP neighbor |
Suppressed Paths | Displays the number of unique sets of path attributes received from the BGP neighbor and suppressed due to route damping |
Input Queue | Displays the number of BGP messages to be processed |
Output Queue | Displays the number of BGP messages to be transmitted |
i/p Messages | Displays the total number of packets received from the BGP neighbor |
o/p Messages | Displays the total number of packets sent to the BGP neighbor |
i/p Octets | Displays the total number of octets received from the BGP neighbor |
o/p Octets | Displays the total number of octets sent to the BGP neighbor |
Export Policy | Displays the configured export policies for the peer group |
Import Policy | Displays the configured import policies for the peer group |
Label | Description |
BGP Router ID | Displays the local BGP router ID |
AS | Displays the configured autonomous system number |
Local AS | Displays the configured local AS setting If not configured, then it is the same value as the AS |
Flag | u - used s - suppressed h - history d - decayed * - valid i - igp e - egp ? - incomplete > - best |
Network | Displays the route IP prefix and mask length for the route |
Next Hop | Displays the BGP next hop for the route |
LocalPref | Displays the BGP local preference path attribute for the route |
MED | Displays the BGP Multi-Exit Discriminator (MED) path attribute for the route |
AS Path | Displays the BGP AS path for the route |
Label | Description |
Peer | Displays the IP address of the configured BGP peer |
Group | Displays the BGP peer group to which this peer is assigned |
Peer AS | Displays the configured or inherited peer AS for the peer group |
Peer Address | Displays the configured address for the BGP peer |
Peer Port | Displays the TCP port number used on the far-end system |
Local AS | Displays the configured or inherited local AS for the peer group |
Local Address | Displays the configured or inherited local address for originating peering for the peer group |
Local Port | Displays the TCP port number used on the local system |
Peer Type | External — peer type configured as external BGP peers Internal — peer type configured as internal BGP peers |
State | Idle — The BGP peer is not accepting connections (Shutdown) is also displayed if the peer is administratively disabled Active — BGP is listening for and accepting TCP connections from this peer Connect — BGP is attempting to establish a TCP connection with this peer Open Sent — BGP has sent an OPEN message to the peer and is waiting for an OPEN message from the peer Open Confirm — BGP has received a valid OPEN message from the peer and is awaiting a KEEPALIVE or NOTIFICATION Established — BGP has successfully established a peering session and is exchanging routing information |
Last State | Idle — The BGP peer is not accepting connections Active — BGP is listening for and accepting TCP connections from this peer Connect — BGP is attempting to establish a TCP connections with this peer Open Sent — BGP has sent an OPEN message to the peer and is waiting for an OPEN message from the peer Open Confirm — BGP has received a valid OPEN message from the peer and is awaiting a KEEPALIVE or NOTIFICATION |
Last Event | start — BGP has initialized the BGP neighbor stop — BGP has disabled the BGP neighbor open — BGP transport connection is opened close — BGP transport connection is closed openFail — BGP transport connection failed to open error — BGP transport connection error connectRetry — the connect retry timer expired holdTime — the hold time timer expired keepAlive — the keepalive timer expired recvOpen — BGP has received an OPEN message revKeepalive — BGP has received a KEEPALIVE message recvUpdate — BGP has received an UPDATE message recvNotify —BGP has received a NOTIFICATION message None — no events have occurred |
Last Error | Displays the last BGP error and subcode to occur on the BGP neighbor |
Local Family | Displays the configured local family value |
Remote Family | Displays the configured remote family value |
Hold Time | Displays the configured hold-time setting |
Keep Alive | Displays the configured keepalive setting |
Min Hold Time | Displays the configured minimum hold-time setting |
Active Hold Time | Displays the negotiated hold time, if the BGP neighbor is in an established state |
Active Keep Alive | Displays the negotiated keepalive time if the BGP neighbor is in an established state |
Cluster Id | Displays the configured route reflector cluster ID None — no cluster ID is configured |
Preference | Displays the configured route preference value for the peer group |
Num of Flaps | Displays the number of route flaps in the neighbor connection |
Recd. Prefixes | Displays the number of routes received from the BGP neighbor |
Recd. Paths | Displays the number of unique sets of path attributes received from the BGP neighbor |
IPv4 Recd. Prefixes | Displays the number of unique sets of IPv4 path attributes received from the BGP neighbor |
IPv4 Active Prefixes | Displays the number of IPv4 routes received from the BGP neighbor and active in the forwarding table |
IPv4 Suppressed Pfxs | Displays the number of unique sets of IPv4 path attributes received from the BGP neighbor and suppressed due to route damping |
VPN-IPv4 Suppr. Pfxs | Displays the number of unique sets of VPN-IPv4 path attributes received from the BGP neighbor and suppressed due to route damping |
VPN-IPv4 Recd. Pfxs | Displays the number of unique sets of VPN-IPv4 path attributes received from the BGP neighbor |
VPN-IPv4 Active Pfxs | Displays the number of VPN-IPv4 routes received from the BGP neighbor and active in the forwarding table |
IPv6 Recd. Prefixes | Displays the number of unique sets of IPv6 path attributes received from the BGP neighbor |
IPv6 Active Prefixes | Displays the number of IPv6 routes received from the BGP neighbor and active in the forwarding table |
VPN-IPv6 Recd. Pfxs | Displays the number of unique sets of VPN-IPv6 path attributes received from the BGP neighbor |
VPN-IPv6 Active Pfxs | Displays the number of VPN-IPv6 routes received from the BGP neighbor and active in the forwarding table |
VPN-IPv6 Suppr. Pfxs | Displays the number of unique sets of VPN-IPv6 path attributes received from the BGP neighbor and suppressed due to route damping |
Backup IPv4 Pfxs | Displays the number of BGP FRR backup path IPv4 prefixes |
Backup IPv6 Pfxs | Displays the number of BGP FRR backup path IPv6 prefixes |
Backup Vpn IPv4 Pfxs | Displays the number of BGP FRR backup path VPN IPv4 prefixes |
Backup Vpn IPv6 Pfxs | Displays the number of BGP FRR backup path VPN IPv6 prefixes |
Input Queue | Displays the number of BGP messages to be processed |
Output Queue | Displays the number of BGP messages to be transmitted |
i/p Messages | Displays the total number of packets received from the BGP neighbor |
o/p Messages | Displays the total number of packets sent to the BGP neighbor |
i/p Octets | Displays the total number of octets received from the BGP neighbor |
o/p Octets | Displays the total number of octets sent to the BGP neighbor |
i/p Updates | Displays the total number of updates received from the BGP neighbor |
o/p Updates | Displays the total number of updates sent to the BGP neighbor |
TTL Security | Enabled — TTL security is enabled Disabled — TTL security is disabled |
Min TTL Value | Displays the minimum TTL value configured for the peer |
Graceful Restart | Displays the state of graceful restart |
Stale Routes Time | Displays the length of time that stale routes are kept in the route table |
Advertise Inactive | Displays the state of advertising inactive BGP routes to other BGP peers (enabled or disabled) |
Peer Tracking | Displays the state of tracking a neighbor IP address in the routing table for a BGP session |
Advertise Label | Displays the enabled address family for supporting RFC 3107 BGP label capability |
Auth key chain | Displays the value for the authentication key chain |
Bfd Enabled | Enabled — BFD is enabled Disabled — BFD is disabled |
Local Capability | Displays the capability of the local BGP speaker; for example, route refresh, MP-BGP, ORF |
Remote Capability | Displays the capability of the remote BGP peer; for example, route refresh, MP-BGP, ORF |
Local AddPath Capabi* | Displays the state of the local BGP add-paths capabilities The add-paths capability allows the router to send and receive multiple paths per prefix to or from a peer |
Remote AddPath Capab* | Displays the state of the remote BGP add-paths capabilities |
Import Policy | Displays the configured import policies for the peer group |
Export Policy | Displays the configured export policies for the peer group |
Supported on all 7210 SAS platforms as described in this document
This command displays BGP next-hop information.
ipv4-address: | a.b.c.d (host bits must be 0) | |
ipv6-address: | x:x:x:x:x:x:x:x[-interface] | |
x:x:x:x:x:x:d.d.d.d[-interface] | ||
x: | [0 to FFFF]H | |
d: | [0 to 255]D | |
interface: 32 characters maximum, mandatory for link local addresses. |
The following output is an example of BGP next-hop information, and Table 70 describes the output fields.
Label | Description |
BGP ID | Displays the local BGP router ID |
AS | Displays the configured ASN |
Local AS | Displays the configured local AS setting. If not configured, then the value is the same as the AS. |
Next Hop | Displays the next-hop address |
Resolving Prefix | Displays the prefix of the best next hop. |
Owner | Displays the routing protocol used to derive the best next hop |
Preference | Displays the BGP preference attribute for the routes |
Reference Count | Displays the number of routes using the resolving prefix |
Resolved Next Hop | Displays the IP address of the next hop |
Supported on all 7210 SAS platforms as described in this document
This command displays a summary of BGP path attributes.
The following output is an example of BGP path attributes information, and Table 71 describes the output fields.
Label | Description |
BGP Router ID | Displays the local BGP router ID |
AS | Displays the configured autonomous system number |
Local AS | Displays the configured local AS setting. If not configured, then the value is the same as the AS. |
Path | Displays the AS path attribute |
Origin | EGP - The NLRI is learned by an EGP protocol IGP - The NLRI is interior to the originating AS INCOMPLETE - NLRI was learned another way |
Next Hop | Displays the advertised BGP next hop |
MED | Displays the MED value |
Local Preference | Displays the local preference value. This value is used if thet BGP route arrives from a BGP peer without the Local Pref attribute set. It is overridden by any value set via a route policy. |
Refs | Displays the number of routes using a specified set of path attributes |
ASes | Displays the number of autonomous system numbers in the AS path attribute |
Segments | Displays the number of segments in the AS path attribute |
Flags | EBGP-learned - Path attributes learned by an EBGP peering IBGP-Learned - Path attributes learned by an IBGP peering |
Aggregator | Displays the route aggregator ID |
Community | Displays the BGP community attribute list |
Originator ID | Displays the originator ID path attribute value |
Supported on all 7210 SAS platforms as described in this document
This command displays BGP route information.
When this command is issued without any parameters, the entire BGP routing table displays.
When this command is issued with an IP prefix/mask or IP address, the best match for the parameter displays.
rd:[ip-address[/mask]] | |
rd | ip-address:number1 |
as-number1:number2 | |
as-number2:number3 | |
number1 | 1 to 65535 |
as-number1 | 1 to 65535 |
number2 | 0 to 4294967295 |
as-number2 | 1 to 4294967295 |
number3 | 0 to 65535 |
ip-address | a.b.c.d |
mask | 0 to 32 |
[as-number1:comm-val1 | ext-comm | well-known-comm] | |
ext-comm | type:{ip-address:comm-val1 | as-number1:comm-val2 | as-number2:comm-val1} |
as-number1 | 0 to 65535 |
comm-val1 | 0 to 65535 |
type | target, origin |
ip-address | a.b.c.d |
comm-val2 | 0 to 4294967295 |
as-number2 | 0 to 4294967295 |
well-known-comm no-export, no-export-subconfed, no-advertise |
If the offset<= local VE-ID <= offset+VBS-1 (VBS = virtual block size = 8 in our implementation), the NLRI is processed. Otherwise it is ignored.
The NLRI with this offset is generated as soon as the first VE ID value between (offset, offset + VBS-1) is advertised in the network.
The following outputs are examples of BGP route information, and the associated tables describe the output fields.
Label | Description |
BGP Router ID | Displays the local BGP router ID |
AS | Displays the configured autonomous system number |
Local AS | Displays the configured local AS setting If not configured, then the value is the same as the AS |
Route Dist. | Displays the route distinguisher identifier attached to routes that distinguishes the VPN it belongs |
VPN Label | Displays the label generated by the PE label manager |
Network | Displays the IP prefix and mask length |
Nexthop | Displays the BGP next hop |
From | Displays the advertising BGP neighbor IP address |
Res. Nexthop | Displays the resolved next hop |
Local Pref. | Displays the local preference value This value is used if the BGP route arrives from a BGP peer without the Local Pref attribute set It is overridden by any value set via a route policy |
Flag | u - used s - suppressed h - history d - decayed * - valid i - igp e - egp ? - incomplete > - best |
Aggregator AS | Displays the aggregator AS value none - Aggregator AS attributes are not present |
Aggregator | Displays the aggregator attribute value none - Aggregator attributes are not present |
Atomic Aggr. | Atomic - The atomic aggregator flag is set Not Atomic - The atomic aggregator flag is not set |
MED | Displays the MED metric value none - MED metrics are present |
Community | Displays the BGP community attribute list |
Originator Id | Displays the originator ID path attribute value none - The originator ID attribute is not present |
Peer Router Id | Displays the router ID of the advertising router |
AS-Path | Displays the BGP AS path attribute |
VPRN Imported | Displays the VPRNs where a particular BGP-VPN received route has been imported and installed |
Label | Description |
BGP Router ID | Displays the local BGP router ID |
AS | Displays the configured autonomous system number |
Local AS | Displays the configured local AS setting. If not configured, then the value is the same as the AS |
BGP IPv4 Routes | |
Flag | u - used s - suppressed h - history d - decayed * - valid i - igp e - egp ? - incomplete > - best |
Network | Displays the IP prefix and mask length |
Nexthop | Displays the BGP next hop |
AS-Path | Displays the BGP AS path attribute |
Local Pref. | Displays the local preference value This value is used if the BGP route arrives from a BGP peer without the Local Pref attribute set It is overridden by any value set via a route policy |
MED | Displays the MED metric value none - MED metrics are present |
Path-Id | Displays the path ID None - The path ID is not present |
Label | Displays the MPLS label associated with the BGP route |
Routes | Displays the number of routes |
Label | Description |
Flag | u - used s - suppressed h - history d - decayed * - valid i - igp e - egp ? - incomplete > - best |
ESI | Displays the Ethernet segment ID value |
Route Dist. Tag | Displays the route distinguisher tag |
OrigAddr | Displays the BGP originator address |
Nexthop | Displays the BGP next hop |
MacAddr | Displays the MAC address |
Routes | Displays the number of routes |
Supported on all 7210 SAS platforms as described in this document
This command displays a summary of BGP neighbor information.
The State field displays the global BGP operational state. The valid values are the following:
For example, if a BGP peer is operationally disabled, the state in the summary table shows the state Disabled.
ipv4-address: | a.b.c.d (host bits must be 0) | |
ipv6-address: | x:x:x:x:x:x:x:x[-interface] | |
x:x:x:x:x:x:d.d.d.d[-interface] | ||
x: | [0 to FFFF]H | |
d: | [0 to 255]D | |
interface: 32 characters maximum, mandatory for link local addresses. |
The following output is an example of summary BGP neighbor information, and Table 75 describes the output fields.
Label | Description |
BGP Router ID | Displays the local BGP router ID |
AS | Displays the configured autonomous system number |
Local AS | Displays the configured local AS setting. If not configured, then the value is the same as the AS. |
BGP Admin State | Down - BGP is administratively disabled Up - BGP is administratively enabled |
BGP Oper State | Down - BGP is operationally disabled Up - BGP is operationally enabled |
Bfd | Yes - BFD is enabled No - BFD is disabled |
Number of Peer Groups | Displays the total number of configured BGP peer groups |
Number of Peers | Displays the total number of configured BGP peers |
Total BGP Active Routes | Displays the total number of BGP routes used in the forwarding table |
Total BGP Routes | Displays the total number of BGP routes learned from BGP peers |
Total BGP Paths | Displays the total number of unique sets of BGP path attributes learned from BGP peers |
Total Path Memory | Displays the total amount of memory used to store the path attributes |
Total Suppressed Routes | Displays the total number of suppressed routes due to route damping. |
Total History Routes | Displays the total number of routes with history due to route damping |
Total Decayed Routes | Displays total number of decayed routes due to route damping |
Total VPN Peer Groups | Displays the total number of configured VPN peer groups |
Total VPN Peers | Displays the total number of configured VPN peers |
Total VPN Local Rts | Displays the total number of configured local VPN routes |
Total VPN Remote Rts | Displays the total number of configured remote VPN routes |
Total VPN Remote Active Rts. | Displays the total number of active remote VPN routes used in the forwarding table |
Total VPN Supp.Rts. | Displays the total number of suppressed VPN routes due to route damping |
Total VPN Hist. Rts. | Displays the total number of VPN routes with history due to route damping |
Total VPN Decay Rts. | Displays the total number of decayed routes due to route damping |
Neighbor | Displays the BGP neighbor address |
AS (Neighbor) | Displays the BGP neighbor autonomous system number |
PktRcvd | Displays the total number of packets received from the BGP neighbor |
PktSent | Displays the total number of packets sent to the BGP neighbor |
InQ | Displays the number of BGP messages to be processed |
OutQ | Displays the number of BGP messages to be transmitted |
Up/Down | Displays the amount of time that the BGP neighbor has either been established or not established depending on its current state |
State|Recv/Actv/Sent | Displays the BGP neighbor’s current state (if not established) or the number of received routes, active routes and sent routes (if established) |
Supported on all 7210 SAS platforms as described in this document
This command clears or resets the route damping information for received routes.
ipv4-prefix: | a.b.c.d (host bits must be 0) |
ipv4-prefix-length: | 0 to 32 |
ipv6-prefix: | x:x:x:x:x:x:x:x (eight 16-bit pieces) |
x:x:x:x:x:x:d.d.d.d | |
x: [0 to FFFF]H | |
d: [0 to 255]D | |
ipv6-prefix-length: | 0 to 128 |
Supported on all 7210 SAS platforms as described in this document
This command clears route flap statistics.
ip-prefix: | a.b.c.d (host bits must be 0) |
mask: | 0 to 32 |
ipv6-prefix: | x:x:x:x:x:x:x:x (eight 16-bit pieces) |
x:x:x:x:x:x:d.d.d.d | |
x: [0 to FFFF]H | |
d: [0 to 255]D | |
ipv6-prefix-length: | 0 to 128 |
Supported on all 7210 SAS platforms as described in this document
This command resets the specified BGP peers. This can cause existing BGP connections to be shut down and restarted.
Supported on all 7210 SAS platforms as described in this document
This command resets the entire BGP protocol.
Supported on all 7210 SAS platforms as described in this document
This command logs all events changing the state of a BGP peer.
Supported on all 7210 SAS platforms as described in this document
This command decodes and logs all sent and received keepalive messages in the debug log.
Supported on all 7210 SAS platforms as described in this document
This command decodes and logs all sent and received notification messages in the debug log.
Supported on all 7210 SAS platforms as described in this document
This command decodes and logs all sent and received open messages in the debug log.
Supported on all 7210 SAS platforms as described in this document
This command enables debugging for all BGP outbound route filtering (ORF) packets. ORF is used to inform a neighbor of targets (using target-list) that it is willing to receive.
Supported on all 7210 SAS platforms as described in this document
This command decodes and logs all sent and received BGP packets in the debug log.
Supported on all 7210 SAS platforms as described in this document
This command enables and disables debugging for BGP route-refresh.
Supported on all 7210 SAS platforms as described in this document
This command logs RTM changes in the debug log.
Supported on all 7210 SAS platforms as described in this document
This command logs all TCP socket events to the debug log.
Supported on all 7210 SAS platforms as described in this document
This command logs all BGP timer events to the debug log.
Supported on all 7210 SAS platforms as described in this document
This command decodes and logs all sent and received update messages in the debug log.