DETAILED STEPS
PurposeCommand or Action
configure
Step 1
Enters prefix set configuration mode and defines a
prefix set for contiguous and non-contiguous set of
bits.
prefix-set prefix-set-name
Example:
RP/0/RSP0/CPU0:router(config)# prefix-set
Step 2
PERMANENT-NETWORK-IPv4
RP/0/RSP0/CPU0:router(config-pfx)# 1.1.1.1/32,
RP/0/RSP0/CPU0:router(config-pfx)# 2.2.2.2/32,
RP/0/RSP0/CPU0:router(config-pfx)# 3.3.3.3/32
RP/0/RSP0/CPU0:router(config-pfx)# end-set
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
Cisco ASR 9000 Series Aggregation Services Router Routing Configuration Guide, Release 5.1.x
146 OL-30423-03
Implementing BGP
Configuring BGP Permanent Network