biboExtAdmSnmpShellPrompt
OBJECT-TYPE
1.3.6.1.4.1.272.4.22.1.18
Description
Defines prompt of application SNMP shell. A set of escape sequences is defined with escape character being a backslash '\': - 'e': gets replaced by escape character (0x1b) - 'h': gets replaced by system name (i.e. host) - 'T': can be used for MIB context replacements ... %n -> current MIB table name %# -> current MIB table number %g -> current MIB group number A longer string can be put within parentheses '(' ')' causing the whole string to be left out if no context is available instead of only the MIB variables. Examples, assuming context MIB table 'system': String Yields \T%n | 'system' \T( MIB{%n/#%#/g:%g\)}) | ' MIB{system/#1/g:1}' - 'l': gets replaced by log name (i.e. user, normally admin) - 'd': can be used for date/time replacements with '%' escaped replacements ... %C -> century %d -> day of month (01..31) %D -> date in format 'MM/DD/YY' %F -> date in format YYYY-MM-DD %H -> hour (00..23) %I -> hour (01..12) %j -> day of year (1..366) %k -> hour ( 0..23) %l -> hour ( 1..12) %m -> month (01..12) %M -> minute (00..59) %p -> AM/PM %P -> am/pm %R -> 24 hour time in format HH:MM %s -> seconds sincs 1970-01-01 00:00:00 UTC %S -> seconds (00..59) %T -> 24 hour time in format HH:MM:SS %u -> day of week (1..7) %w -> day of week (0..6) %y -> year (last two digits, 00..99) %Y -> year A longer string can be put within parentheses '(' ')' to save repetitions of leading '\d' for every replacement. - 'u': gets replaced by system's uptime in format [D ]HH:MM:SS Default value is '\h:\t(%n)> '.
Syntax
DisplayString