Version 6.8 89 Mediant MSBR
Configuration Guide 14. Virtual Routing and Forwarding (VRF)
14.1.4 Routing Services on Different VRF’S
This example shows a scenario in which there are several LAN segments connected to the
MSBR via different VLANs, which are associated with different VRFs. The Data VRF has
BGP connectivity to the ISP and RIP protocol for routing on the LAN. The ipTV VRF has a
static route towards the ISP and OSPF routing protocol for the LAN network.
This is a conceptual scenario to show how to provide different services using different
protocols on different VRFs.
Figure 14-2: Routing Services on Different VRFs
14.1.4.1 Configuration
The configuration regarding the VRFs and their associated protocols is shown below.
Standard protocol and addressing configuration is omitted and can be observed in their
respective chapters in this guide.
MSBR(config-data)# ip vrf DATA enable bgp
MSBR(config-data)# ip vrf DATA enable rip
MSBR(config-data)# ip vrf VOICE
MSBR(config-data)# ip vrf IPTV enable ospf
MSBR(config-data)#interface vlan 1
MSBR(config-if-VLAN-1)#ip address 192.168.0.1 255.255.255.0
MSBR(config-if-VLAN-1)#ip vrf forwarding DATA
MSBR(config-if-VLAN-1)#exit
MSBR(config-data)#interface vlan 2
MSBR(config-if-VLAN-2)#ip address 192.168.1.1 255.255.255.0
MSBR(config-if-VLAN-2)#ip vrf forwarding VOICE
MSBR(config-if-VLAN-2)#exit
MSBR(config-data)#interface vlan 3
MSBR(config-if-VLAN-3)#ip address 192.168.3.1 255.255.255.0
MSBR(config-if-VLAN-3)#ip vrf forwarding IPTV
MSBR(config-if-VLAN-3)#exit
MSBR(config-data)#interface gigabitethernet 0/0.1
MSBR(config-if-GE 0/0.1)#ip address 100.0.0.1 255.255.255.0
MSBR(config-if-GE 0/0.1)#ip vrf forwarding VOICE
MSBR(config-if-GE 0/0.1)#exit
MSBR(config-data)#interface gigabitethernet 0/0.2
MSBR(config-if-GE 0/0.2)#ip address 100.0.1.1 255.255.255.0
MSBR(config-if-GE 0/0.2)#ip vrf forwarding IPTV