
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
3. Use the
vrf forwarding
command to assign the interface to the VRF "customer-1" in this example.
device(config-lbif-1)# vrf forwarding customer-1
4. Assign an IPv4 address and mask to the loopback interface.
device(config-lbif-1)# ip address 10.0.0.1/24
Verifying a Multi-VRF configuration
The following examples illustrate the use of a variety of show commands that are useful in verifying Multi-VRF configurations.
To verify all configured VRFs in summary mode, enter the
show vrf
command, as in the following example.
device# 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
green 1:1 A | A| A 12 ve111 ve211 ve311*
red 10:12 A | A| A 4 ve1117 port-id tn1*
Total number of IPv4 unicast route for all non-default VRF is 8
Total number of IPv6 unicast route for all non-default VRF is 8
To verify a specific VRF in detail mode, enter the
show vrf detail
vrf-name
command, as in the following example.
device# show vrf green
VRF green, default RD 1:1, Table ID 1
IP Router-Id: 1.1.1.1
Interfaces: ve111 ve211 ve311 ve1116 ve2115
Address Family IPv4
Max Routes: 5500
Number of Unicast Routes: 6
Address Family IPv6
Max Routes: 400
Number of Unicast Routes: 6
Configuring Multi-VRF
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04
567
Содержание FastIron SX 1600
Страница 2: ...FastIron Ethernet Switch Layer 3 Routing 2 53 1003627 04 ...
Страница 16: ...FastIron Ethernet Switch Layer 3 Routing 16 53 1003627 04 ...
Страница 20: ...FastIron Ethernet Switch Layer 3 Routing 20 53 1003627 04 ...
Страница 142: ...FastIron Ethernet Switch Layer 3 Routing 142 53 1003627 04 ...
Страница 150: ...FastIron Ethernet Switch Layer 3 Routing 150 53 1003627 04 ...
Страница 200: ...FastIron Ethernet Switch Layer 3 Routing 200 53 1003627 04 ...
Страница 214: ...FastIron Ethernet Switch Layer 3 Routing 214 53 1003627 04 ...
Страница 350: ...FastIron Ethernet Switch Layer 3 Routing 350 53 1003627 04 ...
Страница 476: ...FastIron Ethernet Switch Layer 3 Routing 476 53 1003627 04 ...
Страница 588: ...FastIron Ethernet Switch Layer 3 Routing 588 53 1003627 04 ...