Procedure
PurposeCommand or Action
Enters the global configuration mode.configure terminal
Example:
Device# configure terminal
Step 1
Enters interface configuration mode, and
specifies the Layer 3 interface to configure.
interface interface-id
Example:
Device(config)#
interface gigabitethernet 1/0/1
Step 2
Removes the interface from Layer 2
configuration mode if it is a physical
interface.
no switchport
Example:
Device(config-if)# no switchport
Step 3
Configures VRF on the interface.
ip vrf forwarding vrf-name
Example:
Device(config-if)# ip vrf forwarding vpn2
Step 4
Enters the IP address for the interface.
ip address ip-address
Example:
Device(config-if)# ip address 10.1.5.1
Step 5
Enables uRPF on the interface.ip verify unicast reverse-path
Example:
Device(config-if)# ip verify unicast
reverse-path
Step 6
Returns to privileged EXEC mode.end
Example:
Device(config-if)# end
Step 7
Routing Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9500 Switches)
167
Configuring IP Unicast Routing
Configuring VRF-Aware Services