09-28-2012 06:59 AM
Hello,
We have a Juniper backbone and customer side is completely Cisco. I have never got a chance to work on XR platforms (I am good with IOS though). We are starting to introduce few XR devices.Finding small info in huge documentation will be a lot of time. I need to know the commands/features similar to Juniper in Cisco high end routers.
Things I would like to know as below compared to Juniper:-
1) show | compare
2) commit check
3) replace pattern
4) load set terminal
5) rollback
Please give as much as input possible.
Thanks & Regards,
Deepak Ambotkar
Solved! Go to Solution.
10-11-2012 10:44 AM
5) is rollback configuration last
4) load set terminal might be 'commit replace', I'm not familiar with that command
1) You can do 'root' followed by 'show' which shows you all the changes that will be made, but it does not show you in diff style format - i.e., what would 'go away'. If you changed the metric on a link for example, it would not tell you what the old one was.
2) it does not look like this functionality is available.
10-23-2012 02:22 AM
JunOS and IOS-XR feel quite similar overall.
1) show | compare
'show' in configuration mode will show you the current changes you are about to commit.
After a change has been committed, you can view, for all commits, the changes in a 'diff'-like mode (
show configuration changes diff).
2) commit check
Not really needed here, since syntax check occures when configuration is entered, and changes are applied when committed.
3) replace pattern
Not available as far as I know
4) load set terminal
If I remember well this is to load a config from text file right ?
You can do that using 'load [filename]' from configuration mode, then you can commit it.
5) rollback
Yes (see post from Aaron)
10-11-2012 10:44 AM
5) is rollback configuration last
4) load set terminal might be 'commit replace', I'm not familiar with that command
1) You can do 'root' followed by 'show' which shows you all the changes that will be made, but it does not show you in diff style format - i.e., what would 'go away'. If you changed the metric on a link for example, it would not tell you what the old one was.
2) it does not look like this functionality is available.
10-23-2012 01:00 AM
Thank you for the inputs Aaron.
Do you know some one who has worked on both platforms in SP environment, who can answer all 5 points?
Also I have found a nice link for all of these on Cisco-
http://www.cisco.com/en/US/docs/ios_xr_sw/iosxr_r3.3/getting_started/installation/guide/gs_33.html
-Deepak
10-23-2012 02:22 AM
JunOS and IOS-XR feel quite similar overall.
1) show | compare
'show' in configuration mode will show you the current changes you are about to commit.
After a change has been committed, you can view, for all commits, the changes in a 'diff'-like mode (
show configuration changes diff).
2) commit check
Not really needed here, since syntax check occures when configuration is entered, and changes are applied when committed.
3) replace pattern
Not available as far as I know
4) load set terminal
If I remember well this is to load a config from text file right ?
You can do that using 'load [filename]' from configuration mode, then you can commit it.
5) rollback
Yes (see post from Aaron)
10-23-2012 05:18 AM
Hi Maxime,
Thank you for the information.
Well for the porint #4-
This is not only loading a configuration from the file but also just copy & paste alot of lines at the same time like text.
Please let me know if this is similar.
-Deepak
10-23-2012 07:46 AM
Hi Deepak,
You can copy/paste relatively large configuration text directly in the IOS-XR config CLI, just like in IOS, exept here you need to commit it when you are done. Alternatively you can load a text file instead of copy/pasting using the 'load' command, the effect is the same. But there is no explicit 'load set terminal' to allow copy/pasting of config.
Max
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide