vrf <vrf-name>

Use this command to associate a DHCP address with a VRF. This command is an optional command. The address pools are, by default, associated with the default-VRF.

Using this command, a DHCP pool is associated with a specific VRF instance. The interfaces belonging to a specific VRF instance are allocated IP addresses from among the DHCP pools associated with this VRF instance only.

Default By default, all address pools are associated with the default VRF.
Format vrf <vrf-name>
Mode DHCP Pool Config
Parameter Description
vrf-name The VPN routing and forwarding (VRF) name.

Example: The following example associates DHCP server DHCP pool poolRed with VRF VrfRed.

(dhcp-10-130-187-64)#configure
(dhcp-10-130-187-64)(Config)# ip dhcp pool poolRed
(dhcp-10-130-187-64)(Config-dhcp-pool)#vrf VrfRed
(dhcp-10-130-187-64)(Config-dhcp-pool)#

www.lancom-systems.com

LANCOM Systems GmbH | A Rohde & Schwarz Company | Adenauerstr. 20/B2 | 52146 Wuerselen | Germany | E‑Mail info@lancom.de

LANCOM Logo