Routing & Switching

What is the purpose of the route-target command in this configuration?

G Gurpreet Singh April 23, 2024 1 min read

Router A
ip vrf A rd 100:1
route-target both 200:1
Router B
ip vrf B rd 300:1
route-target both 400:1

What is the purpose of the route-target command in this configuration?

  • Route-target is a dummy command and has no significance
  • Route-target command is used to filter incoming and outgoing routing advertisements
  • Route target is the same as route distinguisher
  • None of the above Clear Response

Explanation

In this configuration, the route-target command is used to establish VPN (Virtual Private Network) connectivity between Router A and Router B. VPNs allow organizations to develop secure and private connections over a public network, such as the Internet.

The route distinguisher (rd) is a value used to distinguish VPN routes from one another, and the route-target is a value used to identify VPN routes that should be imported or exported to or from a particular VPN.

In this configuration, Router A is configured with a VPN named “A” and a route distinguisher of 100:1. It is also configured with a route-target of 200:1, which indicates that routes with a route-target value of 200:1 should be imported or exported to or from VPN A.

Similarly, Router B is configured with a VPN named “B” and a route distinguisher of 300:1. It is also configured with a route-target of 400:1, which indicates that routes with a route-target value of 400:1 should be imported or exported to or from VPN B.

The purpose of the route-target command in this configuration is to establish a VPN connection between Router A and Router B by allowing them to exchange routes.

Therefore, the correct answer is: Route-target command is used to filter incoming and outgoing routing advertisements

GU
Written by

Gurpreet Singh

Hey! I"m Gurpreet Singh and I Have 7+ Years of experience in the Network & Security Domain as well as the Cloud Infra Domain. I am Certified with Cisco ( CCNA ), CheckPoint ( CCSA ), 1xAWS, 3xAZURE, and 3xNSE. So I love to share my tech knowledge with you.

Leave a Reply

Your email address will not be published. Required fields are marked *