{"id":476,"date":"2010-07-29T11:46:55","date_gmt":"2010-07-29T11:46:55","guid":{"rendered":"https:\/\/fir3netwp.gmsrrpobkbd.com\/2010\/07\/29\/creating-cli-views-on-a-cisco-router\/"},"modified":"2021-07-24T18:41:15","modified_gmt":"2021-07-24T18:41:15","slug":"creating-cli-views-on-a-cisco-router","status":"publish","type":"post","link":"https:\/\/www.fir3net.com\/Routers\/Cisco\/creating-cli-views-on-a-cisco-router.html","title":{"rendered":"Creating CLI Views on a Cisco Router"},"content":{"rendered":"

CLI Views allow your to to create sub administrator within your Cisco device. This can also be thought of as an extension to privilege levels, giving you further granularity over what your users are allowed to do.<\/p>\n

Creating views<\/h2>\n

Below shows you the commands required to create a view mode. In all the examples we use SHOWMODE<\/em> and HELPDESK<\/em> and view mode names, these could be changed to anything you want. Also to access the root view (which allows you to administrator all the view modes) use the command enable view<\/em>.<\/p>\n

# aaa new-model
# enable view [when prompted for password enter your privilege mode password]
# conf t
(config)# parser view SHOWMODE
(config-view)# secret [password]
(config-view)# commands exec include all show
(config)# parser view HELPDESK
(config-view)# secret [password]
(config-view)# commands exec include all show
(config-view)# commands exec include configure terminal
(config-view)# commands configure include ip route
(config-view)# commands configure include all interface<\/pre>\n

Logging into a Viewmode<\/h2>\n

In order to move yourself into a particular view mode once you logged in use the following command.<\/p>\n

enable view SHOWMODE<\/pre>\n

You can also configure the user so that when they log into the router they are logged directly into their view mode. The following commands are included below :<\/p>\n

username showadmin view SHOWMODE secret [password]<\/pre>\n

Superviews<\/h2>\n

Superviews provide you with the ability to combine difference view modes. Below shows an example where we combine the 2 view modes HELPDESK<\/em> and SHOWMODE<\/em>.<\/p>\n

(config)# parser view SV superview
(config-view)# secret [password]
(config-view)# view HELPDESK
(config-view)# view SHOWMODE<\/pre>\n","protected":false},"excerpt":{"rendered":"

CLI Views allow your to to create sub administrator within your Cisco device. This can also be thought of as an extension to privilege levels, giving you further granularity over what your users are allowed to do. Creating views Below shows you the commands required to create a view mode. In all the examples we … Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"yoast_head":"\nCreating CLI Views on a Cisco Router - Fir3net<\/title>\n<meta name=\"description\" content=\"CLI Views allow your to to create sub administrator within your Cisco device. This can also be thought of as an extension to privilege levels, giving you\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.fir3net.com\/Routers\/Cisco\/creating-cli-views-on-a-cisco-router.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating CLI Views on a Cisco Router - Fir3net\" \/>\n<meta property=\"og:description\" content=\"CLI Views allow your to to create sub administrator within your Cisco device. This can also be thought of as an extension to privilege levels, giving you\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fir3net.com\/Routers\/Cisco\/creating-cli-views-on-a-cisco-router.html\" \/>\n<meta property=\"og:site_name\" content=\"Fir3net\" \/>\n<meta property=\"article:published_time\" content=\"2010-07-29T11:46:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-24T18:41:15+00:00\" \/>\n<meta name=\"author\" content=\"Rick Donato\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rick Donato\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.fir3net.com\/Routers\/Cisco\/creating-cli-views-on-a-cisco-router.html#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.fir3net.com\/Routers\/Cisco\/creating-cli-views-on-a-cisco-router.html\"},\"author\":{\"name\":\"Rick Donato\",\"@id\":\"https:\/\/www.fir3net.com\/#\/schema\/person\/ab35009601b7687ee1c5310be6038037\"},\"headline\":\"Creating CLI Views on a Cisco Router\",\"datePublished\":\"2010-07-29T11:46:55+00:00\",\"dateModified\":\"2021-07-24T18:41:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.fir3net.com\/Routers\/Cisco\/creating-cli-views-on-a-cisco-router.html\"},\"wordCount\":173,\"publisher\":{\"@id\":\"https:\/\/www.fir3net.com\/#organization\"},\"articleSection\":[\"Cisco Routing\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.fir3net.com\/Routers\/Cisco\/creating-cli-views-on-a-cisco-router.html\",\"url\":\"https:\/\/www.fir3net.com\/Routers\/Cisco\/creating-cli-views-on-a-cisco-router.html\",\"name\":\"Creating CLI Views on a Cisco Router - Fir3net\",\"isPartOf\":{\"@id\":\"https:\/\/www.fir3net.com\/#website\"},\"datePublished\":\"2010-07-29T11:46:55+00:00\",\"dateModified\":\"2021-07-24T18:41:15+00:00\",\"description\":\"CLI Views allow your to to create sub administrator within your Cisco device. This can also be thought of as an extension to privilege levels, giving you\",\"breadcrumb\":{\"@id\":\"https:\/\/www.fir3net.com\/Routers\/Cisco\/creating-cli-views-on-a-cisco-router.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.fir3net.com\/Routers\/Cisco\/creating-cli-views-on-a-cisco-router.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.fir3net.com\/Routers\/Cisco\/creating-cli-views-on-a-cisco-router.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.fir3net.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Networking\",\"item\":\"https:\/\/www.fir3net.com\/networking\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Routers\",\"item\":\"https:\/\/www.fir3net.com\/networking\/routers\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Cisco Routing\",\"item\":\"https:\/\/www.fir3net.com\/networking\/routers\/cisco-routers\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Creating CLI Views on a Cisco Router\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.fir3net.com\/#website\",\"url\":\"https:\/\/www.fir3net.com\/\",\"name\":\"Fir3net\",\"description\":\"Keeping you in the know\",\"publisher\":{\"@id\":\"https:\/\/www.fir3net.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.fir3net.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.fir3net.com\/#organization\",\"name\":\"Fir3net\",\"url\":\"https:\/\/www.fir3net.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.fir3net.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.fir3net.com\/wp-content\/uploads\/Fir3net-Background-Logo-compressed.png\",\"contentUrl\":\"https:\/\/www.fir3net.com\/wp-content\/uploads\/Fir3net-Background-Logo-compressed.png\",\"width\":390,\"height\":88,\"caption\":\"Fir3net\"},\"image\":{\"@id\":\"https:\/\/www.fir3net.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.fir3net.com\/#\/schema\/person\/ab35009601b7687ee1c5310be6038037\",\"name\":\"Rick Donato\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.fir3net.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d75d69a54c0ca3b32c24c3a9703b623c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d75d69a54c0ca3b32c24c3a9703b623c?s=96&d=mm&r=g\",\"caption\":\"Rick Donato\"},\"description\":\"Rick Donato is a Network Automation Architect\/Evangelist and the founder of Packet Coders.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating CLI Views on a Cisco Router - Fir3net","description":"CLI Views allow your to to create sub administrator within your Cisco device. This can also be thought of as an extension to privilege levels, giving you","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.fir3net.com\/Routers\/Cisco\/creating-cli-views-on-a-cisco-router.html","og_locale":"en_US","og_type":"article","og_title":"Creating CLI Views on a Cisco Router - Fir3net","og_description":"CLI Views allow your to to create sub administrator within your Cisco device. This can also be thought of as an extension to privilege levels, giving you","og_url":"https:\/\/www.fir3net.com\/Routers\/Cisco\/creating-cli-views-on-a-cisco-router.html","og_site_name":"Fir3net","article_published_time":"2010-07-29T11:46:55+00:00","article_modified_time":"2021-07-24T18:41:15+00:00","author":"Rick Donato","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rick Donato","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.fir3net.com\/Routers\/Cisco\/creating-cli-views-on-a-cisco-router.html#article","isPartOf":{"@id":"https:\/\/www.fir3net.com\/Routers\/Cisco\/creating-cli-views-on-a-cisco-router.html"},"author":{"name":"Rick Donato","@id":"https:\/\/www.fir3net.com\/#\/schema\/person\/ab35009601b7687ee1c5310be6038037"},"headline":"Creating CLI Views on a Cisco Router","datePublished":"2010-07-29T11:46:55+00:00","dateModified":"2021-07-24T18:41:15+00:00","mainEntityOfPage":{"@id":"https:\/\/www.fir3net.com\/Routers\/Cisco\/creating-cli-views-on-a-cisco-router.html"},"wordCount":173,"publisher":{"@id":"https:\/\/www.fir3net.com\/#organization"},"articleSection":["Cisco Routing"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.fir3net.com\/Routers\/Cisco\/creating-cli-views-on-a-cisco-router.html","url":"https:\/\/www.fir3net.com\/Routers\/Cisco\/creating-cli-views-on-a-cisco-router.html","name":"Creating CLI Views on a Cisco Router - Fir3net","isPartOf":{"@id":"https:\/\/www.fir3net.com\/#website"},"datePublished":"2010-07-29T11:46:55+00:00","dateModified":"2021-07-24T18:41:15+00:00","description":"CLI Views allow your to to create sub administrator within your Cisco device. This can also be thought of as an extension to privilege levels, giving you","breadcrumb":{"@id":"https:\/\/www.fir3net.com\/Routers\/Cisco\/creating-cli-views-on-a-cisco-router.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fir3net.com\/Routers\/Cisco\/creating-cli-views-on-a-cisco-router.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.fir3net.com\/Routers\/Cisco\/creating-cli-views-on-a-cisco-router.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fir3net.com\/"},{"@type":"ListItem","position":2,"name":"Networking","item":"https:\/\/www.fir3net.com\/networking"},{"@type":"ListItem","position":3,"name":"Routers","item":"https:\/\/www.fir3net.com\/networking\/routers"},{"@type":"ListItem","position":4,"name":"Cisco Routing","item":"https:\/\/www.fir3net.com\/networking\/routers\/cisco-routers"},{"@type":"ListItem","position":5,"name":"Creating CLI Views on a Cisco Router"}]},{"@type":"WebSite","@id":"https:\/\/www.fir3net.com\/#website","url":"https:\/\/www.fir3net.com\/","name":"Fir3net","description":"Keeping you in the know","publisher":{"@id":"https:\/\/www.fir3net.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.fir3net.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.fir3net.com\/#organization","name":"Fir3net","url":"https:\/\/www.fir3net.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fir3net.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.fir3net.com\/wp-content\/uploads\/Fir3net-Background-Logo-compressed.png","contentUrl":"https:\/\/www.fir3net.com\/wp-content\/uploads\/Fir3net-Background-Logo-compressed.png","width":390,"height":88,"caption":"Fir3net"},"image":{"@id":"https:\/\/www.fir3net.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.fir3net.com\/#\/schema\/person\/ab35009601b7687ee1c5310be6038037","name":"Rick Donato","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fir3net.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d75d69a54c0ca3b32c24c3a9703b623c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d75d69a54c0ca3b32c24c3a9703b623c?s=96&d=mm&r=g","caption":"Rick Donato"},"description":"Rick Donato is a Network Automation Architect\/Evangelist and the founder of Packet Coders."}]}},"_links":{"self":[{"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/posts\/476"}],"collection":[{"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/comments?post=476"}],"version-history":[{"count":0,"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/posts\/476\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/media?parent=476"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/categories?post=476"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fir3net.com\/wp-json\/wp\/v2\/tags?post=476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}