Configuration commands (continued)
Use these M4500 CLI commands to configure BGP neighbor shutdown, timers, communities, address families, distance, default routes, maximum paths, redistribution, and filters.
neighbor shutdown
This command is used to bring down the adjacency with a specific neighbor. If the adjacency is up when the command is given, the peering session is dropped and all route information learnt from that peer is purged. When an adjacency is administratively shutdown, the adjacency stays down until administratively re-enabled by using no neighbor shutdown command.
To administratively reenable the neighbor, use the no form of this command.
| Default | Neighbors are not shutdown |
| Format |
|
| Mode |
Router BGP Config Mode IPv4 VRF Address Family |
| Fields | Definition |
|---|---|
| ipv4-address | IPv4 address of the neighboring router. |
| ipv6-address | IPv6 address of the neighboring router. Not support IPv4 VRF address family mode. |
| Interface | If the neighbor’s IPv6 address is a link local address, the local interface must be specified as well. Not support IPv4 VRF address family mode. |
| autodetect interface | The routing interface on which the neighbor’s IPv6 link local address is auto detected. |
neighbor timers
This command is used to override the global timer values and set the keepalive and hold timers for a specific BGP peer. The new values are not applied to adjacencies already in the ESTABLISHED state. A new keepalive or hold time is applied the next time an adjacency is formed.
To revert the keep alive and hold time for a specific peer, use the no form of this command. After executing this command, the BGP peer must be reset before the changes take effect.
| Default |
The default value of <keepalive> is 60 seconds. The default value of <holdtime> is 180 seconds. |
| Format |
|
| Mode |
Router BGP Config Mode IPv4 VRF Address Family |
| Fields | Definition |
|---|---|
| ipv4-address | IPv4 address of the neighboring router. |
| ipv6-address | IPv6 address of the neighboring router. Not support under IPv4 VRF address family mode. |
| Interface | If the neighbor’s IPv6 address is a link local address, the local interface must be specified as well. Not support under IPv4 VRF address family mode. |
| autodetect interface | The routing interface on which the neighbor’s IPv6 link local address is auto detected. |
| Keepalive | Frequency (in seconds) with which the router sends keepalive messages to its peer. The range is from 0 to 65535. |
| Holdtime | The time (in seconds) that BGP continues to consider a neighbor to be alive without receiving a BGP KEEPALIVE or UPDATE packet from the neighbor. If no KEEPALIVE is received from a neighbor for longer than this value, BGP drops the adjacency. If the hold time is set to 0, BGP does not enforce a hold time and does not send periodic KEEPALIVE messages. The range is from 0 to 65535. |
neighbor advertisement-interval
This command is used to configure the minimum time that must elapse between advertisement of the same route to a give neighbor. This value does not limit the rate of route selection but only the rate of route advertisement. If BGP changes the route to a destination multiple times while waiting for the advertisement interval to expire, only the final result is advertised to the neighbor. The interval applies to withdrawals as well as advertisements.
To revert to the default minimum time that must elapse between advertisements of the same route to a given neighbor, use the no form of this command.
| Default | 30 seconds for external peers and 5 seconds for internal peers |
| Format |
|
| Mode |
Router BGP Config Mode IPv6 Address Family Config Mode IPv4 VRF Address Family |
| Fields | Definition |
|---|---|
| ipv4-address | IPv4 address of the neighboring router. |
| ipv6-address | IPv6 address of the neighboring router. Not support IPv4 VRF address family mode. |
| Interface | If the neighbor’s IPv6 address is a link local address, the local interface must be specified as well. Not support IPv4 VRF address family mode. |
| autodetect interface | The routing interface on which the neighbor’s IPv6 link local address is auto detected. |
| Seconds | The minimum time between route advertisement, in seconds. Range is from 0 to 600. |
neighbor send-community
This command is used to configure the router to send the BGP community attributes in Update messages to a specific neighbor.
To revert to default configuration, use the no form of this command.
| Default | The communities attribute is not sent to neighbors |
| Format |
|
| Mode |
Router BGP Config Mode IPv6 Address Family Config Mode IPv4 VRF Address Family |
| Fields | Definition |
|---|---|
| ipv4-address | IPv4 address of the neighboring router. |
| ipv6-address | IPv6 address of the neighboring router. Not support IPv4 VRF addres family mode. |
| Interface | If the neighbor’s IPv6 address is a link local address, the local interface must be specified as well. Not support IPv4 VRF address family mode. |
| autodetect interface | The routing interface on which the neighbor’s IPv6 link local address is auto detected. |
neighbor send-community extended
This command is used to configure the router to send the BGP community attributes in Update messages to a specific neighbor. The BGP community attributes can be configurable.
To disable the exchange of VPNv4 prefixes with the neighbor, use the no form of this command.
| Default | The communities attribute is not sent to neighbors |
| Format |
|
| Mode | VPNv4 Address Family Config Mode |
| Fields | Definition |
|---|---|
| ipv4-address | IPv4 address of the neighboring router. |
| extended | both |
One of the following: Extended enables the router to send only extended community attributes. Both enables the router to send both standard and extended community attributes. |
neighbor active
This command is used to enable exchange of IPv6 routes with a neighbor. The neighbor address must be the same IP address used in the neighbor remote-as command to create peer.
When IPv6 is enabled or disabled for a neighbor, the adjacency is brought down and restarted to communicate to the change to the peer. You should completely configure IPv6 policy for the peer before activating the peer.
To disable exchange of IPv6 routes, use the no form of this command.
| Default | None |
| Format |
|
| Mode |
IPv6 Address Family Config Mode IPv4 VRF Address Family |
| Fields | Definition |
|---|---|
| ipv4-address | IPv4 address of the neighboring router. |
| ipv6-address | IPv6 address of the neighboring router. Not support under IPv4 VRF address family mode. |
| Interface | If the neighbor’s IPv6 address is a link local address, the local interface must be specified as well. Not support under IPv4 VRF address family mode. |
| autodetect interface | The routing interface on which the neighbor’s IPv6 link local address is auto detected. |
neighbor rfc5549-support
The enable advertisement of IPv4 routes over IPv6 next hops selectively to an external BGP IPv6 peer, use the command neighbor rfc5549-support in BGP Router Configuration mode. This command may only be applied to external BGP peers via single hop.
To disable advertisement/process of RFC 5549 routes for BGP neighbors, use the no form of the command.
| Default | Enabled |
| Format |
|
| Mode | BGP Router Configuration Mode |
| Fields | Definition |
|---|---|
| ipv6-address | IPv6 address of the neighboring router. |
| Autodetect interface <slot/port> | The routing interface on which the neighbor’s link local IPv6 address is auto detected. |
distance
This command is used to set the preference (also known as administrative distance) of BGP routes to specific destinations. Up to 128 instances of this commands are allowed. If a distance command is configured that matches an existing distance command’s prefix and wildcard mask, the new command replaces the existing command. There can be overlap between the prefix and wildcard mask configured for different commands. When there is overlap, the command whose prefix and wildcard mask are the longest match for a neighbor’s address is applied to routes from that neighbor.
An ECMP route’s distance is determined by applying distance commands to the neighbor that provided the best path.
The change to the BGP distances does not affect existing routes. To apply a distance change to existing routes, you must force the routes to be deleted from the routing table and relearned, either by resetting the peers from which the routes are learnt or by disabling and re-enabling BGP.
To return to the default values, use the no form of this command.
| Default | BGP assigns preference values according to the distance bgp command, unless overridden for specific neighbors or prefixes by this command |
| Format |
|
| Mode | Router BGP Config Mode |
| Fields | Definition |
|---|---|
| 1-255 | The preference value for matching routes. The range is from 1 to 255. |
| peer-range, wildcard-mask | Routes learned from BGP peers whose address falls within this prefix are assigned the configured preference value. The wildcard-mask is an inverted network mask whose 1 bits indicate the don’t care portion of the prefix. |
| prefix-list | A prefix list can optionally be specified to limit the preference value to a specific set of destination prefixes learned from matching neighbors. |
distance bgp
This command is used to set the preference (also known as administrative distance) of BGP routes. Different distance values can be configured for routes learnt from external peers, routes learnt from internal peers, and BGP routes locally originated. A route with a lower preference value is preferred to a route with a higher preference value to the same destination. Routes with a preference of 255 may not be selected as best routes and used for forwarding.
The change to the BGP distances does not affect existing routes. To apply a distance change to existing routes, you must force the routes to be deleted from the routing table and relearned, either by resetting the peers from which the routes are learnt or by disabling and re-enabling BGP.
To return to the default values, use the no form of this command.
| Default |
external-distance: 20 internal-distance: 200 local-distance: 200 |
| Format |
|
| Mode |
Router BGP Config Mode IPv6 Address Family Config Mode IPv4 VRF Address Family |
| Fields | Definition |
|---|---|
| external-distance | The preference value for routes learnt from external peers. The range is from 1 to 255. |
| internal-distance | The preference value for routes learnt from internal peers. The range is from 1 to 255. |
| local-distance | The preference value for locally-originated routes. The range is from 1 to 255. |
default-information originate
This command is used to allow BGP to originate a default route. By default, BGP does not originate a defatul route. If a default route is redistributed into BGP, BGP does not advertise the default route unless this command is issued. To disable this function, use the no form of this command.
| Format | default-information originate <always> |
no default-information originate
| Fields | Definition |
|---|---|
| <always> | Originate a default route even if routing table doesn't have one. Disable by default. |
| Default | Disable |
| Mode |
Router BGP Config Mode IPv6 Address Family Config Mode IPv4 VRF Address Family |
maximum-paths
This command is used to configure the maximum number of next hops BGP may include in an Equal Cost Multipath (ECMP) route derived from paths received from neighbors within or outside the local AS.
Paths are considered for ECMP when their attributes are the same (local preference, AS path, origin, MED, peer type and IGP distance). When BGP uses multiple paths in an ECMP route, BGP still selects one path as the best path and advertises only that path to its peers.
To restore the default value, use the no form of this command.
| Default | Single next hop |
| Format |
|
| Mode |
Router BGP Config Mode IPv6 Address Family Config Mode IPv4 VRF Address Family |
| Fields | Definition |
|---|---|
| Ibgp | Specifies the maximum number of next hops in a BGP route derived from paths received from neighbors withint the local AS. |
| Number | Specifies the maximum number of next hops in a BGP route. The range is from 1 to 32. |
default-metric
This command is used to configure the value of the Multi Exit Discriminator (MED) attribute for routes redistributed into Border Gateway Protocol (BGP) when no metric has been specified in the command redistribute for BGP. To delete the default for the metric of redistributed routes, use the no form of this command.
| Default | No default metric is set and no MED is included in redistributed routes |
| Format |
|
| Mode |
Router BGP Config Mode IPv6 Address Family Config Mode IPv4 VRF Address Family |
| Fields | Definition |
|---|---|
| <number> | Default metric value applied to the redistributed route. The range of values for this argument is from 1 to 4294967295. |
redistribute
This command is used to redistribute routes from outside into BGP routing domain. BGP can redistribute local (connected), static, and OSPF routes.
A default route cannot be redistributed unless the default-information originate command is issued.
If a route map is configured, match as-path and match community terms are ignored. If no route map is configured with the name given, no prefixes are redistributed.
To disable redistribution, use the no form of this command.
| Default | BGP redistributes no route |
| Format |
|
| Mode |
Router BGP Config Mode IPv6 Address Family Config Mode IPv4 VRF Address Family |
| Fields | Definition |
|---|---|
| Protocol | Source protocol from which routes are being redistributed. It can be one of the following keywords: connected, ospf, static, connected. |
| metric <0-4294967295> | When this option is specified, BGP advertises the prefix with the MED path attribute set to the configured value. If this option is not specified but a default metric is configured by default-information originate command, the MED is set to the default metric. If a default metric is not configured, the prefix is advertised without a MED attribute. |
| Match | Use this option to redistribute specific types of OSPF routes. |
| route-map-name | Identifier of a configured route map. The route map should be examined to filter the networks to be redistributed. A route map can be used to set attributes on redistribution routes. |
distribute-list in
This command is used to filter routes received in incoming Border Gateway Protocol (BGP) updates based on destination prefix. The distribute list is applied to all routes received from all neighbors. Only routes permitted by the prefix list are accepted. If the command refers to a prefix list which does not exist, the command is accepted and all routes are permitted.
To disable the filter, use the no form of this command.
| Default | None |
| Format |
|
| Mode |
Router BGP Config Mode IPv4 VRF Address Family |
| Fields | Definition |
|---|---|
| list-name | Name of a prefix list. The list defines which networks are to be received and which are to be suppressed in routing updates, based upon matching destination prefixes in the prefix list. |
distribute-list out
This command is used to configure a filter that restricts the advertisement of routes based on destination prefix. Only one instance of this command may be defined for each route source (connected, OSPF, or static). One instance of this command may also be configured as a global filter for outbound prefixes. If the command refers to a prefix list which does not exist, the command is accepted and all routes are permitted. When a distribute list is added, changed, or deleted for route redistribution, BGP automatically reconsiders all best routes.
To disable the filter, use the no form of this command.
| Default | None |
| Format |
|
| Mode |
Router BGP Config Mode IPv4 VRF Address Family |
| Fields | Definition |
|---|---|
| list-name | Name of a prefix list. The list defines which networks are to be received and which are to be suppressed in routing updates, based upon matching destination prefixes in the prefix list. |
| connected | ospf | static | When a route source is specified, the distribute list applies to routes redistributed from that source. Only routes that pass the distribute list are redistributed. |
ip bgp fast-external-failover {deny|permit}
This command configures fast external failover behavior for a specific routing interface. This command overrides the global configured fast external failover behavior. If permit is specified, the feature is enabled on the interface, regardless of the global configuration. If the deny is specified, the feature is disabled on the interface, regardless of the global configuration.
To disable the filter, use the no form of this command.
| Default | None |
| Format |
|
| Mode | Interface Config |
| Fields | Definition |
|---|---|
| Permit | Enable fast external failover on the interface, regardless of the global configuration of the fearture. |
| Deny | Disable fast external failover on the interface, regardless of the global configuration of the fearture. |
network
This command is used to advertise an address prefix. The prefix is only advertised if the common routing table includes a non-BGP route with the same prefix. The route may be a connected route, a static route, or a dynamic route from another routing protocol.
BGP accepts up to 64 networks per address family. The network command may specify a default route.
If a route map is configured to set attributes on the advertised routes, match as-path and match community terms in the route map are ignored. If there is no route map with the name given, the network is not advertised.
To disable BGP from advertising an address prefix, use the no form of this command.
| Default | No networks are advertised |
| Format |
|
| Mode |
Router BGP Config Mode IPv4 VRF Address Family |
| Fields | Definition |
|---|---|
| Ipaddress | An address prefix that BGP will advertise. |
| Mask | Network mask for the prefix. |
| route-map-name | Identifier of a configured route map. The route map should be examined to filter the networks to be advertised. |
network <ipv6-prefix>/<prefix-length>
This command is used to advertise an IPv6 prefix. The prefix is only advertised if the common routing table includes a non-BGP route with the same prefix. The route may be a connected route, a static route, or a dynamic route from another routing protocol.
BGP accepts up to 64 networks per address family. The network command may specify a default route.
If a route map is configured to set attributes on the advertised routes, match as-path and match community terms in the route map are ignored. If there is no route map with the name given, the network is not advertised.
To disable BGP from advertising an IPv6 prefix, use the no form of this command.
| Default | No networks are advertised |
| Format |
|
| Mode | IPv6 Address Family Config Mode |
| Fields | Definition |
|---|---|
| ipv6-prefix | An IPv6 prefix that BGP will advertise. |
| prefix-length | The prefix length of the IPv6 prefix. |
| route-map-name | Identifier of a configured route map. The route map should be examined to filter the networks to be advertised. |
template peer
This command is used to create a BGP peer template and enter BGP peer template mode for the specified template. Peer template is a configuration feature that allows you to share policies between neighbors. Neighbors can then be configured to inherit parameters from the peer template. A peer template can include both session parameters and peer policies. Peer policies are configured with an address family configuration mode and apply only to that address family. You can configure up to 32 peer templates.
To delete a peer template, use the no form of this command.
| Default | None |
| Format |
|
| Mode | Router BGP Config Mode |
| Fields | Definition |
|---|---|
| template name | Name of the peer template. The name may be no more than 32 characters. |
clear ip bgp
This command is used to resets peering sessions with all or a subnet of BGP peers. The command arguments specify which peering sessions are reset and the type of reset performed.
| Format | clear ip bgp { [vrf <vrf-name>] {* [soft [in | out]] | <1-4294967295> | <neighbor-address> [ [ interface {<slot/port> | vlan <1-4093>} ] soft [in | out] ] | counters } } | interface {<slot/port> | vlan <1-4093>} [soft [in | out] ] | listen range <prefix>/<prefix-length> [soft [in | out] ] |
* Resets adjacency with every BGP peer.
| Fields | Definition |
|---|---|
| vrf-name | Display the BGP route table whithin a VRF instance. |
| 1-4294967295 | Specify the BGP peer’s AS number for which the adjacency will be reset. |
| neighbor-address | Sepcify the IPv4 and IPv6 address of the peer for which the adjacency will be reset. |
| Interface | Specify the interface for IPv6 link local peer address for which the adjacency will be reset. |
| listen range | The IP address range to listen BGP peers. |
| prefix/prefix-length | Specify the listen range IP prefix and prefix length to be created. |
| Soft | By default, adjacencies are torn down and re-established. If this option is specified, RGP resends all updates to neighbors and reprocesses updates from the neighbors. |
| in/out | If the in option is given, updates from the neighbors are reprocessed. If the out option is given, updates are resent to the neighbors. If neither keywords is given, updates are reprocessed in both directions. |
| Default | None |
| Mode |
Privileged EXEC User EXEC |
clear ip bgp counters
This command is used to resets all BGP counters to 0. These counters include send and receive packet and prefix counters for all neighbors.
| Default | None |
| Format | Clear ip bgp counters |
| Mode |
Privileged EXEC User EXEC |
ip as-path access-list
This command is used to create an AS path access list. An AS path access list filters BGP routes on the AS PATH attribute of a BGP route. An AS path access list is an ordered sequence of statements. Each statement specifies a regular expression and a permit or deny action. If the regular expression matches the AS path of the route expressed as an ASCII string, the route is considered as a match and the statement’s action is taken. An AS path list has an implicit deny statement at the end. If a path does not match any of the statement in an AS path list, the action is considered to be deny.
Once you have created an AS path list, you cannot delete an individual statement. If you want to remove an individual statement, you must delete the AS path list and recreate it without the statement to be deleted.
Statements are applied in the order in which they are created. New statements are added to the end of the list. The statement with the first matching regular expression is applied.
128 AS path access lists are allowed to be configured with up to 64 statements each.
To enter the question mark within a regular expression, you must first enter CTRL-V to prevent the CLI from interpreting the question mark as a request for help.
To delete an AS path access list, use the no form of this command.
| Default | None |
| Format |
|
| Mode | Global Config |
| Fields | Definition |
|---|---|
| 1-500 | A number uniquely identifying the list. All AS path access list commands with the same this number are considered part of the same list. |
| Permit | Permit the routes whose AS PATH attribute matches the regular expression. |
| Deny | Deny the routes whose AS PATH attribute matches the regular expression. A regular expression used to match the AS PATH attribute of a BGP route where the AS path is treated as an ASCII string. |
| Regexp |
AS path regular expression syntax: asterisk(*): Matches zero or more sequences of the pattern. brackets([]): Designates a range of single-character patterns. caret(^): Matches the beginning of the input string. dollar sign($): Matches the end of the input string. hyphen(-): Separates the end points of a range. period(.): Matches any single character, including white space. plus sign(.): Matches 1 or more sequences of the pattern. period(.): Matches any single character, including white space. question mark(?): Matches 1 or more occurrences of the pattern. underscore (_): Matches a comma (,), left brace ({),right brace (}), left parenthesis, right parenthesis, the beginning of the input string, the end of the input string, or a space. |
ip bgp-community new-format
This command is used to display BGP standard communities in the new format AA:NN. The new format displays a community number as the ASN followed by a 16-bit AS-specific number.
To display BGP standard communities as 32-bit integers, use the no form of this command.
| Default | None |
| Format |
|
| Mode | Global Config |
ip community-list
This command is used to create or configure a BGP community list. A community list statement with no community values is considered a match for all routes, regardless of their community membership. So the statement ip community-list standard testlist permit is a permit all statement.
A community number may be entered in either format, as a 32-bit integer or a pair of 16-bit integers separated by a colon, regardless of whether the ip bgp-community new-format command is active. Up to 16 communities, including the well-known communities, can be listed in a single command. Up to 32 statements may be configured with a given community list name. Up to 128 unique community list names may be configured.
To delete a community list, use the no form of this command.
| Default | None |
| Format |
|
| Mode | Global Config |
| Fields | Definition |
|---|---|
| list-name | Identifies a named standard community list. The name may contain up to 32 characters. |
| Permit | Indicates that matching routes are permitted. |
| Deny | Indicates that matching routes are denied. |
| Community | Specify a community number formatted as a 32-bit integers or in AA:NN format, where AA is a 2-byte AS number and NN is a 16 bit integer. The range is from 1 to 4294967295 (any 32-bit integer other than 0). Communities are separated by spaces. |
| no-advertise | Specify the routes that are not advertised to any peer. |
| no-export | Specify the routes that are not exported outside of the local AS. |
| no-export-subconfed | Specify the routes that are not exported to other external peers. |
| no-peer | Specify the routes that are not exported to other peers. |
show ip as-path-access-list
This command is used to display the contents of AS path access lists.
| Default | None |
| Format | show ip as-path-access-list [<0-500>] |
| Mode |
Privileged EXEC User EXEC |
| Fields | Definition |
|---|---|
| 0-500 | When an AS path list number is specified, the output is limited to the single AS path list specified. |
show ip community-list
This command is used to display community lists. The format of community values is dictated by the command ip bgp-community new-format.
| Default | None |
| Format | show ip community-list [detail] [<listname>] |
| Mode |
Privileged EXEC User EXEC |
| Fields | Definition |
|---|---|
| listname | A standard community list name. This option limits the output to a single list. |
| detail | Specify to show statistics about community lists. |
clear ip community-list
This command is used to clear community lists.
| Default | None |
| Format | clear ip community-list [<list-name>] |
| Mode |
Privileged EXEC User EXEC |
| Fields | Definition |
|---|---|
| listname | Specify a community list name to be cleared. |
rd
This command is used to specify the route distinquisher (RD) for a VRF instance that is used to create a VPNv4 prefix. An RD creates routing and forwarding tables and specifies the default route distinquisher for a VPN. The RD is added to the beginning of the IPv4 prefixes to change them into globally unique VPNv4 prefixes.
| Default | A VRF does not associate with any RD |
| Format | rd {route-distinquisher} |
| Mode | Virtual Router Config |
| Fields | Definition |
|---|---|
| route-distinquisher |
A route distinquisher can be specified in either of the following formats: 2-byte ASN-related: Composed of an automonous system number and an arbitraty number: <as-number>:<value> 4-byte ASN-related: Composed of an 4-byte automonous system number and an arbitraty number: <as-number>:<value> IP address-related: Composed of an IP address and an arbitrary number: <ip-address>:<value> |
route-target
This command is used to create a list of export, import, or both Route Target (RT) extended communities for the specified VRF instance. Enter the route-target command one time for each target extended community. Routes that are learned and carry a specific route-target extended community are imported into all VRFs configured with that extended community as an import route target.
Use no form to remove the route target specified for a VRF instance.
| Default | A VRF does not associate with any RT |
| Format |
|
| Mode | Virtual Router Config |
| Fields | Definition |
|---|---|
| export | Exports routing information to the target VPN extended community. |
| Import | Imports routing information from the target VPN extended community. |
| Both | Exports/imports routing information to/from the target VPN extended community. The route-target extended community attributes to be added to the list of import, export or both (import and export) route-target extended communities. |
| route-target |
The route-target specifies a target VPN extended community. Like a route distinquisher, the route-target extended community can be specified in one of the following formats: 2-byte ASN-related: Composed of an automonous system number and an arbitraty number: <as-number>:<value> 4-byte ASN-related: Composed of an 4-byte automonous system number and an arbitraty number: <as-number>:<value> IP address-related: Composed of an IP address and an arbitrary number: <ip-address>:<value> |
address-family ipv4
This command is used to enter IPv4 VRF Address Family Configuration mode to configure BGR VRF parameters. Commands entered in this mode enable peering with BGP neighbors in this VRF instance. All the neighbor-specific commands are given in this mode as well.
To return to the default values, use the no form of this command.
| Default | VRF configuration is disabled |
| Format |
|
| Mode | Router BGP Config Mode |
| Fields | Definition |
|---|---|
| vrf-name | Specify the name of the VRF instance. |
address-family ipv6
This command is used to enter IPv6 Address Family Configuration mode in order to specify IPv6-specific configuration parameters. Commands entered in this mode can be used to enable exchange of IPv6 routes, specify IPv6 prefixes to be originated, and configure inbound and outbound policies to be applied to IPv6 routes.
To return to the default values, use the no form of this command.
| Default | Exchange of IPv6 routes is disabled |
| Format |
|
| Mode | Router BGP Config Mode |
address-family vpnv4
This command is used to sets up a routing session to carry VPN IPv4 (VPNv4) addresses across the backbone. When an iBGP neighbor is in this mode, each VPNv4 prefix is made globally unique by the addition of an 8-byte Route distinguisher (RD). Only unicast prefixes are carried to its peer.
The following commands are available in VPNv4 address family configuration mode. • neighbor ip-address activate • neighbor ip-address send-community both • neighbor ip-address send-community extended
To return to the default values, use the no form of this command.
| Default | The VPNv4 address family is disabled |
| Format |
|
| Mode | Router BGP Config Mode |
neighbor allowas-in
This command is used to configure BGP to accept prefixes even if local ASN is part of the AS_PATH attribute. A neighbor can inherit this configuration from a peer template.
To return to the default values, use the no form of this command.
| Default | Disabled |
| Format |
|
| Mode | Router BGP Config Mode |
| Fields | Definition |
|---|---|
| Count | The maximum number of occurrences of the local ASN allowed in the AS_PATH attribute received in the prefix updates. The range is 1 to 10. |