Posted on June 24, 2020 7:49 pm
 |  Asked by Sergej Pioch
 |  84 views
RESOLVED
0
0
Print Friendly, PDF & Email

Using CloudVision to initially configure our switches, some errors showed up today for wich I didn’t find documentation and which are hard to handle. I use configlet builder scripts which automatically build initial configuration concluding vrf definition for managment purposes and I get the following errors while trying to change configuration of an EOS 4.23.0F preloaded switch:

1. > vrf definition MANAGEMENT% Unavailable command (This command is deprecated by ‘vrf instance [VRF_ID]’) at line
2. > rd 65001:480% Invalid input at line
3. > ip domain-name<domain-name>% Unavailable command (This command is deprecated by ‘dns domain’) at line
4. > vrf forwarding MANAGEMENT% Unavailable command (This command is deprecated by ‘vrf [VRF_ID]’) at line
5. > ip route vrf MANAGEMENT 0.0.0.0/0 <next-hop>% IP Routing table for VRF MANAGEMENT does not exist. Create first. at line
6. > snmp-server vrf MANAGEMENT source-interface Management 1% Unavailable command (This command is deprecated by ‘snmp-server local-interface’) at line

In latest EOS documentation there is no content on howto handle this since vrf seems to be context-based now. My question is howto translate these deprecations inside a configlet into a proper sytax?

0
Posted by Tamas Plugor
Answered on June 24, 2020 7:53 pm

Hi Sergej,

We have new CLI syntaxes for lots of commands starting from EOS 4.23 which you can read about here: https://www.arista.com/en/support/advisories-notices/fieldnotices/7097-field-notice-39

The above article has all the commands with old and new format. You will need to change your builder to use the new format if EOS version is newer than 4.23, the old CLI format is not accepted in 4.23 anymore.

HTH,

Tamas

 

Hi Tamas! Thanks for your fast answer. Just one more question. When doing an update from 4.22 train to 4.23 - how is this handled? Kind regards, Sergej
(Sergej Pioch at June 25, 2020 5:10 am)
0
Posted by Tamas Plugor
Answered on July 6, 2020 10:53 am

CLI conversion is handled automatically during upgrades, so you'll need to make sure your configlets are updated as well. You might find this configlet conversion tool helpful: https://github.com/darkiesan/CV-EOS-Conversion

Post your Answer

You must be logged in to post an answer.