You are on page 1of 3

===================================================================================

===========================
Lab 7.2: Creating a VRF
===================================================================================
===========================
Objectives
After completing this lab, you will be able to:
• Create a custom VRF
• Assign SVIs to VRF
• Explore VRF specific routing table

=======================================================
Task 1: Create Table VRF
=======================================================

Objectives
In this activity you will load Lab5-2_final checkpoint in Access-1 and Access-2,
where those two switches were interconnected to the Core switches using ports
1/1/21 and 1/1/22.
NOTE: This activity is dependent on Lab 5.2 configuration, make sure you have
completed that lab before starting the current one. Do not proceed if this is not
the case.

===================
Core-1 (via PC-1)
===================
1. Open the SSH session to Core-1.
2. Ping PC-3 (10.7.11.103) and PC-4 (10.7.12.104). Pings should be successful.
NOTE: Replace the highlighted “X” for your student table number.

Core-1# ping 10.7.11.103


Core-1# ping 10.7.12.104

3. Move to configuration mode and create a VRF named TABLE-7.

Core-1# configure terminal


Core-1(config)# vrf TABLE-7
Core-1(config-vrf)#

Move to interface VLAN 711 and move it to the VRF.

Core-1(config)# interface vlan 711


Core-1(config-if-vlan)# vrf attach TABLE-7
Core-1(config-if-vlan)# exit

4. Move to interface VLAN 712 and move it to the VRF.

Core-1(config)# interface vlan 712


Core-1(config-if-vlan)# vrf attach TABLE-7
Core-1(config-if-vlan)# exit

5. Display the Layer 3 interfaces attached to TABLE-7 VRF.

Core-1(config)# show ip interface brief vrf TABLE-7

6. Assign former IP addresses to interface VLAN 711 and 712.


Core-1(config)# interface vlan 711
Core-1(config-if-vlan)# ip address 10.7.11.1/24
Core-1(config-if-vlan)# exit
Core-1(config)# interface vlan 712
Core-1(config-if-vlan)# ip address 10.7.12.1/24
Core-1(config-if-vlan)# exit
Core-1(config)#

7. Repeat step 6.
Core-1(config)# show ip interface brief vrf TABLE-7

8. Display your customer’s routing table. You will need the VRF command extension
at the end of the line.

Core-1(config)# show ip route vrf TABLE-7

9. Ping PC-3 and PC-4. You will need the VRF command extension at the end of the
line. Ping should be successful.

Core-1(config)# do ping 10.7.11.103 vrf TABLE-7


Core-1(config)# do ping 10.7.12.104 vrf TABLE-7

=======================================================
Task 2: Save Your Configurations
=======================================================
Objectives You will now proceed to save your configuration.

===================
Core-1 (via PC-1)
===================

1. Save the current Core-1’s configuration in the startup checkpoint.


Core-1# write memory

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
You have completed Lab 7.2!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

You might also like