Re: Views

From: Muzammil Malick <malickmuz_at_gmail.com>
Date: Tue, 26 Oct 2010 21:09:08 +0100

Hi

Config as follows:

R6#sh run
Building configuration...

Current configuration : 1275 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R6
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$QrH2$7k3jMwUrv0jhrW.4Z.wjs0
!
aaa new-model
!
!
aaa authentication login default local
aaa authorization exec default local

aaa session-id common
memory-size iomem 5
ip cef
!
no ip domain lookup
!
multilink bundle-name authenticated
!
username ops view DEBUG password 0 cisco
archive
 log config
  hidekeys
!
interface Loopback1
 ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
 ip address 192.168.0.2 255.255.255.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
ip forward-protocol nd
ip route 10.0.0.0 255.0.0.0 192.168.0.1
ip route 192.168.1.2 255.255.255.255 192.168.0.1
!
ip http server
no ip http secure-server
!
control-plane
!
line con 0
 logging synchronous
line aux 0
line vty 0 3
line vty 4
parser view DEBUG
 secret 5 $1$3.6B$is2QR6ttA4HHDD/KduJkj0
 commands exec include all undebug
 commands exec include show running-config
 commands exec include show
 commands exec include all debug

end

R6# sh ver
Cisco IOS Software, 3700 Software (C3725-ADVENTERPRISEK9-M), Version
12.4(15)T9, RELEASE SOFTWARE (fc5)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Tue 28-Apr-09 16:14 by prod_rel_team

ROM: ROMMON Emulation Microcode
ROM: 3700 Software (C3725-ADVENTERPRISEK9-M), Version 12.4(15)T9,
RELEASE SOFTWARE (fc5)

On 26 October 2010 20:37, Sadiq Yakasai <sadiqtanko_at_gmail.com> wrote:
> Can we see a "show run all" as well as a "show ver" please?
>
> Thanks,
> Sadiq
>
> On Tue, Oct 26, 2010 at 8:04 PM, Muzammil Malick <malickmuz_at_gmail.com>
> wrote:
>>
>> HI All
>>
>> I am having some problems with "views"
>>
>> I have the following config:
>>
>> aaa new-model
>> !
>> !
>> aaa authentication login default local
>> aaa authorization exec default local
>>
>> username ops view DEBUG password 0 cisco
>>
>>
>> parser view DEBUG
>> secret CCIE
>> commands exec include all undebug
>> commands exec include show running-config
>> commands exec include all debug
>>
>>
>> When I log into the router this is what happens:
>>
>>
>> User Access Verification
>>
>> Username: ops
>> Password:
>>
>> R7>sh parser view
>> No view is active ! Currently in Privilege Level Context
>> R7>
>>
>>
>> From what i understood, when a view is assigned to a username, when
>> logged in with that username the view should be enabled automatically.
>> Am i missing something?
>>
>> Thanks in advance
>>
>>
>> Blogs and organic groups at http://www.ccie.net
>>
>> _______________________________________________________________________
>> Subscription information may be found at:
>> http://www.groupstudy.com/list/CCIELab.html
>>
>>
>>
>>
>>
>>
>>
>
>
>
> --
> CCIEx2 (R&S|Sec) #19963

Blogs and organic groups at http://www.ccie.net
Received on Tue Oct 26 2010 - 21:09:08 ART

This archive was generated by hypermail 2.2.0 : Mon Nov 01 2010 - 06:42:06 ART