Configuring BGP Accept Own
Configuring BGP Accept Own
Perform this task to configure BGP Accept Own:
SUMMARY STEPS
1. configure
2. router bgp as-number
3. neighbor ip-address
4. remote-as as-number
5. update-source type interface-path-id
6. address-family {vpnv4 unicast | vpnv6 unicast}
7. accept-own [inheritance-disable]
DETAILED STEPS
Command or Action
Step 1
configure
Step 2
router bgp as-number
Example:
RP/0/RSP0/CPU0:router(config)#router bgp 100
Step 3
neighbor ip-address
Example:
RP/0/RSP0/CPU0:router(config-bgp)#neighbor 10.1.2.3
Step 4
remote-as as-number
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)#remote-as 100
Step 5
update-source type interface-path-id
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)#update-source
Loopback0
Step 6
address-family {vpnv4 unicast | vpnv6 unicast}
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr)#address-family
vpnv6 unicast
Step 7
accept-own [inheritance-disable]
Example:
RP/0/RSP0/CPU0:router(config-bgp-nbr-af)#accept-own
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x
168
Purpose
Specifies the autonomous system number and enters the
BGP configuration mode, allowing you to configure the
BGP routing process.
Places the router in neighbor configuration mode for
BGP routing and configures the neighbor IP address as
a BGP peer.
Assigns a remote autonomous system number to the
neighbor.
Allows sessions to use the primary IP address from a
specific interface as the local address when forming a
session with a neighbor.
Specifies the address family as VPNv4 or VPNv6 and
enters neighbor address family configuration mode.
Enables handling of self-originated VPN routes
containing Accept_Own community.
Use the inheritance-disable keyword to disable the
"accept own" configuration and to prevent inheritance
of "acceptown" from a parent configuration.
Implementing BGP