For example, there
was no access control to speci?¬?c interfaces, and commands placed on higher privilege
levels could not be reused for lower privileged users. Role-Based CLI allows for the
creation of a view, which is a set of commands and con?¬?guration capabilities that provides
select or partial access to IOS commands.
2821(config)#aaa new-model Enables AAA, which must
be con?¬?gured to create a
view
2821(config)#exit Returns to privileged
mode
2821#disable Returns to user mode
2821>enable view
Password:xxxxxx
%PARSER-6-VIEW_SWITCH: successfully set to
view ???root??™
2821#
Enters root view, which
allows users to con?¬?gure
CLI views
Prompts you to enter the
enable secret password
2821#configure terminal Moves to global
con?¬?guration mode
2821(config)#parser view first
%PARSER-6-VIEW_CREATED: view 'first'
successfully created.
Creates a view named
?¬?rst and enters view
con?¬?guration mode
2821(config-view)#secret firstpassword Associates the CLI view
with a secret password
Role-Based CLI 101
2821(config-view)#secret 5
$1$ExxV$YMPap5SrXimAKcWilh2Sp1
Associates the CLI view
with a secret password??”
5 indicates the password is
encrypted with MD5??”
works for me
NOTE: You must
associate a password
with a view.
Pages:
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93