Specifications

Table Of Contents
Multiprotocol Label Switching Commands
bgp default route-target filter
MP-13
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
bgp default route-target filter
To enable automatic Border Gateway Protocol (BGP) default route-target community filtering, use the
bgp default route-target filter command in router configuration mode. To disable automatic BGP
route-target community filtering, use the no form of this command.
bgp default route-target filter
no bgp default route-target filter
Syntax Description This command has no arguments or keywords.
Command Default This command is enabled by default.
Command Modes Router configuration
Command History
Usage Guidelines Use the
bgp default route-target filter command to control the distribution of Virtual Private Network
(VPN) routing information through the list of VPN route-target communities.
When you use the no fo
rm of this command, all received VPN-IPv4 routes are accepted by the
configured router. Accepting VPN-IPv4 routes is the desired behavior for a router configured as an
autonomous system border edge router or as a customer edge (CE) BGP border edge router.
If you configure the router for BGP route-target community filtering, all received exterior BGP (eBGP)
VPN
-IPv4 routes are discarded when those routes do not contain a route-target community value that
matches the import list of any configured VPN routing and forwarding (VRFs) instances. This is the
desired behavior for a router configured as a provider edge (PE) router.
Note This command is automatically disabled if a PE router is configured as a client of a common VPN-IPv4
route reflector in the autonomous system.
Examples In the following example, BGP route-target filtering is disabled for autonomous system 120:
router bgp 120
no bgp default route-target filter
Release Modification
12.1(5)T This command was introduced.
12.0(16)ST This command was integrated into Cisco IOS Release 12.0(16)ST.
12.0(22)S This command was integrated into Cisco IOS Release 12.0(22)S.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2(33)SXH This command was integrated into Cisco IOS Release 12.2(33)SXH.