Dell Command Line Reference Guide for the S4048–ON System 9.14.2.5

PDF

ip vrf forwarding

Attach an interface to a VRF.

Syntax
ip vrf forwarding {vrf-name | management}

To delete an interface associated with a configured VRF, use the no ip vrf forwarding {vrf-name | management} command.

Parameters
vrf-name
Enter name of the VRF that you want to associate the interface to.
management
Enter the keyword management to associate an interface to the management VRF.
Defaults
none
Command Modes
INTERFACE-CONFIG
Command History

This guide is platform-specific. For command information about other platforms, see the relevant Dell EMC Networking OS Command Line Reference Guide.

Version
Description
9.10(0.1)
Introduced on the S6010-ON and S4048T-ON.
9.10(0.0)
Introduced on the S3148.
9.10(0.0)
Introduced on the S6100–ON.
9.8(2.0)
Introduced on the S3100 series.
9.8(1.0)
Introduced on the Z9100–ON.
9.8(0.0P5)
Introduced on the S4048-ON.
9.8(0.0P2)
Introduced on the S3048-ON.
9.7(0.0)
Introduced on the S6000-ON and Z9500.
9.4.(0.0)
Introduced on the S-Series and Z9000.
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
DellEMC# configure terminal
DellEMC(conf)# ip vrf red
DellEMC(conf-vrf)# description "Red Network"
DellEMC(conf-vrf)# show config
!
ip vrf red 4
 description "Red Network"
DellEMC(conf-vrf)#

DellEMC(conf-if-te-1/45)# int te 7/46
DellEMC(conf-if-te-1/46)# no shut
DellEMC(conf-if-te-1/46)# ip vrf forwarding red
DellEMC(conf-if-te-1/46)# ip add 100.1.1.1/24
DellEMC(conf-if-te-1/46)#
DellEMC(conf-if-te-1/46)#
DellEMC(conf-if-te-1/46)#
DellEMC(conf-if-te-1/46)# show config
!
interface TenGigabitEthernet 1/46
 ip vrf forwarding red
 ip address 100.1.1.1/24
 no shutdown
DellEMC(conf-if-te-1/46)#

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\