> BGP Address-Family (IPv4/IPv6) Configuration Mode Commands
> The Border Gateway Protocol (BGP) Address-Family (IPv4/IPv6) Configuration Mode is used to configure the IPv4 and IPv6 address family information.
> Important: The commands or keywords/variables that are available are dependent on platform type, product version, and installed license(s).
> end
> Exits the current configuration mode and returns to the Exec mode.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> end
> Usage
> Use this command to return to the Exec mode.
> exit
> Exits the current mode and returns to the parent configuration mode.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> exit
> Usage
> Use this command to return to the parent configuration mode.
> maximum-paths
> Controls the maximum number of parallel ebgp/ibgp routes that can be installed in a routing table.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> [ no ] maximum-paths { ebgp no_paths | ibgp no_paths }
> no
> Disables the above command.
> maximum-paths ebgp ibgp
> Forwords packets in multiple paths.
> ebgp: Indicates the External Border Gateway Protocol while while configuring maximum-paths and the value should be integer between 1 and 10.
> ibgp: Indicates the Internal Border Gateway Protocol while while configuring maximum-paths and the value should be integer between 1 and 10
> Important: If configured under the router-bgp-mode, multipath is enabled only for the prefixes learnt in the default-vrf. There is no support for vpnv4 prefixes even though multipath is turned on for the default-vrf. If configured under the address-family-vrf-mode, multipath is enabled only for prefixes learnt in the vrf.
> usage
> Use this command to forward packets over multiple paths. User can control the maximum number of parallel ebgp routes that can be installed in a routing table. Enabling multipath does not affect the best path selection in BGP. If multipath is enabled, all the paths with the same weight, local-preference, as-path length, origin, and MED as the best path are added to the routing table.
> Example
> The following command disables forward of packets over multiple paths:
> no maximum-pathse bgp
> neighbor
> This command configures IPv4/IPv6 Address Family for BGP routers that interconnect to non-broadcast networks.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> [ no ] neighbor ip_address { activate | advertisement-interval adv_time | capability graceful-restart | default-originate [ route-map map_name ] | distribute-list dist_list { in | out } | ebgp-multihop [ max-hop number ] encrypted password encryp_password fall-over bfd multihop | filter-list filt_list { in | out } | max-prefix max_num [ threshold thresh_percent ] [ warning-only ] next-hop-self | password password | remote-as AS_num | remove-private-AS | restart-time rest_time | route-map map_name { in | out} | send-community { both | extended | standard } | shutdown | srp-activated-soft-clear | timers { connect-interval connect_interval [ keepalive-interval keepalive_interval holdtime-interval holdtime_interval [ min-peer-holdtime-interval min_peer_hold_interval ] ] | keepalive-interval keepalive_interval holdtime-interval holdtime_interval { connect-interval connect_interval | min-peer-holdtime-interval min_peer_hold_interval [ connect-interval connect_interval ] } } | update-source ip_address | weight value }
> no
> Delete the specified parameter from the router configuration.
> neighbor ip_address
> ip_address is IPV4 address in dotted desimal or IPV6 address saperated by colon.
> activate
> Enable the exchange of routes with this neighbor.
> advertisement-interval adv_time
> The minimum interval, in seconds, between sending BGP routing updates.
> adv_time must be an integer from 0 through 600.
> Default: 30
> capability graceful-restart
> Configures graceful re-start attrributes.
> default-originate [ route-map map_name ]
> Originate default routes to this neighbor
> route-map map_name: Specifies the route-map that contains the criteria to originate default routes. map_name must be the name of an existing route-map in the current context.
> distribute-list dist_list { in | out }
> Filter updates to and from this neighbor based on a route access list.
> Default: No filtering is performed.
> dist_list: The name or number of an existing route-access-list.
> in: Indicates that incoming advertised routes should be filtered.
> out: Indicates that outgoing advertised routes should be filtered.
> ebgp-multihop [ max-hop number ]
> Allow EBGP neighbors not on directly connected networks.
> max-hop number: The maximum number of hops allowed to reach a neighbor. number must be an integer from 1 through 255.
> Default hop count: 255
> encrypted password encryp_password
> Specify encrypted password, used only inside configuration files. This should be a string between 1 to 24.
> fall-over bfd multihop
> BFD Multihop support for fallover
> filter-list filt_list {in | out}
> Establish BGP filters based on an AS path access list
> filt_list: The name of an existing AS path access list.
> in: Indicates that incoming advertised routes will be filtered.
> out: Indicates that outgoing advertised routes will be filtered.
> max-prefix max_num [ threshold thresh_percent ] [ warning-only ]
> The maximum number of prefixes accepted from this peer. When the maximum is exceeded the neighbor connection is reset.
> max_num: Specifies the maximum number of prefixes permitted. This must be an integer from 1 through 4294967295.
> Default: No maximum prefix limit.
> threshold thresh_percent: A percentage value which specifies that when the BGP table is the specified percentage full from this peer warnings are sent to the neighbor. thresh_percent must be an integer from 1 through 100.
> warning-only: This keyword specifies that only a warning message is sent when the limit is exceeded. The neighbor connection is not reset
> next-hop-self
> ip_address Disables the next hop calculation for this neighbor.
> password password
> Set an password, it should be a string between 1 and 24 .
> remote-as AS_num
> Specify the AS number of the BGP neighbor.
> AS_num: The neighbor’s autonomous system number. must be an integer from 1 through 4294967295.
> remove-private-AS
> Remove the private AS number from outbound updates.
> Default: Do not remove the private AS number.
> restart-time rest_time
> Maximum time (seconds) required to for neighbor to restart, this is an integer and should be between 1 and 3600.
> route-map map_name { in | out }
> Apply a route map to the neighbor.
> map_name: Specifies the route-map apply. map_name must be the name of an existing route-map in the current context.
> in: Indicates that the route map applies to incoming advertisements.
> out: Indicates that the route map applies to outgoing advertisements.
> send-community{ both | extended | standard }
> Send community attributes to a peer router (neighbor).
> both:Sends ctandard and extended community attributes
> extended:Sends extended community attributes.
> standard:Sends standard community attributes.
> shutdown
> Administratively shut down this neighbor. This disables exchanging routes or configuring parameters for this neighbor.
> srp-activated-soft-clear
> Enables BGP updates when SRP-enabled respurces are modified.
> timers { [ connect-interval connect_interval ] | [ keepalive-interval keepalive_interval holdtime-interval holdtime_interval ] }
> BGP timers for the specified neighbor.
> connect-interval connect_interval: Specifies the connect timer in seconds. conn_time must be an integer from 0 through 65535. The default is 60 seconds.
> keepalive-interval keepalive_interval : The frequency, in seconds, at which the current BGP router sends keepalive messages to its neighbor. keep_time must be an integer from 0 through 65535. The default is 30 seconds.
> holdtime-interval holdtime_interval: The interval, in seconds, the router waits for a keepalive message before declaring a neighbor dead. hold_time must be an integer from 0 through 65535. The default is 90 seconds.
> min-peer-holdtime-interval min_peer_hold_interval : Minimum acceptable hold time from peer for a keepalive message before declaring a neighbor dead. min_peer_hold_interval must be an integer from 0 through 65535. The default is 90 seconds.
> update-source ip_address
> Use this keyword to bind the specified IP address to the bgp socket that is used to communicate to the peer. ip_address is an IPv4 address in dotted decimal notation.
> In most cases you should set the update-source address to the address of the loopback interface in the current context. By doing this, the tcp connection does not go down until there is no route for the loopback address in the peering router.
> weight value
> This command sets the default weight for routes from this neighbor.
> value: This must be an integer from 0 through 65535.
> Default: 0
> Usage
> Use this command to set parameters for communication with a specified neighbor. The chassis supports a maximum of 64 peers per context.
> Important: A remote AS number must be specified for a neighbor before other parameters can be configured.
> Example
> The following command specifies that the neighbor at the IP address 192.168.100.25 has an AS number of 2000:
> neighbor 192.168.100.25 remote-as 2000
> The following command allows BGP neighbors that are a maximum of 27 hops away:
> neighbor 192.168.100.25 ebgp-multihop max-hop 27
> The following command sets the minimum interval between sending routing updates to 3 minutes
> neighbor 192.168.100.25 advertisement-interval 180
> The following command sets the default weight for all routes from the specified neighbor to 100:
> neighbor 192.168.100.25 weight 100
> network
> This command configures and specifies a network to announce via BGP.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> [ no ] network ip_address/mask [ route-map map_name ]
> no
> Delete the specified network from the configuration for the BGP router.
> ip_address/mask
> Specifies the IP address and netmask bits for the network to announce via BGP. ip_address is a network IP address (in dotted-decimal notation) and mask is the number of subnet bits, representing a subnet mask in shorthand. These must be entered in the IPv4 dotted-decimal notation/subnet bits format .
> route-map map_name
> Filter routes through the specified route map before announcing the network. map_name specifies the name of the route-map to use and must be specified as a string of 1 through 79 alphanumeric characters.
> Usage
> Use this command to specify a network to announce via BGP.
> Example
> The following command announces the network 192.168.0.0 with a netmask of 16 via BGP:
> network 192.168.0.0/16
> The following command removes the network from the BGP router configuration:
> no network 192.168.0.0/16
> redistribute
> This command redistributes routes into BGP. This means that any routes from another protocol are redistributed to BGP neighbors using the BGP protocol.
> Product
> All
> Privilege
> Security Administrator, Administrator
> Syntax
> [ no ] redistribute { connected | ospf | rip | static } [ route-map map_name ]
> no
> Remove the specified redistribution parameters from the BGP router configuration.
> connected
> Specifies that connected routes will be redistributed.
> ospf
> Specifies that OSPF routes will be redistributed
> rip
> Specifies that RIP routes will be redistributed. (RIP is not supported at this time.)
> static
> Specifies that static routes will be redistributed.
> route-map map_name
> Filter routes through the specified route map before redistribution.
> map_name specifies the name of the route-map to use and must be specified as a string of 1 through 79 alphanumeric characters
> Usage
> Use this command to specify what routes this BGP router should redistribute into BGP.
> Example
> The following command redistributes OSPF routes after filtering them through the route map named Map1:
> redistribute ospf route-map Map1
> The following command removes the redistribution of OSPF routes from the router’s configuration:
> no redistribute ospf route-map Map1

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883