Académique Documents
Professionnel Documents
Culture Documents
Network Virtualization
The term network virtualization refers to the creation of logical isolated network
partitions overlaid on top of a common enterprise physical network infrastructure
VRF-Lite
A VRF supports its own Routing Information Base (RIB) and
Forwarding Information Base (FIB)
VRF-lite is VRF without MPLS
Leverages Virtual encapsulation for separation:
Ethernet/802.1Q, GRE, Frame Relay
Routing protocols are VRF aware
RIP/v2, EIGRP, OSPF, BGP, static (per VRF)
Layer 3 interfaces can only belong to a single VRF
VRF-Lite Configuration
1. Create and name VRFs
ip vrf VRF1
ip vrf VRF2
ip vrf VRF3
2. Attached VRFs to desired interfaces
interface FastEthernet0/0
ip vrf forwarding VRF1
ip address 10.0.0.1 255.255.255.0
no shut
3. Apply routing to specific VRF
router ospf 1 vrf VRF1
network 10.0.0.0 255.255.255.255 area 0
router ospf 2 vrf VRF2
network 10.0.0.0 255.255.255.255 area 0
10
11
12
13
14
15
16
17
Lab 2. VRF-Lite
18
Path control tools can be used to change the default destination forwarding
and optimize the path of the packets for some specific application
Path Control is controlling the path that traffic takes through a network when
there are:
Redundant paths
Asymmetric paths (form of redundancy)
Two tools for path control are detailed:
Policy Based Routing (PBR)
IP service level agreements (SLAs)
19
Policy-Based Routing
Allows you to implement policies that selectively cause packets to take
different paths.
IP routing is destination-based
PBR is source-based routing
Is applied to incoming packets
Makes traffic marking possibility
Requires a route map to implement the policy
Matched routes are modified by set commands
QoS
Organizations can provide QOS to differentiated traffic
bysetting the precedence or type of service (TOS) values in the
IP packet headers at the periphery of the network and
leveraging queuing mechanisms to prioritize traffic in the core
or backbone of the network
Cost savings
Organizations
can
achieve
cost
savings
by distributing interactive and batch traffic among lowbandwidth, low-cost permanent paths and high-bandwidth,
high-cost, switched paths
23
24
1.1.2.0
Match packets with the origin network 1.1.1.0 and 1.1.2.0 and
the destination network 7.7.7.0 and forward them to the next hop
6.6.6.6
Match packets between 3 and 200 bytes in size and forward
them to the interface Ethernet 0
Apply the route map to the incoming interfaces
Verify the configuration
match ip address 10
Specifies the route map to use for policy routing of all packets
that originate on the router.
show ip policy
Example 1. PBR
Example 1. PBR
R2
R6
31
Example 1. PBR
32
Example 1. PBR
33
Example 1. PBR
34
Lab 3. PBR
35
Multihomed Scenario
ISP 1
Branch Site
R2
10.1.1.0
.1
Internet
R1
172.16.1.0
.1
ISP 2
R3
R2
10.1.1.0
.1
Internet
R1
172.16.1.0
ISP 2
.1
R3
However, what would happen if a link within the ISP 1 provider infrastructure
were to fail?
The link from R1 to R2 would still remain up and the R1 would continue to use that
link because the static default route would still be valid.
Multihomed Scenario
ISP 1
Branch Site
R2
10.1.1.0
.1
Internet
R1
172.16.1.0
ISP 2
.1
R3
IP SLAs
The information collected can measure:
Network resource availability
Response time
One-way latency
Jitter (interpacket delay variance)
Packet loss
Voice-quality scoring
Application performance
Server response time
40
41
IP SLAs Operations
There are two types of IP SLAs
operations:
Those in which the target device is
not running the IP SLAs responder
component (such as a web server
or IP host).
IP SLAs
Source
R1
DNS
Server
R2
IP SLAs
Source
R1
IP SLAs
Responder
R2
MIB data retrieved via SNMP
IP SLA Configuration
43
ip sla operation-number
Description
destination-ip-address |
destination-hostname
source-ip {ip-address |
hostname}
source-interface
interface-name
209.165.201.30
icmp-echo Sub-Commands
Router(config-ip-sla-echo)#
frequency seconds
Set the rate at which a specified IP SLAs operation repeats.
The seconds parameter is the number of seconds between the IP
SLAs operations with the default being 60 seconds.
Router(config-ip-sla-echo)#
timeout milliseconds
Set the amount of time a Cisco IOS IP SLAs operation waits for a
response from its request packet.
The milliseconds parameter is the number of milliseconds (ms) the
operation waits to receive a response from its request packet.
Description
operation-number
life forever
life seconds
start-time
hh:mm[:ss]
Specifies an absolute start time using hour, minute, and (optionally) second.
Use the 24-hour clock notation.
month
day
(Optional) Number of the day (in the range 1 to 31) to start the operation on.
If a day is not specified, the current day is used.
pending
now
after hh:mm:ss
(Optional) Indicates that the operation should start this amount of time after this
command was entered.
ageout seconds
recurring
(Optional) Indicates that the operation will start automatically at the specified time and
for the specified duration every day.
Description
object-number
operation-number
state
reachability
Description
The IP network and subnet mask for the remote network to be entered into the IP
routing table.
The IP address of the next hop that can be used to reach the destination
network.
interface
The local router outbound interface to be used to reach the destination network.
dhcp
distance
name next-hop-name
permanent
(Optional) Specifies that the route will not be removed from the routing table
even if the interface associated with the route goes down.
track number
tag tag
Verifying IP SLAs
Command
show ip sla
configuration
[operation]
Description
Display configuration values including all defaults for all
Cisco IOS IP SLAs operations, or for a specified operation.
The operation parameter is the number of the IP SLAs
operation for which the details will be displayed.
show ip sla
Display the current operational status and statistics of all
statistics [operationnumber | details]
Example IP SLA
OSPF 10
Example IP SLA
Example IP SLA
1
Example IP SLA
5