ExamGecko
Question list
Search
Search

List of questions

Search

Question 5 - D-SNC-DY-00 discussion

Report
Export

SIMULATION

Configure a VRF called 'VrfGreen' and the static route in it to network 172.16.128.64/28 through next-hop 10.10.10.1. Set an administrative distance of 213.

A.
see the explanation for all step by step solution with all explanation
Answers
A.
see the explanation for all step by step solution with all explanation
Suggested answer: A

Explanation:

Here are the steps to configure the VRF and the static route:

Enter Configuration Mode:

sonic# configure terminal

Create VRF 'VrfGreen':

sonic(config)# ip vrf VrfGreen

Configure the Static Route:

sonic(config)# ip route vrf VrfGreen 172.16.128.64/28 10.10.10.1 213

Save Configuration:

sonic# write memory

Comprehensive Detailed Step by Step Explanation with

Reference:

Enter Configuration Mode:

Begin by entering the global configuration mode to make changes to the switch configuration.

Create VRF 'VrfGreen':

Use the command ip vrf VrfGreen to create a new VRF named 'VrfGreen'. This command sets up a new VRF instance which will isolate the routing table for this VRF from the global routing table and other VRFs.

Configure the Static Route:

Use the command ip route vrf VrfGreen 172.16.128.64/28 10.10.10.1 213 to configure the static route.

ip route vrf VrfGreen specifies that the route should be added to the 'VrfGreen' VRF.

172.16.128.64/28 is the destination network.

10.10.10.1 is the next-hop IP address.

213 is the administrative distance, which in this case is set to a non-default value to influence route preference.

Save Configuration:

Save the configuration to ensure the changes persist after a reboot using the write memory command.

Dell Technologies Networking - SONiC

Dell Enterprise SONiC Deployment Guide

These steps provide a comprehensive guide to configure a VRF and a static route within that VRF on a SONiC-based switch, ensuring the specific requirements for routing and administrative distance are met.


asked 16/09/2024
Baljit Bhadare
39 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first