Created
June 18, 2018 13:58
-
-
Save rwestphal/caedd9f3e4888cab2d631cc21967e93d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ripd# conf t | |
ripd(config)# router rip | |
ripd(config-router)# network eth2 | |
ripd(config-router)# show configuration candidate changes | |
@@ -14,6 +14,7 @@ | |
distance 25 172.16.1.0/24 | |
network eth0 | |
network eth1 | |
+ network eth2 | |
redistribute ospf metric 3 | |
route 50.0.0.0/8 | |
route 60.0.0.0/8 | |
ripd(config-router)# commit comment Enable RIP on eth2 | |
% Configuration committed successfully. | |
ripd(config-router)# | |
ripd(config-router)# show configuration transaction | |
Transaction ID Client Date Comment | |
------------------------------------------------------------------------ | |
9 CLI 2018-06-16 17:27:10 Enable RIP on eth2 | |
8 CLI 2018-06-16 17:26:14 | |
7 CLI 2018-06-16 17:26:07 | |
6 CLI 2018-06-16 17:25:08 Change RIP default metric | |
5 CLI 2018-06-16 17:24:44 Enable RIP authentication | |
4 CLI 2018-06-16 17:24:00 | |
3 CLI 2018-06-16 17:23:38 | |
2 CLI 2018-06-16 17:23:30 | |
1 ConfD 2018-06-16 17:23:00 | |
ripd(config-router)# | |
ripd(config-router)# show configuration transaction 9 | |
Configuration: | |
! | |
frr version 5.1-dev | |
frr defaults traditional | |
! | |
interface eth0 | |
ip rip authentication mode md5 | |
ip rip authentication string lalala | |
! | |
router rip | |
allow-ecmp | |
default-information originate | |
default-metric 3 | |
distance 25 172.16.1.0/24 | |
network eth0 | |
network eth1 | |
network eth2 | |
redistribute ospf metric 3 | |
route 50.0.0.0/8 | |
route 60.0.0.0/8 | |
version 2 | |
! | |
end | |
ripd(config-router)# show configuration transaction 9 changes | |
@@ -14,6 +14,7 @@ | |
distance 25 172.16.1.0/24 | |
network eth0 | |
network eth1 | |
+ network eth2 | |
redistribute ospf metric 3 | |
route 50.0.0.0/8 | |
route 60.0.0.0/8 | |
ripd(config-router)# | |
ripd(config-router)# show configuration compare ? | |
candidate Candidate configuration | |
running Running configuration | |
transaction Configuration transaction | |
ripd(config-router)# show configuration compare transaction 5 transaction 9 ? | |
json Change output format to JSON | |
xml Change output format to XML | |
<cr> | |
ripd(config-router)# show configuration compare transaction 5 transaction 9 | |
@@ -9,11 +9,15 @@ | |
! | |
router rip | |
allow-ecmp | |
+ default-information originate | |
+ default-metric 3 | |
distance 25 172.16.1.0/24 | |
network eth0 | |
network eth1 | |
+ network eth2 | |
redistribute ospf metric 3 | |
route 50.0.0.0/8 | |
route 60.0.0.0/8 | |
+ version 2 | |
! | |
end | |
ripd(config-router)# show configuration compare transaction 9 transaction 5 | |
@@ -9,15 +9,11 @@ | |
! | |
router rip | |
allow-ecmp | |
- default-information originate | |
- default-metric 3 | |
distance 25 172.16.1.0/24 | |
network eth0 | |
network eth1 | |
- network eth2 | |
redistribute ospf metric 3 | |
route 50.0.0.0/8 | |
route 60.0.0.0/8 | |
- version 2 | |
! | |
end | |
ripd(config-router)# | |
ripd(config-router)# | |
ripd(config-router)# exit | |
ripd(config)# configuration database max-transactions 5 | |
% Maximum number of transactions updated successfully. | |
ripd(config)# | |
ripd(config)# | |
ripd(config)# show configuration transaction | |
Transaction ID Client Date Comment | |
------------------------------------------------------------------------ | |
9 CLI 2018-06-16 17:27:10 Enable RIP on eth2 | |
8 CLI 2018-06-16 17:26:14 | |
7 CLI 2018-06-16 17:26:07 | |
6 CLI 2018-06-16 17:25:08 Change RIP default metric | |
5 CLI 2018-06-16 17:24:44 Enable RIP authentication | |
ripd(config)# exit | |
ripd# | |
ripd# | |
ripd# # method 1 to rollback to a previous configuration: | |
ripd# rollback configuration ? | |
(1-4294967296) Transaction ID | |
ripd# rollback configuration 5 | |
% Configuration was successfully rolled back. | |
ripd# | |
ripd# | |
ripd# show configuration transaction | |
Transaction ID Client Date Comment | |
------------------------------------------------------------------------ | |
10 CLI 2018-06-16 22:46:11 Rollback to transaction 5 | |
9 CLI 2018-06-16 17:27:10 Enable RIP on eth2 | |
8 CLI 2018-06-16 17:26:14 | |
7 CLI 2018-06-16 17:26:07 | |
6 CLI 2018-06-16 17:25:08 Change RIP default metric | |
ripd# conf t | |
ripd(config)# # method 2 to rollback to a previous configuration: | |
ripd(config)# configuration load ? | |
file Load configuration file into candidate | |
transaction Load configuration from transaction into candidate | |
ripd(config)# configuration load transaction ? | |
(1-4294967296) Transaction ID | |
ripd(config)# configuration load transaction 8 | |
ripd(config)# show configuration candidate changes | |
@@ -9,11 +9,15 @@ | |
! | |
router rip | |
allow-ecmp | |
+ default-information originate | |
+ default-metric 3 | |
distance 25 172.16.1.0/24 | |
network eth0 | |
network eth1 | |
+ network eth2 | |
redistribute ospf metric 3 | |
route 50.0.0.0/8 | |
route 60.0.0.0/8 | |
+ version 2 | |
! | |
end | |
ripd(config)# commit comment Revert latest changes | |
% Configuration committed successfully. | |
ripd(config)# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, i want these commands on frr 7.5. and i have lots of bugs. what are your changes on northbound files to work with rollback. can you share your frr/lib/ directory with me?