Skip to content

Commit 1403b00

Browse files
committed
Update eos CLI vrf command
Replace "routing-context vrf" with "cli vrf" per Arista FN 0039
1 parent 17e0aeb commit 1403b00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

napalm/eos/eos.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1687,7 +1687,7 @@ def traceroute(
16871687
commands = []
16881688

16891689
if vrf:
1690-
commands.append("routing-context vrf {vrf}".format(vrf=vrf))
1690+
commands.append("cli vrf {vrf}".format(vrf=vrf))
16911691

16921692
if source:
16931693
source_opt = "-s {source}".format(source=source)
@@ -2193,7 +2193,7 @@ def ping(
21932193
commands = []
21942194

21952195
if vrf:
2196-
commands.append("routing-context vrf {vrf}".format(vrf=vrf))
2196+
commands.append("cli vrf {vrf}".format(vrf=vrf))
21972197

21982198
command = "ping {}".format(destination)
21992199
command += " timeout {}".format(timeout)

0 commit comments

Comments
 (0)