Routing Policies
Creating IP Prefix Lists
Creating Route Access Lists
config
context context_name
route-access-list { extended
identifier } { deny | permit } [ ip address ip_address ]
route-access-list
named list_name { deny | permit } { ip_address/mask | any } [ exact-match ]
route-access-list standard identifier { permit | deny ) { ip_address wildcard_mask | any |network_address }
Sample Configuration
config
context isp1
route-access-list
named RACLin1a permit 88.151.1.0/30
route-access-list
named RACLin1a permit 88.151.1.4/30
route-access-list
named RACLany permit any
route-map
RMnet1 deny 100
match ip
address route-access-list RACLin 1 a
#exit
route-map
RMnet1 deny 200
match ip
address route-access-list RACLin 1 b
#exit
route-map
RMnet1 permit 1000
match ip
address route-access-list RACLany
#exit
router bgp 1
neighbor
152.20.1.99 as-path 101
neighbor
152.20.1.99 route-map RMnet1
Static Routing
Adding Static Routes to a Context
[local]host_name# show ip interface
Intf Name: Egress
1
Description:
IP State: Up (Bound
to slot/port untagged ifIndex 402718721)
IP Address: 192.168.231.5
Subnet Mask: 255.255.255.0
Bcast Address: 192.168.231.255
MTU: 1500
Resoln Type: ARP ARP
timeout: 3600 secs
L3 monitor LC-port
switchover: Disabled
Number of Secondary
Addresses: 0
Total interface count: 1
config
context context_name
ip route { ip_address [ ip_mask ] | ip_addr_mask_combo } { next-hop next_hop_address | egress_name [ precedence precedence [ cost cost ]
OSPF Routing
IMPORTANT:
IMPORTANT:
OSPF Version 2 Overview
Basic OSPFv2 Configuration
Enabling OSPF Routing For a Specific Context
Enabling OSPF Over a Specific Interface
Redistributing Routes Into OSPF (Optional)
config
context context_name
router ospf
redistribute { connected | static }
end
OSPFv3 Routing
OSPFv3 Overview
Basic OSPFv3 Configuration
Enabling OSPFv3 Routing For a Specific Context
Enabling OSPFv3 Over a Specific Interface
area { area_id | area_ip_address } [ default-cost dflt-cost ] [ stub stub-area ] [ virtual-link vl-neighbor-ipv4address ]
IMPORTANT:
Redistributing Routes Into OSPFv3 (Optional)
config
context context_name
router ospf3
redistribute { connected | static }
end
Equal Cost Multiple Path (ECMP)
BGP-4 Routing
IMPORTANT:
Overview of BGP Support
IMPORTANT:
Configuring BGP
Redistributing Routes Into BGP (Optional)
config
context context_name
router bgp as_number
redistribute bgp { bgp | connected | static } [ metric metric_value ] [ metric-type { 1 | 2 } ] [ route-map route_map_name ]
ICSR and SRP Groups
Bidirectional Forwarding Detection
Overview of BFD Support
Configuring BFD
Configuring IPv4 BFD for Static Routes
Configuring IPv6 BFD for Static Routes
Configuring BFD for Single Hop
config
context bfd_context_name
interface if_name
ip address ipv4_address
ipv4_mask
ipv6 address ipv6_address
ipv6_mask
bfd interval interval_value min_rx rx_value multiplier multiplier_value
[ [no] bfd
echo ]
exit
IMPORTANT:
Configuring Multihop BFD
config
context bfd_context_name
interface if_name
ip address ipv4_address
ipv4_mask
ipv6 address ipv6_address
ipv6_mask
bfd interval interval_value min_rx rx_value multiplier multiplier_value
[ [no] bfd
echo ]
exit
bfd-protocol
bfd multihop peer destination-address interval interval-value multiplier multiplier-value
Scaling of BFD
bfd-protocol
bfd nbr-group-name grp_name active-if-name if_name nexthop_address
Associating BGP Neighbors with the Context
Viewing Routing Information
[local]host_name# show ip route
"*" indicates
the Best or Used route.
Destination Nexthop Protocol Prec
Cost Interface
*44.44.44.0/24 208.230.231.50 static 1 0
local1
*192.168.82.0/24 0.0.0.0 connected 0 0
*192.168.83.0/24 0.0.0.0 connected 0 0
208.230.231.0/24 0.0.0.0 ospf 110 10 local1
*208.230.231.0/24 0.0.0.0 connected 0 0 local1
Total route count: 5