Usage Information
You can attach an interface to either a nondefault VRF or a management VRF.
To assign a port-back to a default VRF, remove the VRF association from the interface. You can use this only if
there is no IP address configured on the interface.
There must be no prior Layer 3 configuration on the interface when configuring VRF.
You must enable VRF before using this command.
You can configure an IP subnet or address on a physical or VLAN interface that overlaps the same IP subnet or
address configured on another interface only if the interfaces are assigned to different VRFs. If you assign two
interfaces to the same VRF, you cannot configure overlapping IP subnets or the same IP address to them.
Example
Dell# configure terminal
Dell(conf)# ip vrf red
Dell(conf-vrf)# description "Red Network"
Dell(conf-vrf)# show config
!
ip vrf red 4
description "Red Network"
Dell(conf-vrf)#
Dell(conf-if-te-1/1/4/1)# int tengigabitethernet 1/1/4/2
Dell(conf-if-te-1/1/4/2)# no shut
Dell(conf-if-te-1/1/4/2)# ip vrf forwarding red
Dell(conf-if-te-1/1/4/2)# ip add 100.1.1.1/24
Dell(conf-if-te-1/1/4/2)#
Dell(conf-if-te-1/1/4/2)#
Dell(conf-if-te-1/1/4/2)#
Dell(conf-if-te-1/1/4/2)# show config
!
interface TenGigabitEthernet 1/1/4/2
ip vrf forwarding red
ip address 100.1.1.1/24
no shutdown
Dell(conf-if-te-1/1/4/2)#
ip http vrf
Configure an HTTP client with a VRF used to connect to the HTTP server.
Syntax
ip http vrf {management |
vrf-name
}
To undo the HTTP client configuration, use the
ip http vrf
command.
Parameters
management
Enter the keyword
management
for configuring the management VRF that uses an
HTTP client.
vrf-name
Enter a VRF name that the HTTP client uses. If you do not specify a VRF name, the
HTTP client uses the default VRF.
Defaults
Disabled
Command Modes
CONFIGURATION
1652
Virtual Routing and Forwarding (VRF)