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...