Professional Documents
Culture Documents
Abstract
These Application Notes describes a procedure for configuring Multi-VRF (aka VRF-Lite) for
the purpose of maintaining separate, independent virtual routing tables, one dedicated to voice
traffic and another one dedicated to data traffic. The configuration described in these
Application Notes implement Multi-VRF between a Juniper J4300 enterprise router at a main
site and a Cisco Catalyst 3550 multi-layer switch at a branch site. These application notes were
requested by a customer for a proof of concept.
• IP routing table
• Derived forwarding table
• Set of interfaces; physical or virtual
• Set of routing protocols and routing peers that inject information into the VRF
VRF functionally was initially reserved only for MPLS PE routers. A subset of the PE VRF
functionality, known as "Multi-VRF" or "VRF-Lite", was later made available for non-PE
routers. Some of the highlights of a Multi-VRF router are:
A key requirement for implementing any converged voice and data network is to be able to
identify, segment and prioritize traffic types. At Layer 2, 802.1Q VLANs are used for this by
implementing a separate Voice VLAN and Data VLAN with appropriate prioritization however a
common routing table is used for both of these traffic types at Layer 3. Multi-VRF enables
separately routed (virtual) networks with distinct routing tables and potentially overlapping
address space to co-exist on the same router. Multi-VRF provides an option to further segment
data and voice traffic by maintain separate virtual routing instances providing Layer 3
segmentation, complimenting Layer 2 VLAN segmentation.
The configuration described in these Application Notes implement Multi-VRF between a Juniper
J4300 enterprise router at a main site and a Cisco Catalyst 3550 multi-layer switch at a branch
site. Two VRF tables, “vrf Voice” and “vrf Data” are configured on each router. The Open
Shortest Path First (OSPF) routing protocol is used by the VRF tables. Two OSPF instances are
configured for each VRF table. These Application Notes focus on the VRF configuration of the
Juniper J4300 Router and Cisco 3550 Multi-layer switch providing full configurations for each.
3.1. Cisco Catalyst 3550 Layer 2/3 switch configuration – Branch Site
mls qos map cos-dscp 0 8 16 26 32 46 48 56 Configures the CoS-to-DSCP map (maps CoS
values in incoming packets to a DSCP
value).
mls qos min-reserve 5 170 Configures the buffer size of minimum
mls qos min-reserve 6 85 reserve levels 5 – 8 to be used by the
mls qos min-reserve 7 51 four egress queues.
mls qos min-reserve 8 34 Level 1-4 can hold 100 packets (default)
Level 5 can hold 170 packets
Level 6 can hold 85 packets
Level 7 can hold 51 packets
Level 8 can hold 34 packets
no ip domain-lookup
!
!
interface Loopback1
no ip address
!
interface Loopback2
no ip address
!
priority-queue out
spanning-tree portfast
router ospf 2 vrf Voice Enables OSPF routing for the specified
log-adjacency-changes VRF table,
network 80.0.0.0 0.0.0.255 area 0.0.0.0
network 172.28.20.0 0.0.0.255 area Defines the network address(s)/mask and
0.0.0.0 area ID for OSPF to use per VRF
! instance.
router ospf 1 vrf Data
!
ip classless
ip http server
ip http secure-server
!
!
snmp-server community public RW
snmp-server community avaya RW
!
control-plane
!
!
line con 0
exec-timeout 0 0
privilege level 15
line vty 0 4
exec-timeout 0 0
privilege level 15
password cisco
login
line vty 5 15
login
!
!
end
system {
host-name CE1;
root-authentication {
encrypted-password "$1$NsK8iEEW$4lnbpL1mdL8olJKLVcglh."; ## SECRET-DATA
}
login {
user admin {
uid 2001;
class super-user;
authentication {
encrypted-password "$1$EHH3Zjx0$Ow4LkDfh0sCOWUIkNtATr0"; ## SECRET-
DATA
}
}
}
--------------------------------------------------------------------------------------
Configure FastEthernet physical interfaces fe-0/0/0 and fe-0/0/1. Assign Vlan ID’s and
IP address to logical interfaces unit 2, unit 10, unit 38, unit 80
--------------------------------------------------------------------------------------
interfaces {
fe-0/0/0 {
description "Main 3550 L2";
per-unit-scheduler;
vlan-tagging;
unit 2 {
vlan-id 2;
family inet {
address 172.25.2.1/24;
}
}
unit 10 {
vlan-id 10;
family inet {
address 172.28.10.1/24;
}
}
}
ls-0/0/0 {
unit 1 {
compression {
rtp;
}
}
}
fe-0/0/1 {
description "Remote Branch C3550 L2/L3 sw";
per-unit-scheduler;
vlan-tagging;
--------------------------------------------------------------------------------------
Create classifier rules to select traffic based on DSCP value. Use expedited-
forwarding for DSCP 101110 (46) and assured-forwarding for DSCP 100010 (34)
--------------------------------------------------------------------------------------
class-of-service {
classifiers {
dscp avaya-voip {
--------------------------------------------------------------------------------------
Bind scheduler-map “voip” to associated interfaces and assign classifier “avaya-voip”
to logical interfaces unit 10 and unit 80 to identify ingress traffic based on DSCP
value.
--------------------------------------------------------------------------------------
interfaces {
fe-0/0/0 {
unit 2 {
scheduler-map voip;
}
unit 10 {
scheduler-map voip;
classifiers {
dscp avaya-voip;
}
}
}
fe-0/0/1 {
unit 38 {
scheduler-map voip;
}
unit 80 {
scheduler-map voip;
classifiers {
dscp avaya-voip;
}
}
}
--------------------------------------------------------------------------------------
Create QoS scheduler-map “voip” and assign forwarding-class to each scheduler.
--------------------------------------------------------------------------------------
scheduler-maps {
voip {
forwarding-class expedited-forwarding scheduler voip-ef;
forwarding-class assured-forwarding scheduler voip-af;
forwarding-class best-effort scheduler novoip;
}
}
--------------------------------------------------------------------------------------
Assign priority value to each scheduler.
--------------------------------------------------------------------------------------
schedulers {
voip-ef {
priority high;
}
voip-af {
priority low;
}
novoip {
drop-profile-map loss-priority high protocol any drop-profile novoip;
}
}
}
--------------------------------------------------------------------------------------
Routing-instances is were the VRF routing tables are defined with the associated
interfaces and routing protocols. Two VRF tables are created, vrf Data and vrf Voice
--------------------------------------------------------------------------------------
routing-instances {
Data { - Names VRF table
instance-type vrf; - Defines it to be a VRF route table
interface fe-0/0/0.2; - Logical interfaces to be associated with
interface fe-0/0/1.38; this VRF table.
route-distinguisher 10.0.0.1:1; - The RD is added to the beginning of the
vrf-import data-import; networksIPv4 prefixes to change it into
vrf-export data-export; globally unique VPN-IPv4 prefixes. The IP
address format is used here.
CE1 (ttyp1)
login: admin
Password:
CE2#
5. Conclusion
As illustrated in these Application Notes, implementing Multi-VRF provides an option for Layer
3 traffic segmentation. Several potential benefits exist by using Multi-VRF, in addition to traffic
segmentation for customers interfacing with an MPLS VPN service provider. Multi-VRF
connectivity between the Juniper and Cisco products depicted can be achieved by following the
guidelines demonstrated in these Application Notes.
6. References
1. JUNOS 7.4 VPN Configuration Guide @ Juniper.com
http://www.juniper.net/techpubs/software/junos/junos74/swconfig74-vpns/html/
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname C3550-DHSS-main
!
!
ip subnet-zero
!
no ip domain-lookup
vtp domain avaya
vtp mode transparent
mls qos map cos-dscp 0 8 16 26 32 46 48 56
mls qos min-reserve 5 170
mls qos min-reserve 6 85
mls qos min-reserve 7 51
mls qos min-reserve 8 34
mls qos
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
!
vlan 2,10,20
!
!
interface FastEthernet0/1
description "eth0 S8710-2"
switchport access vlan 10
switchport mode dynamic desirable
speed 100
duplex full
mls qos trust cos
!
interface FastEthernet0/2
description "eth0 S8710-1"
switchport access vlan 10
switchport mode dynamic desirable
Please e-mail any questions or comments pertaining to these Application Notes along with the
full title name and filename, located in the lower right corner, directly to the Avaya Solution &
Interoperability Test Lab at interoplabnotes@list.avaya.com