![Brocade Communications Systems ICX 7250 series Configuration Manual Download Page 480](http://html1.mh-extra.com/html/brocade-communications-systems/icx-7250-series/icx-7250-series_configuration-manual_2817203480.webp)
Assigning a Layer 3 interface to a VRF
The following example illustrates how a virtual Ethernet (VE) interface is assigned to a VRF, and how IP addresses and the OSPF
protocol are configured.
ATTENTION
After you configure a VRF instance on the device, you must assign one or more Layer 3 interfaces (physical or virtual Ethernet)
to the VRF. When you do this, all existing IP addresses are deleted; this action also triggers cache deletion, route deletion, and
associated cleanup. After you assign an interface to the VRF, you must reconfigure the IP address and interface properties.
1. Enter global configuration mode.
device# configure terminal
2. In global configuration mode, enter the
interface ve
command to create a VE interface.
device(config)# interface ve 10
3. In VE configuration mode, enable forwarding for the VRF "guest".
device(config-vif-10)# vrf forwarding guest
Warning: All IPv4 and IPv6 addresses (including link-local) on this interface have been removed
have been removed
4. Configure an IPv4 address and mask on the VE interface.
device(config-vif-10)# ip address 192.168.1.254/24
5. Enable OSPF Area 0.
device(config-vif-10)# ip ospf area 0
6. Configure the interface as passive.
device(config-vif-10)# ip ospf passive
device(config-vif-10)# exit
7. Exit the configuration.
device(config-vif-10)# exit
Assigning a loopback interface to a VRF
Do the following to assign a loopback interface to a nondefault VRF.
Because a loopback interface is always available as long as the device is available, it allows routing protocol sessions to stay up even if
the outbound interface is down. Assigning a loopback interface to a VRF is similar to assigning any interface. A loopback interface that is
not assigned to a nondefault VRF belongs to the default VRF.
1. Enter global configuration mode.
device# configure terminal
2. In global configuration mode, enter interface subtype configuration mode and assign a loopback interface.
device(config)# interface loopback 1
Configuring Multi-VRF
Brocade FastIron Layer 3 Routing Configuration Guide
480
53-1003903-04
Summary of Contents for ICX 7250 series
Page 2: ...Brocade FastIron Layer 3 Routing Configuration Guide 2 53 1003903 04...
Page 16: ...Brocade FastIron Layer 3 Routing Configuration Guide 16 53 1003903 04...
Page 20: ...Brocade FastIron Layer 3 Routing Configuration Guide 20 53 1003903 04...
Page 36: ...Brocade FastIron Layer 3 Routing Configuration Guide 36 53 1003903 04...
Page 124: ...Brocade FastIron Layer 3 Routing Configuration Guide 124 53 1003903 04...
Page 174: ...Brocade FastIron Layer 3 Routing Configuration Guide 174 53 1003903 04...
Page 188: ...Brocade FastIron Layer 3 Routing Configuration Guide 188 53 1003903 04...
Page 202: ...Brocade FastIron Layer 3 Routing Configuration Guide 202 53 1003903 04...
Page 470: ...Brocade FastIron Layer 3 Routing Configuration Guide 470 53 1003903 04...