PurposeCommand or Action
Specifies the Layer 3 interface to be associated
with the VRF, and enter interface configuration
interface interface-id
Example:
Device(config-vrf)# interface
gigabitethernet 1/0/2
Step 8
mode. The interface can be a routed port or an
SVI.
Associates the VRF with the Layer 3 interface.
ip vrf forwarding vrf-name
Example:
Device(config-if)# ip vrf forwarding
vpn1
Step 9
Configures IP address for the Layer 3 interface.
ip address ip-address mask
Example:
Device(config-if)# ip address 10.1.5.1
255.255.255.0
Step 10
Enables PIM on the VRF-associated Layer 3
interface.
ip pim sparse-dense mode
Example:
Device(config-if)# ip pim sparse-dense
mode
Step 11
Returns to privileged EXEC mode.end
Example:
Device(config)# end
Step 12
Verifies the configuration. Displays information
about the configured VRFs.
show ip vrf [brief | detail | interfaces]
[vrf-name]
Example:
Device# show ip vrf detail vpn1
Step 13
(Optional) Saves your entries in the configuration
file.
copy running-config startup-config
Example:
Device# copy running-config
Step 14
startup-config
Routing Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9500 Switches)
172
Configuring IP Unicast Routing
Configuring Multicast VRFs