[j-nsp] allow-command question

Nicolas Fevrier nicolas.fevrier at telindus.fr
Mon Jul 28 19:16:48 EDT 2003


I've tried this one too :)

# De: Anton Bernal [mailto:abernal at bigfoot.com]
#      allow-commands "(show route)|(quit)";

user toto {
    uid 2004;
    class VIEW_ROUTE;
    authentication {
        encrypted-password "$1$UAEz9zdM$cY8aooxQDpTz6VKNrgKCz1"; #
SECRET-DATA
    }
}
class VIEW_ROUTE {
    idle-timeout 3;
    permissions view;
    allow-commands "(show route)|(quit)";
    deny-commands .*;
}

toto at PARIS> ?
Possible completions:
  show                 Show information about the system
toto at PARIS> quit
            ^
unknown command.

toto at PARIS> exit
            ^
unknown command.

toto at PARIS>








More information about the juniper-nsp mailing list