Skip to content

Commit eaf7688

Browse files
committed
Update eos CLI vrf command
Replace "routing-context vrf" with "cli vrf" per Arista FN 0039
1 parent 539ca85 commit eaf7688

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
@@ -1742,7 +1742,7 @@ def traceroute(
17421742
commands = []
17431743

17441744
if vrf:
1745-
commands.append("routing-context vrf {vrf}".format(vrf=vrf))
1745+
commands.append("cli vrf {vrf}".format(vrf=vrf))
17461746

17471747
if source:
17481748
source_opt = "-s {source}".format(source=source)
@@ -2248,7 +2248,7 @@ def ping(
22482248
commands = []
22492249

22502250
if vrf:
2251-
commands.append("routing-context vrf {vrf}".format(vrf=vrf))
2251+
commands.append("cli vrf {vrf}".format(vrf=vrf))
22522252

22532253
command = "ping {}".format(destination)
22542254
command += " timeout {}".format(timeout)

0 commit comments

Comments
 (0)