PurposeCommand or Action
Exits prefix set configuration mode and enters global
configuration mode.
exit
Example:
RP/0/RSP0/CPU0:router(config-pfx)# exit
Step 3
Creates a route policy and enters route policy
configuration mode, where you can define the route
policy.
route-policy route-policy-name
Example:
RP/0/RSP0/CPU0:router(config)# route-policy
Step 4
POLICY-PERMANENT-NETWORK-IPv4
RP/0/RSP0/CPU0:router(config-rpl)# if destination in
PERMANENT-NETWORK-IPv4 then
RP/0/RSP0/CPU0:router(config-rpl)# pass
RP/0/RSP0/CPU0:router(config-rpl)# endif
Ends the definition of a route policy and exits route
policy configuration mode.
end-policy
Example:
RP/0/RSP0/CPU0:router(config-rpl)# end-policy
Step 5
Specifies the autonomous system number and enters
the BGP configuration mode.
router bgp as-number
Example:
RP/0/RSP0/CPU0:router(config)# router bgp 100
Step 6
Specifies either an IPv4 or IPv6 address family
unicast and enters address family configuration
submode.
address-family { ipv4 | ipv6 } unicast
Example:
RP/0/RSP0/CPU0:router(config-bgp)# address-family
Step 7
ipv4 unicast
Configures the permanent network (path) for the set
of prefixes as defined in the route-policy.
permanent-network route-policy route-policy-name
Example:
RP/0/RSP0/CPU0:router(config-bgp-af)#
Step 8
permanent-network route-policy
POLICY-PERMANENT-NETWORK-IPv4
commit
Step 9
(Optional) Displays whether the prefix-set is a
permanent network in BGP.
show bgp {ipv4 | ipv6} unicast prefix-set
Example:
RP/0/RSP0/CPU0:routershow bgp ipv4 unicast
Step 10
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.3.x
172
Implementing BGP
Configuring BGP Permanent Network