Skip Menu |

This queue is for tickets about the Net-Appliance-Session CPAN distribution.

Report information
The Basics
Id: 42047
Status: resolved
Priority: 0/
Queue: Net-Appliance-Session

People
Owner: OLIVER [...] cpan.org
Requestors: OLIVER [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: pager setting only works in privileged mode on ASA?
Show quoted text
> Cisco Switches and Routers accept the command "terminal length 0" in > user mode, where the script tries to issue it.
Show quoted text
> My Cisco ASA accepts the similar command "terminal pager 0" only in > privileged mode.
Need to verify the above.
This is an issue with PIXOS7 and above, including FWSM3, not simply ASAs.
I was just testing this module for the first time, and found this same problem. I'm testing against a PIX 515 running 8.0(4)16. It'd be great if this could be fixed. Thanks! cv
From: fapestniegd
On Tue Dec 30 17:13:04 2008, OLIVER wrote: Show quoted text
> > Cisco Switches and Routers accept the command "terminal length 0" in > > user mode, where the script tries to issue it.
>
> > My Cisco ASA accepts the similar command "terminal pager 0" only in > > privileged mode.
> > Need to verify the above.
diff -ruN Net-Appliance-Session-1.36.dist/lib/Net/Appliance/Session/Transport.pm Net-Appliance-Session-1.36/lib/Net/Appliance/Session/Transport.pm --- Net-Appliance-Session-1.36.dist/lib/Net/Appliance/Session/Transport.pm 2009-07-30 15:41:11.000000000 -0500 +++ Net-Appliance-Session-1.36/lib/Net/Appliance/Session/Transport.pm 2009-07-30 15:42:17.000000000 -0500 @@ -45,7 +45,7 @@ $self->in_configure_mode( $self->do_configure_mode ? 0 : 1 ); # disable paging... this is undone in our close() method - $self->disable_paging if $self->do_paging; + #$self->disable_paging if $self->do_paging; return $self; } diff -ruN Net-Appliance-Session-1.36.dist/lib/Net/Appliance/Session.pm Net-Appliance-Session-1.36/lib/Net/Appliance/Session.pm --- Net-Appliance-Session-1.36.dist/lib/Net/Appliance/Session.pm 2009-07-30 15:41:11.000000000 -0500 +++ Net-Appliance-Session-1.36/lib/Net/Appliance/Session.pm 2009-07-30 15:42:03.000000000 -0500 @@ -147,7 +147,7 @@ if $self->do_privileged_mode and $self->in_privileged_mode; # re-enable paging - $self->enable_paging if $self->do_paging; + #$self->enable_paging if $self->do_paging; # transport-specific work $self->disconnect; Then you'll have to page manually if($something eq "PIXOS"){ if($session->do_paging){ $session->begin_configure; $session->disable_paging; $session->end_configure; } }else{ $session->disable_paging; } } and re-enable it on the other side...