Step 1
|
configure
terminal
switch# configure terminal
|
Enters global
configuration mode.
|
Step 2
|
ip
sla
operation-number
|
Starts a Cisco
IOS IP Service Level Agreement (SLA) operation configuration and enters IP SLA
configuration mode.
|
Step 3
|
icmp-echo
destination-ip-address
switch(config-ip-sla)# icmp-echo 10.3.3.2
|
Configures an
IP SLA Internet Control Message Protocol (ICMP) echo probe operation.
|
Step 4
|
exit
switch(config-ip-sla)# exit
|
Exits IP SLA
configuration mode and returns the router to global configuration mode.
|
Step 5
|
ip
sla
schedule
operation-number
life
forever
start-time
now
switch(config)# ip sla schedule 1 life forever start-time now
|
Configures the
scheduling parameters for a single Cisco IOS IP SLA operation.
Note
|
Repeat Steps 2 to 5 to configure and schedule other IP SLA operations.
|
|
Step 6
|
track
object-number
ip sla
entry-number
reachability
switch(config)# track 1 ip sla 1 reachability
|
Tracks the
reachability of an object and enters tracking configuration mode.
Note
|
Repeat this step to track other operations.
|
|
Step 7
|
exit
switch(config-track)# exit
|
Exits
tracking configuration mode and returns the router to global configuration
mode.
|
Step 8
|
ip
access-list
standard
access-list-name
switch(config)# ip access-list standard ACL
|
Defines an IP access list and an access control list (ACL) in order to enable filtering for packets.
|
Step 9
|
permit
ip
source
destination
switch(config-acl)# permit ip 192.0.2.0/24 198.51.100.0/24
|
Creates an access control list (ACL) rule that permits traffic matching its conditions.
|
Step 10
|
ipv6
access-list
access-list-name
switch(config)# ipv6 access-list IPv6ACL
|
Defines an
IPv6 access list ACL in order to enable filtering for packets.
|
Step 11
|
permit
ipv6
source
destination
switch(config-ipv6-acl)# permit ipv6 2001:DB8::/32 2001:DB8::/48
|
Creates an
access control list (ACL) rule that permits traffic matching its conditions.
|
Step 12
|
exit
switch(config-ipv6-acl)# exit
|
Exits ACL
configuration mode and returns the router to global configuration mode.
|
Step 13
|
route-map
map-tag
switch(config)# route-map PBR
|
Specifies a
route map and enters route-map configuration mode.
|
Step 14
|
match
ip
address
access-list-name
switch(config-route-map)# match ip address ACL
|
Distributes
any routes that have a destination IPv4 network number address that is
permitted by a standard access list.
|
Step 15
|
match
ipv6
address
access-list-name
switch(config-route-map)# match ipv6 address IPv6ACL
|
Distributes
any routes that have a destination IPv6 network number address that is
permitted by a standard access list.
|
Step 16
|
set
ip
next-hop
verify-availability
next-hop-address
track
object
switch(config-route-map)# set ip next-hop verify-availability 198.51.100.2 track 1
|
Configures
the route map to verify the reachability of the tracked object.
Note
|
Repeat this step to configure the route map to verify the reachability of other tracked objects.
|
|
Step 17
|
set
ipv6
next-hop
verify-availability
next-hop-address
track
object
switch(config-route-map)# set ipv6 next-hop verify-availability 2001:DB8:1::1 track 1
|
Configures
the route map to verify the reachability of the tracked object.
Note
|
Repeat this step to configure the route map to verify the reachability of other tracked objects.
|
|
Step 18
|
exit
switch(config-route-map)# exit
|
Exits
route-map configuration mode and returns the router to global configuration
mode.
|
Step 19
|
interface
type
number
switch(config)# interface ethernet 0/0
|
Specifies an
interface type and number and enters interface configuration mode.
|
Step 20
|
ip
address
ip-address
mask
switch(config-if)# ip address 10.2.2.1 255.255.255.0
|
Specifies a
primary IP address for an interface.
|
Step 21
|
ipv6
address
ip-address
mask
switch(config-if)# ipv6 address 2001:DB8::/48
|
Specifies a
primary IPv6 address for an interface.
|
Step 22
|
ip
policy
route-map
map-tag
switch(config-if)# ip policy route-map PBR
|
Enables
policy routing and identifies a route map to be used for policy routing.
|
Step 23
|
ipv6
policy
route-map
map-tag
switch(config-if)# ipv6 policy route-map PBR
|
Enables IPv6
policy routing and identifies a route map to be used for policy routing.
|
Step 24
|
end
|
Exits
interface configuration mode and returns the router to privileged EXEC mode.
|
Step 25
|
show
track
object-number
|
(Optional)
Displays tracking information.
Use this
command to verify the configuration.
|
Step 26
|
show
route-map
map-name
switch# show route-map PBR
|
(Optional)
Displays route map information.
|