cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
476
Views
0
Helpful
1
Replies

IOS XR - Role Back

Ibrahim Jamil
Level 6
Level 6

Hi Guys
I entered the below commands on IOS XR lets say I SSH to this box and the session didnt work

i need to clear this config before the 2 mts over
what IOS XR Command shall i use to clear the above before lock my self out

RP/0/RSP0/CPU0:PE2(config)#tacacs source-interface Loopback0 vrf default
RP/0/RSP0/CPU0:PE2(config)#tacacs-server host 192.168.100.100
RP/0/RSP0/CPU0:PE2(config-tacacs-host)#key 0 TacacsPassword
RP/0/RSP0/CPU0:PE2(config-tacacs-host)#exit
RP/0/RSP0/CPU0:PE2(config)#
RP/0/RSP0/CPU0:PE2(config)#aaa authentication login console local
RP/0/RSP0/CPU0:PE2(config)#aaa authorization commands console none
RP/0/RSP0/CPU0:PE2(config)#line console
RP/0/RSP0/CPU0:PE2(config-line)#login authentication console
RP/0/RSP0/CPU0:PE2(config-line)#authorization commands console
RP/0/RSP0/CPU0:PE2(config-line)#exit
RP/0/RSP0/CPU0:PE2(config)#
RP/0/RSP0/CPU0:PE2(config)#aaa authentication login default group tacacs+ local
RP/0/RSP0/CPU0:PE2(config)#aaa authorization commands default group tacacs+
RP/0/RSP0/CPU0:PE2(config)#aaa accounting exec default start-stop group tacacs+
RP/0/RSP0/CPU0:PE2(config)#aaa accounting system default start-stop group tacacs+
RP/0/RSP0/CPU0:PE2(config)#aaa accounting commands default start-stop group tacacs+

RP/0/RSP0/CPU0:PE2(config)#commit confirmed minutes 2

1 Reply 1

Sunil Bhadauria
Level 1
Level 1

hello Ibrahim ,

Not quite sure about your ask .

per the last command configured : If we do not committ above config within 2 mins system will itself rollback to last known good configuration.

However ask somewhere sound like " how to clear uncommited configuration", below are a couple of examples we could use to clear such configurations :

You could use "abort" to terminate a configuration session from any mode.

You could use clear configuration session <session id> ( get it from show configuration session ) to clear configuration session of another user.

Kindly correct me if i missed your original query ?

Regards

Sunil Bhadauria