
3. Repeat the previous step on the corresponding interface on the peer device.
Configuring a VRF instance
Do the following to configure a VRF instance.
A device can be configured with more than one VRF instance. You should define each VRF instance before assigning the VRF to a Layer
3 interface. The range of the instance name is from 1 through 255 alphanumeric characters. Each VRF instance is identified by a unique
Route Distinguisher (RD), which is prepended to the address being advertised. Because the RD provides overlapping client address
space with a unique identifier, the same IP address can be used for different VRFs without conflict. The RD can be an AS number,
followed by a colon (:) and a unique arbitrary number as shown below. Alternatively, it can be a local IP address followed by a colon (:) and
a unique arbitrary number, as in "1.1.1.1:100." An optional router ID can also be assigned.
Use the
address-family
command in VRF configuration mode to specify an IPv4 or IPv6 address family. For a specific address family
you can also configure static route, static ARP, IGMP, and multicast for IPv4, and static route, IPv6 neighbor, and multicast for IPv6.
ATTENTION
Using the
overwrite
option while downloading a configuration from a TFTP server to the running-config will lead to the loss of
all VRF configurations when a VRF is configured on a routing interface.
1. (Optional) Assign a Route Distinguisher (RD).
device(config-vrf-corporate)# rd 11:11
2. (Optional) Assign a router ID.
device(config-vrf-corporate)# ip router-id 1.1.1.1
3. Use the
address-family unicast (VRF)
command to configure an address family on the VRF and exit. This example uses IPv4.
device(config-vrf-corporate)# address-family ipv4 unicast
device(config-vrf-corporate-ipv4)# exit
4. Verify the configuration.
device(config-vrf-corporate)# do show vrf
Total number of VRFs configured: 2
Status Codes - A:active, D:pending deletion, I:inactive
Name Default RD vrf|v4|v6 Routes Interfaces
corporate 11:11 A | A| I 0
guest 10:10 A | A| I 0
Total number of IPv4 unicast route for all non-default VRF is 0
Total number of IPv6 unicast route for all non-default VRF is 0
Starting a routing process for a VRF
You must enable a routing protocol for each VRF instance. This example uses OSPF.
1. In global configuration mode, enable OSPF for the VRF instance "corporate."
device(config)# router ospf vrf corporate
2. Configure the VRF to use OSPF Area 0.
device(config-ospf-router-vrf-corporate)# area 0
Configuring Multi-VRF
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04
565
Summary of Contents for FastIron SX 1600
Page 2: ...FastIron Ethernet Switch Layer 3 Routing 2 53 1003627 04 ...
Page 16: ...FastIron Ethernet Switch Layer 3 Routing 16 53 1003627 04 ...
Page 20: ...FastIron Ethernet Switch Layer 3 Routing 20 53 1003627 04 ...
Page 142: ...FastIron Ethernet Switch Layer 3 Routing 142 53 1003627 04 ...
Page 150: ...FastIron Ethernet Switch Layer 3 Routing 150 53 1003627 04 ...
Page 200: ...FastIron Ethernet Switch Layer 3 Routing 200 53 1003627 04 ...
Page 214: ...FastIron Ethernet Switch Layer 3 Routing 214 53 1003627 04 ...
Page 350: ...FastIron Ethernet Switch Layer 3 Routing 350 53 1003627 04 ...
Page 476: ...FastIron Ethernet Switch Layer 3 Routing 476 53 1003627 04 ...
Page 588: ...FastIron Ethernet Switch Layer 3 Routing 588 53 1003627 04 ...