Configuring Ip Sla PBR Object Tracking PDF
Configuring Ip Sla PBR Object Tracking PDF
This chapter describes the PBR object tracking capabilities of IP Service Level Agreements (SLAs).
This chapter includes the following sections:
Object Tracking
Object tracking monitors objects such as the following:
• State of the line protocol of an interface
• Existence of an entry in the routing table
Clients, such as PBR, can register their interest in specific, tracked objects and then take action when the state
of the objects changes.
Cisco Nexus 7000 Series NX-OS IP SLAs Configuration Guide, Release 6.x
OL-27603-02 1
Configuring IP SLA PBR Object Tracking
Configuring IP SLA PBR Object Tracking
Object tracking functions in the following manner: PBR informs the tracking process that a certain object
should be tracked, and the tracking process then notifies PBR when the state of that object changes.
Example:
switch# configure terminal
switch(config)# ip sla 1
Step 5 ip sla schedule operation-number life Configures the scheduling parameters for a single
forever start-time now Cisco IOS IP SLA operation.
• In this example, the time parameters for the
Example: IP SLA operation are configured.
switch(config)# ip sla schedule 1 life
forever start-time now Note Repeat Steps 2 to 5 to configure and
schedule other IP SLA operations.
Step 6 track object-number ip sla entry-number Tracks the reachability of an object and enters
reachability tracking configuration mode.
Note Repeat this step to track other
Example: operations.
switch(config)# track 1 ip sla 1
reachability
Cisco Nexus 7000 Series NX-OS IP SLAs Configuration Guide, Release 6.x
2 OL-27603-02
Configuring IP SLA PBR Object Tracking
Configuring IP SLA PBR Object Tracking
Step 8 ip access-list standard access-list-name Defines an IP access list access control list (ACL)
in order to enable filtering for packets.
Example:
switch(config)# ip access-list standard
ACL
Step 9 permit ip source destination Creates an access control list (ACL) rule that
permits traffic matching its conditions.
Example:
switch(config-acl)# permit ip
192.0.2.0/24 198.51.100.0/24
Step 10 ipv6 access-list access-list-name Defines an IPv6 access list ACL in order to
enable filtering for packets.
Example:
switch(config)# ipv6 access-list
IPv6ACL
Step 11 permit ipv6 source destination Creates an access control list (ACL) rule that
permits traffic matching its conditions.
Example:
Step 14 match ip address access-list-name Distributes any routes that have a destination
IPv4 network number address that is permitted
Example: by a standard access list.
switch(config-route-map)# match ip
address ACL
Cisco Nexus 7000 Series NX-OS IP SLAs Configuration Guide, Release 6.x
OL-27603-02 3
Configuring IP SLA PBR Object Tracking
Configuring IP SLA PBR Object Tracking
Step 16 set ip next-hop verify-availability Configures the route map to verify the
next-hop-address track object reachability of the tracked object.
Note Repeat this step to configure the route
Example: map to verify the reachability of other
switch(config-route-map)# set ip tracked objects.
next-hop verify-availability
198.51.100.2 track 1
Step 17 set ipv6 next-hop verify-availability Configures the route map to verify the
next-hop-address track object reachability of the tracked object.
Note Repeat this step to configure the route
Example: map to verify the reachability of other
switch(config-route-map)# set ipv6 tracked objects.
next-hop verify-availability
2001:DB8:1::1 track 1
Step 18 set ip default next-hop verify-availability Configures the route map to verify the
next-hop-address track object reachability of the default next hop.
Example:
switch(config-route-map)# set ip
default next-hop verify-availability
192.0.2.2 track 1
Step 19 set ipv6 default next-hop verify-availability Configures the route map to verify the
next-hop-address track object reachability of the default next hop.
Example:
switch(config-route-map)# set ipv6
default next-hop verify-availability
2001:DB8:0:ABCD::1 track 1
Step 21 interface type number Specifies an interface type and number and enters
interface configuration mode.
Example:
switch(config)# interface ethernet 0/0
Cisco Nexus 7000 Series NX-OS IP SLAs Configuration Guide, Release 6.x
4 OL-27603-02
Configuring IP SLA PBR Object Tracking
Configuring IP SLA PBR Object Tracking
Example:
switch(config-if)# ip address 10.2.2.1
255.255.255.0
Step 23 ipv6 address ip-address mask Specifies a primary IPv6 address for an interface.
Example:
switch(config-if)# ipv6 address
2001:DB8::/48
Step 24 ip policy route-map map-tag Enables policy routing and identifies a route map
to be used for policy routing.
Example:
switch(config-if)# ip policy route-map
PBR
Step 25 ipv6 policy route-map map-tag Enables IPv6 policy routing and identifies a route
map to be used for policy routing.
Example:
switch(config-if)# ipv6 policy
route-map PBR
Example:
switch# show route-map PBR
Cisco Nexus 7000 Series NX-OS IP SLAs Configuration Guide, Release 6.x
OL-27603-02 5
Configuring IP SLA PBR Object Tracking
Example: Configuring IP SLA PBR Object Tracking
Cisco Nexus 7000 Series NX-OS IP SLAs Configuration Guide, Release 6.x
6 OL-27603-02
Configuring IP SLA PBR Object Tracking
Feature History for IP SLA PBR Object Tracking
Cisco Nexus 7000 Series NX-OS IP SLAs Configuration Guide, Release 6.x
OL-27603-02 7
Configuring IP SLA PBR Object Tracking
Feature History for IP SLA PBR Object Tracking
Cisco Nexus 7000 Series NX-OS IP SLAs Configuration Guide, Release 6.x
8 OL-27603-02