VRF Flashcards

1
Q

Define VRF

A

Virtual Route Forwarding - when a physical router is logically divided creating separate virtual routers. Router interfaces, routing tables, and forwarding tables are completely isolated between VRFs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Describe the steps to create two VRFs (VRF Lite) called network-A and network-B and assign interface gi0/0 and gi0/1 to each VRF. Assume the IPv4 address for the interface are 10.1.0.2 and 10.1.1.2 respectively. The IPv6 address is 2001:DB8:1234::2/64 and 2001:DB8:1234:1::2/64.

A

Step 1 - Router# configure terminal
Step 2 - Router(config)# vrf definition network-A
Step 3 - Router(config-vrf)# address-family ipv4
Step 4 - Router(config-vrf)# address-family ipv6
Step 5 - Router(config)# vrf definition network-B
Step 6 - Router(config-vrf)# address-family ipv4
Step 7 - Router(config-vrf)# address-family ipv6
Step 8 - Router(config)# int gi0/0
Step 9 - Router(config-if)# vrf forwarding network-A
NOTE: upon entering this command ipv4 and ipv6 addresses will
be wiped out
Step 10 - Router(config-if)# ip address 10.1.0.2 255.255.255.0
Step 11 - Router(config-if)# ipv6 address 2001:DB8:1234::2/64
Step 12 - Router(config)# int gi0/1
Step 13 - Router(config-if)# vrf forwarding network-B
Step 10 - Router(config-if)# ip address 10.1.1.2 255.255.255.0
Step 11 - Router(config-if)# ipv6 address 2001:DB8:1234:1::2/64

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Describe the steps to create two VRFs (VRF Lite) called network-A and network-B and assign interface gi0/0 and gi0/1 to each VRF. Assume the IPv4 address for the interface are 10.1.0.2 and 10.1.1.2 respectively. Use the “IPv4 only” method to configure the VRFs.

A

Step 1 - Router# configure terminal
Step 2 - Router(config)# ip vrf network-A
Step 3 - Router(config)# ip vrf network-B
Step 4 - Router(config)# int gi0/0
Step 5 - Router(config-if)# ip vrf forwarding network-A
NOTE: upon entering this command the ip address will be reset
Step 6 - Router(config-if)# ip address 10.1.0.2 255.255.255.0
Step 7 - Router(config)# int gi0/1
Step 8 - Router(config-if)# ip vrf forwarding network-B
Step 9 - Router(config-if)# ip address 10.1.1.2 255.255.255.0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the command to show the routing table for the VRF named “network-A”?

A

Router# show ip route vrf network-A

NOTE: You can optionally add a network address to the end of the command to see a specific route, i.e.:

Router# show ip route vrf network-A 10.11.12.1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the command to display all of the VRFs configured on a given router?

A

Router# show ip vrf

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the appropriate command to ping the ip address 4.4.4.4 as if you are on the network-A VRF?

A

Router# ping vrf network-A 4.4.4.4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Assuming that all VRFs are already configured on Router1. What are the steps to configure OSPF with a process number of 1 and advertise all networks in area 0 for the VRF named network-A?

A

Router1# configure terminal
Router1(config)# router ospf 1 vrf network-A
Router(config-router)# network 0.0.0.0 255.255.255.255 area 0

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How do we show the verbose information regarding the VRFs on a router?

A

Router# show ip vrf detail

How well did you know this?
1
Not at all
2
3
4
5
Perfectly