📄 config.txt
字号:
; An example configuration file for use with the non volatile memory scheme; in Envoy 7.0;; There are several sections to the file, the preamble contains information; about the whole file (currently this is the version stamp).; Each other block contains information about the named; section of the database. Logically each block is composed of a series; of entries with each entry starting with an identifer and ending with; the identifer for the next entry or the beginning of the next block.; The order of fields within an entry doesn't matter. Fields that; aren't included are set to the default value as sepcified by its mib;; The current list of blocks is view for the view RFC1445 table; and myagent, agent, access, context, and user which are for use; with the usec experimental code; ; Comments are allowed anywhere however if the file is rewritten (which; the nv code will do if allowed) comments that appear in a block after; a field descriptior will be removed. Symbolic names are not allowed (yet).;[etc preamble]version = 1[etc view]; identity required, oid of family and subtree; status required; storage 3 (non volatile); mask 0; type 1 (view included);identity = 1.1.3.6.1.2.1.1status = 1storage = 3type = 1identity = 1.1.3.6.1.6.3status = 1storage = 3type = 1identity = 2.1.3.6status = 1storage = 3type = 1[etc myagent]; the local agents id and boot information; agentid required, 12 octets in hex format; agentboots required, uint_32_tagentid = 000000000000000000000002agentboots = 112[etc agent]; list of agents known to this entity; agentid required, 12 octets in hex formatagentid = 000000000000000000000001[etc access]; list of access rights for various agent-user-context-qos tuples; agentid required, 12 octets in hex format; username required, string formatted; contextname not required, will default to an empty string; qos not required, will default to 0 (all qoses have privileges); privileges not required, will default to 43; readindex required; writeindex requiredagentid = 000000000000000000000002username = publicreadindex = 1writeindex = 1qos = 0[etc context]; list of contexts known to this entity; agentid required; contextname not required, defaults to the 0 length string; flags not required, defaults to local (1)agentid = 000000000000000000000002[etc user]; agentid required; username required; authprot if present use md5; authkey required if authprot is present, 16 OCTETS in hex formatagentid = 000000000000000000000002username = publicauthprot = authkey = 02E4F90AC43FEE84B1E8EB4287B5ED54
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -