Prerequisites for Configuring VRF Support
-
For Multi-VRF support on SIP phones, Cisco Unified CME version has to be 10.5 and later.
-
For Multi-VRF support on SCCP phones, Cisco Unified CME 7.0(1) or a later version must be configured on the Cisco router.
-
VRF-Aware H.323 and SIP must be configured on the Cisco Unified CME router, including the following:
-
Up to five VRFs must be configured on the Cisco Unified CME router by using the ip vrf command. For configuration information, see VRF-Aware H.323 and SIP for Voice Gateways.
-
One of the groups must be designated as a global voice VRF (SIP Trunk) by using thevoice vrf command. For configuration information, see VRF-Aware H.323 and SIP for Voice Gateways.
Example:
voice vrf voice-vrf ip vrf data-vrf1 rd 801:1 route-target export 801:1 route-target import 1000:1 ! ip vrf data-vrf2 rd 802:1 route-target export 802:1 route-target import 1000:1 ! ip vrf voice-vrf rd 1000:1 route-target export 1000:1 route-target import 801:1 route-target import 802:1 !
-
-
Interfaces on the router must be configured for the VRFs by using the ip vrf forwarding command.
Note
Only global voice VRF is supported for SIP trunk.
Example:
interface GigabitEthernet0/0.301 encapsulation dot1Q 301 ip vrf forwarding data-vrf1 ip address 10.1.10.1 255.255.255.0 ! interface GigabitEthernet0/0.302 encapsulation dot1Q 302 ip vrf forwarding data-vrf1 ip address 10.2.10.1 255.255.255.0 ! interface GigabitEthernet0/0.303 encapsulation dot1Q 303 ip vrf forwarding voice-vrf ip address 10.3.10.1 255.255.255.0
-
VRFs must be mapped to IP addresses using DHCP. For configuration information, see DHCP Service.
Example:
!<=== no ip dhcp command required only if “ip vrf forward” is specified under ip dhcp no ip dhcp use vrf connected pool===> !<=== Associate subnets with VRFs. Overlapping IP addresses are NOT supported.===> ip dhcp pool vcme1 network 10.1.10.0 255.255.255.0 default-router 10.1.10.1 option 150 ip 10.1.10.1 class vcme1 address range 10.1.10.10 10.1.10.250 ! ip dhcp pool vcme2 network 10.2.10.0 255.255.255.0 default-router 10.2.10.1 option 150 ip 10.2.10.1 class vcme2 address range 10.2.10.10 10.2.10.250
For more configuration examples, see Example for Mapping IP Address Ranges to VRF Using DHCP.
-
Dial peers for H323 and SIP trucks must be routed through the global voice VRF.
Note
Dial peers are global resources belonging to the voice VRF and shared with and accessible from any VRF. There is no need to configure a dial peer for each individual VRF.