cisco parser views
What exactly is a parser view? In simple terms, its like creating user accounts with certain filtering of commands. Parser views can be used to customize which command are allowed for a certain user depending on their privileges.
reference: https://diggersccie.wordpress.com/2012/08/27/using-parser-view-in-cisco-routers/
Router> en
Router# conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# parser view 1
No view Active! Switch to View Context
Router(config)# exit
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router# enable view root
% AAA must be configured.
Router# conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# aaa new-model
Router(config)# parser view 1
No view Active! Switch to View Context
Router(config)# exit
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router# enable view
Password:
% Authentication failed
Router# conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# enable secret sdf12345
Router(config)# exit
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router# exit
Router> en view
Password:
Router# %PARSER-6-VIEW_SWITCH: successfully set to view 'root'.
Router# conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# parser view SHOWVIEW
Router(config-view)# %PARSER-6-VIEW_CREATED: view 'SHOWVIEW' successfully created.