rfc1419.SNMP over AppleTalk
思科统一通信解决方案概览

思科统一通信解决方案概览概述:思科统一通信解决方案是一种集成了语音、视频、数据和移动通信的全面解决方案。
它基于IP网络,提供了一种统一的通信平台,可以实现实时通信、协作和集成应用。
本文将详细介绍思科统一通信解决方案的架构、特点、优势以及应用场景。
一、架构概述:思科统一通信解决方案的核心架构包括以下几个关键组件:1. 思科统一通信管理器(Cisco Unified Communications Manager,CUCM):作为核心组件,CUCM负责管理和控制整个通信网络。
它提供了呼叫控制、会议管理、用户认证等功能,支持多种通信终端设备。
2. 思科统一通信应用服务器(Cisco Unified Communications Applications,CUCA):CUCA提供了一系列的应用服务,如语音邮件、呼叫中心、会议协作等。
它与CUCM紧密集成,为用户提供丰富的通信和协作功能。
3. 思科统一通信辅助设备(Cisco Unified Communications Edge Devices,CUCE):CUCE包括了网关、会议桥接器、传真服务器等辅助设备,用于连接不同的通信网络和终端设备,实现互联互通。
4. 思科统一通信终端设备(Cisco Unified Communications Endpoints,CUCS):CUCS包括了IP电话、软电话、视频终端等各种类型的终端设备,用于实现用户与通信网络的接入。
二、特点与优势:1. 统一性:思科统一通信解决方案提供了一种统一的通信平台,将语音、视频、数据和移动通信集成在一起。
用户可以通过统一的界面和工具进行通信和协作,提高工作效率。
2. 灵活性:思科统一通信解决方案支持多种终端设备,并且可以与其他应用系统集成。
用户可以根据自己的需求选择适合的终端设备,并且可以通过API接口扩展和定制功能。
3. 可靠性:思科统一通信解决方案基于IP网络,具有高可靠性和稳定性。
snmp-rfc

1284 Definitions of Managed Objects for the Ethernet-like Interface
Types. J. Cook. December 1991. (Format: TXT=43225 bytes) (Obsoleted
by RFC1398) (Status: PROPOSED STANDARD)
TCP/IP-based internets. M.T. Rose, K. McCloghrie. May-01-1990.
(Format: TXT=40927 bytes) (Obsoletes RFC1065) (Also STD0016) (Status:
STANDARD)
M.L. Schoffstall, C. Davin. Apr-01-1989. (Format: TXT=71563 bytes)
(Obsoletes RFC1067) (Obsoleted by RFC1157) (Status: UNKNOWN)
1155 Structure and identification of management information for
1089 SNMP over Ethernet. M.L. Schoffstall, C. Davin, M. Fedor, J.D.
Case. Feb-01-1989. (Format: TXT=4458 bytes) (Status: UNKNOWN)
1098 Simple Network Management Protocol (SNMP). J.D. Case, M. Fedor,
Version 3. S. Willis, J.W. Burruss. Oct-01-1991. (Format: TXT=25717
网络管理试题及答案

网络管理试卷及答案一、单选题(本大题共小题,每小题分,共分)1.对一个网络管理员来说,网络管理的目标不是()BA.提高设备的利用率B.为用户提供更丰富的服务C.降低整个网络的运行费用D.提高安全性2.网络管理中的安全管理是指保护管理站和代理之间下列哪项的安全?( )AA.信息交换B.信息存储C.信息索引D.完整信息3.下述各功能中,属于性能管理范畴的功能是()BA.网络规划和资源管理功能B.工作负载监视功能C.运行日志控制功能D.测试管理功能4.下述各功能中,属于配置管理的范畴的功能是()DA.测试管理功能B.数据收集功能C.工作负载监视功能D.定义和修改网络元素间的互联关系5.不属于网络故障管理功能的是()CA.判断故障原因B.检测和报警C.设置对象参数D.诊断功能6.信息资源在计算机网络中只能由被授予权限的用户修改,这种安全需求称为()BA.保密性B.数据完整性C.可用性D.一致性7.篡改是破坏了数据的()AA.完整性B.一致性C.保密性D.可利用性8.防止数据源被假冒,最有效的加密机制是()CA.消息认证B.消息摘要C.数字签名D.替换加密9.在OSI管理的面向对象模型中,把一个子类有多个超类的特性称为()BA.继承性B.多继承性C.多态性D.同质异晶性10.在OSI管理的面向对象模型中,把可以导致同一超类下的不同子类对所继承的同一操作做出不同的响应的特性称为()CA.继承性B.多继承性C.多态性D.同质异晶性11.在OSI管理的面向对象模型中,把一个对象可以是多个对象类的实例的特性称为()DA.继承性B.多继承性C.多态性D.同质异晶性12.互联网中的所有端系统和路由器都必须实现的协议是()AA.IP协议B.ICMP协议C.UDP协议D.TCP协议13.在TCP/IP协议簇中,保证端系统之间可靠地发送和接收数据,并给应用进程提供访问端口的协议是()BA.IP协议B.TCP协议C.UDP协议D.ICMP协议14.在TCP/IP协议簇中用于在主机、路由器之间传递控制消息的协议是()DA.IP协议B.TCP协议C.UDP协议D.ICMP协议15.在Internet网络管理的体系结构中,SNMP协议定义在()DA.网络访问层B.网际层巳传输层D.应用层16.SNMP属于的协议簇是()AA.TCP/IPB.IPX/SPXC.DECnetD.AppleTalk17.SNMP协议的直接下层协议是()AA.UDPB.ICMPC.TCPD.IP18.计算机网络管理中提供统一的网络数据表示的形式语言是()AA.ASN.1B.JavaC.C语言D.ASP19.在SNMPv1中定义管理信息结构,即规定管理对象的语法和语义的是()AA.RFC1155B.RFC1157C.RFC1212D.RFC121320.在SNMP协议中,团体名(Community)是用于()CA.确定执行环境B.定义SNMP实体可访问的MIB对象子集C.身份认证D.定义上下文21.以下对网络管理站的轮询策略描述正确的是()CA.被轮询的代理数与轮询间隔成反比。
常用协议类型值

Ethertype ( 十六进制) 协议0x0000 - 0x05DC IEEE 802.3 长度0x0101 –0x01FF 实验0x0600 XEROX NS IDP0x0660 0x0661 DLOG0x0800 网际协议(IP)0x0801 X.75 Internet0x0802 NBS Internet0x0803 ECMA Internet0x0804 Chaosnet0x0805 X.25 Level 30x0806 地址解析协议(ARP :Address Resolution Protocol)0x0808 帧中继ARP (Frame Relay ARP)[RFC1701]0x6559 原始帧中继(Raw Frame Relay)[RFC1701]0x8035 动态DARP (DRARP:Dynamic RARP)0x8036 反向地址解析协议(RARP:Reverse Address Resolution Protocol)0x8037 Novell Netware IPX0x809B EtherTalk0x80D5 IBM SNA Services over Ethernet0x80F3 AppleTalk 地址解析协议(AARP:AppleTalk Address Resolution Protocol)0x8100 以太网自动保护开关(EAPS:Ethernet Automatic Protection Switching)0x8137 因特网包交换(IPX:Internet Packet Exchange)0x814C 简单网络管理协议(SNMP:Simple Network Management Protocol)0x86DD 网际协议v6 (IPv6,Internet Protocol version 6)0x880B 点对点协议(PPP:Point-to-Point Protocol)0x880C 通用交换管理协议(GSMP:General Switch Management Protocol)0x8847 多协议标签交换(单播)MPLS:Multi-Protocol Label Switching <unicast>)0x8848 多协议标签交换(组播)(MPLS, Multi-Protocol Label Switching <multicast>)0x8863 以太网上的PPP(发现阶段)(PPPoE:PPP Over Ethernet <Discovery Stage>)0x8864 以太网上的PPP(PPP 会话阶段)(PPPoE,PPP Over Ethernet<PPP Session Stage>)0x88BB 轻量级访问点协议(LWAPP:Light Weight Access Point Protocol)0x88CC 链接层发现协议(LLDP:Link Layer Discovery Protocol)0x8E88 局域网上的EAP(EAPOL:EAP over LAN)0x9000 配置测试协议(Loopback)0x9100 VLAN 标签协议标识符(VLAN Tag Protocol Identifier)0x9200 VLAN 标签协议标识符(VLAN Tag Protocol Identifier)0xFFFF 保留。
dhcp协议端口号

竭诚为您提供优质文档/双击可除dhcp协议端口号篇一:常见协议及端口号我们常用的协议以及对应端口号以下内容第一段为端口号,第二段为端口对应的服务名称,第三段为注释信息。
1tcpmuxtcp端口服务多路复用。
18msp消息发送协议。
20ftp-dataFtp数据端口。
21ftp文件传输协议(Ftp)端口,有时候被文件服务协议(Fsp)使用。
22ssh安全shell(ssh)服务。
23telnettelnet服务。
25smtp简单邮件传输协议(smtp)。
37time时间协议。
42nameserver互联网名称服务。
53domain域名服务(bind)。
67bootps引导协议(boots)服务;还被动态主机配置协议(dhcp)使用。
69tftp小文件传输协议(tFtp)。
80http用于万维网(www)服务的超文本传输协议(http)。
107rtelnet远程telnet。
109pop2邮局协议版本2。
110pop3邮局协议版本3.115sftp安全文件传输协议(sFtp)服务。
119nntp用于usenet讨论系统的网络新闻传输协议(nntp)。
137在红帽企业linux中被samba使用netbios名称服务。
138在红帽企业linux中被samba使用netbios数据报服务。
139在红帽企业linux中被samba使用netbios会话服务。
143imap互联网消息存取协议(imap)。
209qmtp快速邮件传输协议(qmtp)。
220imap3互联网消息存取协议版本3.389idap轻型目录存取协议(ldap)。
443https安全超文本传输协议。
445microsoft-ds通过tcp/ip的服务器消息块(smb)。
487saft简单不对称文件传输saFt协议。
488gss-http用于http的通用安全服务(gss)。
546dhcpv6-client动态主机配置协议(dhcp)版本6客户547dhcpv6-client动态主机配置协议(dhcp)版本6服务。
PYTHON读取PCAP文件

首先从最简单的以太网层开始。
我们知道,目前常用的以太网帧结构有两种,一个是IEEE802.3,一个是Ethernet II,两者的区别也很清楚,就是在目的Mac地址和源Mac地址好后面的两个字节是代表长度还是类型。
EtherType是以太帧里的一个字段,用来指明应用于帧数据字段的协议。
根据IEEE802.3,Length/EtherType字段是两个八字节的字段,含义两者取一,这取决于其数值。
在量化评估中,字段中的第一个八位字节是最重要的。
而当字段值大于等于十进制值1536(即十六进制为0600)时,EtherType字段表示为MAC客户机协议(EtherType解释)的种类。
该字段的长度和EtherType详解是互斥的。
在python中我是用一个字典来实现的:EtherType={'0x0600':'XEROX NS IDP','0x0660':'DLOG','0x0661':'DLOG','0x0800':'IP','0x0801':'X.75','0x0802':'NBS','0x0803':'ECMA','0x0804':'Chaosnet','0x0805':'X.25','0x0806':'ARP','0x0808':'Frame Relay ARP','0x6559':'Raw Frame Relay','0x8035':'RARP','0x8037':'Novell Netware IPX','0x809B':'Ether Talk','0x80d5':'IBM SNA Service over Ethernet', '0x80f3':'AARP','0x8100':'EAPS','0x8137':'IPX','0x814c':'SNMP','0x86dd':'IPv6','0x880b':'PPP','0x880c':'GSMP','0x8847':'MPLS(unicase)','0x8848':'MPLS(multicast)','0x8863':'PPPoE(Discovery stage)','0x8864':'PPPoE(ppp session stage)','0x88bb':'LWAPP','0x88cc':'LLDP','0x8e88':'EAP over LAN','0x9000':'Loopback','0x9100':'VLAN Tag PI','0x9200':'VLAN Tag PI','0xffff':'Reservations'}然后根据二进制字符来分解:#framedata.py#!/usr/bin/pythonclass Protocol(object):def__init__(self):pass#transform like'\x01\x0e\0xb0'to'0x010eb0' def str_to_hex(self,strs):hex_data=''for i in range(len(strs)):tem=ord(strs[i])tem=hex(tem)if len(tem)==3:tem=tem.replace('0x','0x0')tem=tem.replace('0x','')hex_data=hex_data+temreturn'0x'+hex_dataclass Ethernet(Protocol):def__init__(self,datastr=None):self.dst=Noneself.src=Noneself.ethertype=Noneself.len=Noneself.type=Noneself.datastr=datastrdef decode(self):tem=self.str_to_hex(self.datastr[0:6])self.dst=tem[2:4]+':'+tem[4:6]+':'+tem[6:8]+':'+tem[8:10]+':'+tem[10:12]+':'+tem[12:14]tem=self.str_to_hex(self.datastr[6:12])self.src=tem[2:4]+':'+tem[4:6]+':'+tem[6:8]+':'+tem[8:10]+':'+tem[10:12]+':'+tem[12:14]self.unknow=self.str_to_hex(self.datastr[12:14])tem=int(self.unknow,16)dststr='Destination:'+self.dstsrcstr='Source:'+self.srcif tem<=1500:self.ethertype='IEEE802.3Ethernet'self.len=temlenstr='Length:'+str(self.len)return[self.ethertype,dststr,srcstr,lenstr]elif tem>=1536:self.ethertype='Eternet II'self.type=EtherType[self.unknow]typestr='Type:'+self.type+'('+self.unknow+')'return[self.ethertype,dststr,srcstr,typestr]其中父类Protocol还在初级探索阶段,没有成型,以后会根据需要完善。
《计算机网络设计 第2版》第01章 网络设计规范与方法

主讲:易建勋
第31页 共102页
1.1 网络工程概述 Web服务器市场调查(参考)
分 类 方 法 网络
按地理范围分类 按拓扑结构分类 按业务类型分类 按传输方式分类 按网络协议分类 按交换技术分类 按信号复用分类 按接入技术分类 按通信技术分类 按通信性质分类 主讲:易建勋 局域网、城域网、广域网 点对点形、总线形、星形、树形、环形、网状形、蜂窝形等 计算机网络、电信网络、电视网络 广播式网络、点对点网络 以太网、SDH、DWDM、令牌环、Apple Talk、Novell Netware、FDDI、ATM 电路交换网、分组交换网 时分复用、频分复用、波分复用、码分复用等 有线: Ethernet、ADSL、PSTN、ISDN、X.25、FR、DDN、HFC等 无线:LMDS、MMDS、WLAN、GPRS、VSAT、3G等 用户驻地网(CPN)、接入网(AN)、交换网(IP)、传输网(SDH、DWDM) 业务网:如电话网、数据网、电报网、多媒体网、综合业务网、智能网等 支撑网:如信令网、同步网、管理网等 第11页 共102页
主讲:易建勋
1.2 网络工程设计规范
1.2.2 ITU-T通信网络标准
ITU制定了许多通信和网络方面的标准; 这些标准称为“建议”; 标准往往以英文字母A~Z开头作为分类。
主讲:易建勋
第44页 共102页
1.2 网络工程设计规范 [P10表1-3] 通信网络常用ITU-T系列标准
SNMP 协议

5种SNMP报文
SNMP规定了5种协议数据单元PDU(也就是SNMP报文) get-request:从代理进程处提取一个或多个参数值 get-next-request:从代理进程处提取紧跟当前参数值的 下一个参数值 set-request:设置代理进程的一个或多个参数值 get-response:返回的一个或多个参数值。这个操作是由 代理进程发出的,它是前面三种操作的响应操作。 trap:代理进程主动发出的报文,通知管理进程有某些事 情发生。
THANK YOU
For Your Potential Watching
MIB对象树
MIB文件中的变量使用的名字取自ISO和ITU管理的对象标识符( object identifier)名字空间。它是一种分级树的结构。 第一级有三个节点:ccitt、iso、iso-ccitt。低级的对象ID分 别由相关组织分配。一个特定对象的标识符可通过由根到该对象的 路径获得。一般网络设备取iso节点下的对象内容。
ipInReceives = 3 .dod.internet.mgmt.mi b.ip.ipInReceives = 3
1.3.6.1.2.1.4.3
Байду номын сангаас
V2、V3简介
第二版 SNMP第二版和管理资讯结构SNMP第二版SMI在RFC 2578之中描述,它在 SNMP第一版的SMI规格资料型态上进行增加和强化,例如位元串(bit strings)、网络地址(network addresses)和计数器(counters)。 SNMP协定在OSI模型的应用层(第七层)运作,在第一版中指定五种核 心PDU: GET REQUEST GET NEXT REQUEST GET RESPONSE SET REQUEST TRAP 其他PDU在SNMP第二版加入,包含: GETBULK REQUEST INFORM SNMP第二版SMI资讯模块SNMP第二版SMI也指定了资讯模块来详细说明一 群相关连的定义。有三种SMI资讯模块:MIB模块、回应状态、能力状态 。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Network Working Group G. Minshall Request for Comments: 1419 Novell, Inc. M. Ritter Apple Computer, Inc. March 1993 SNMP over AppleTalkStatus of this MemoThis RFC specifies an IAB standards track protocol for the Internetcommunity, and requests discussion and suggestions for improvements. Please refer to the current edition of the "IAB Official ProtocolStandards" for the standardization state and status of this protocol. Distribution of this memo is unlimited.IntroductionThis memo describes the method by which the Simple Network Management Protocol (SNMP) as specified in [1] can be used over AppleTalkprotocols [2] instead of the Internet UDP/IP protocol stack. Thisspecification is useful for network elements which have AppleTalksupport but lack TCP/IP support. It should be noted that if anetwork element supports multiple protocol stacks, and UDP isavailable, it is the preferred network layer to use.SNMP has been successful in managing Internet capable networkelements which support the protocol stack at least through UDP, theconnectionless Internet transport layer protocol. As originallydesigned, SNMP is capable of running over any reasonable transportmechanism (not necessarily a transport protocol) that supports bi-directional flow and addressability.Many non-Internet capable network elements are present in networks.Some of these elements are equipped with the AppleTalk protocols.One method of using SNMP to manage these elements is to define amethod of transmitting an SNMP message inside an AppleTalk protocoldata unit.This RFC is the product of the SNMP over a Multi-protocol InternetWorking Group of the Internet Engineering Task Force (IETF).1. BackgroundThe AppleTalk equivalent of UDP (and IP) is DDP (Datagram DeliveryProtocol). The header field of a DDP datagram includes (at leastconceptually) source and destination network numbers, source and Minshall & Ritter [Page 1]destination node numbers, and source and destination socket numbers. Additionally, DDP datagrams include a "protocol type" in the headerfield which may be used to further demultiplex packets. The dataportion of a DDP datagram may contain from zero to 586 octets.AppleTalk’s Name Binding Protocol (NBP) is a distributed name-to-address mapping protocol. NBP names are logically of the form"object:type@zone", where "zone" is determined, loosely, by thenetwork on which the named entity resides; "type" is the kind ofentity being named; and "object" is any string which causes"object:type@zone" to be unique in the AppleTalk internet.Generally, "object" also helps an end-user determine which instanceof a specific type of service is being accessed. NBP names are notcase sensitive. Each field of the NBP name ("object", "type", and"zone") is limited to 32 octets. The octets usually consist ofhuman-readable ascii characters.2. SpecificationSNMP REQUESTS encapsulated according to this standard will be sent to DDP socket number 8; they will contain a DDP protocol type of 8. The data octets of the DDP datagram will be a standard SNMP message asdefined in [1].SNMP RESPONSES encapsulated according to this standard will be sentto the DDP socket number which originated the corresponding SNMPrequest; they will contain a DDP protocol type of 8. The data octets of the DDP datagram will be a standard SNMP message as defined in[1]. (Note: as stated in [1], section 4.1, the *source* address ofa RESPONSE PDU will be the same as the *destination* address of thecorresponding REQUEST PDU.)A network element which is capable of responding to SNMP REQUESTSover AppleTalk must advertise this capability via the AppleTalk Name Binding Protocol using an NBP type of "SNMP Agent" (hex 53, 4E, 4D,50, 20, 41, 67, 65, 6E, 74).A network management station which is capable of receiving an SNMPTRAP must advertise this capability via the AppleTalk Name BindingProtocol using an NBP type of "SNMP Trap Handler" (hex 53, 4E, 4D,50, 20, 54, 72, 61, 70, 20, 48, 61, 6E, 64, 6C, 65, 72).SNMP TRAPS encapsulated according to this standard will be sent toDDP socket number 9; they will contain a DDP protocol type of 8. The data octets of the DDP datagram will be a standard SNMP message asdefined in [1]. The agent-addr field of the Trap-PDU must be filled with a NetworkAddress of all zeros (the unknown IP address). Thus, to identify the trap sender, the name and value of the nbpObject and Minshall & Ritter [Page 2]nbpZone corresponding to the nbpEntry with the nbpType equal to "SNMP Agent" should be included in the variable-bindings of any trap thatis sent [3].The NBP name for both an agent and a trap handler should be stable - it should not change any more often than the IP address of a typical TCP/IP end system changes. It is suggested that the NBP name bestored in some form of stable storage (PRAM, local disk, etc.).3. Discussion of AppleTalk Addressing3.1 IntroductionThe AppleTalk protocol suite has certain features not manifest in the standard TCP/IP suite. Its unique naming strategy and the dynamicnature of address assignment can cause problems for SNMP managementstations that wish to manage AppleTalk networks. TCP/IP end nodes,as of this writing, have an associated IP address which distinguishes each from the other. AppleTalk end nodes, in general, have no suchcharacteristic. The network level address, while often relativelystable, can change at every reboot (or more frequently).Thus, a thrust of this proposal is that a "name" (as opposed to an"address") for an end system be used as the identifying attribute.This is the equivalent, when dealing with TCP/IP end nodes, of using the domain name. While the mapping (DNS name, IP address) is morestable than the mapping (NBP name, DDP address), the mapping (DNSname, IP address) is not required to exist (e.g., hosts with no host name, only an IP address). In contrast, all AppleTalk nodes thatimplement this specification are required to respond to NBP lookupsand confirms (e.g., implement the NBP protocol stub), whichguarantees that the mapping (NBP name, DDP address) will exist.In determining the SNMP name to register for an agent, it issuggested that the SNMP name be a name which is associated with other network services offered by the machine. On a Macintosh system, for example, it is suggested that the system name (the "Macintosh Name"for System 7.0 which is used to advertise file sharing, program-to-program communication, and possibly other services) be used as the"object" field of the NBP name. This name has AppleTalksignificance, and is tightly bound to the network’s concept of agiven system’s identity.NBP lookups, which are used to turn NBP names into DDP addresses, can cause large amounts of network traffic as well as consume CPUresources. It is also the case that the ability to perform an NBPlookup is sensitive to certain network disruptions (such as zonetable inconsistencies, etc.) which would not prevent direct AppleTalk Minshall & Ritter [Page 3]communications between a management station and an agent.Thus, it is recommended that NBP lookups be used infrequently withthe primary purpose being to create a cache of name-to-addressmappings. These cached mappings should then be used for any furtherSNMP requests. It is recommended that SNMP management stationsmaintain this cache between reboots. This caching can help minimize network traffic, reduce CPU load on the network, and allow for (some amount of) network trouble shooting when the basic name-to-addresstranslation mechanism is broken.3.2 How To Acquire NBP names:A management station may have a pre-configured list of names ofagents to manage. A management station may allow for an interactionwith an operator in which a list of manageable agents is acquired(via NBP) and presented for the operator to choose which agentsshould be managed by that management station. Finally, a management station may manage all manageable agents in a set of zones ornetworks.An agent must be configured with the name of a specific managementstation or group of management stations before sending SNMP traps.In the absence of any such configured information, an agent is NOT to generate any SNMP traps. In particular, an agent is NEVER toinitiate a wildcard NBP lookup to find a management station toreceive a trap. All NBP lookups generated by an agent must be fully specified. Note, however, that this does not apply to aconfiguration utility that might be associated with such an agent.Such a utility may well allow a user to navigate around the networkto select a management station or stations to receive SNMP traps from the agent.3.3 When To Turn NBP Names Into Addresses:When SNMP agents or management stations use a cache entry to address an SNMP packet, they should attempt to confirm the mapping if ithasn’t been confirmed in T1 seconds. This cache entry lifetime, T1, has a minimum, default value of 60 seconds. This value should beconfigurable.A management station may decide to prime its cache of names prior to actually sending any SNMP requests to any given agent. In general,it is expected that a management station may want to keep certainmappings "more current" than other mappings. In particular, thosenodes which represent the network infrastructure (routers, etc.) may be deemed "more important" by the management station.Minshall & Ritter [Page 4]Note, however, that a long-running management station starting up and reading a configuration file containing a number of NBP names should not attempt to prime its cache all at once. It should, instead,issue the resolutions over an extended period of time (perhaps insome pre-determined or configured priority order). Each resolutionmight, in fact, be a wildcard lookup in a given zone.An agent should NEVER prime its cache. It should do NBP lookups (or confirms) only when it needs to send an SNMP trap to a givenmanagement station. An agent does not need to confirm a cache entry to reply to a request.3.4 How To Turn NBP Names Into Addresses:If the only piece of information available is the NBP name, then anNBP lookup should be performed to turn that name into a DDP address. However, if there is a piece of stale information, it can be used as a hint to perform an NBP confirm (which sends a unicast to thenetwork address which is presumed to be the target of the namelookup) to see if the stale information is, in fact, still valid.An NBP name to DDP address mapping can also be confirmed implicitlyusing only SNMP transactions. If a management station is sending aget-request, it can add a request, in the same packet, for thedestination’s nbpObject and nbpZone corresponding to the nbpEntrywith the nbpType equal to "SNMP Agent" [3]. The source DDP addresscan be gleaned from the reply and used with the nbpObject and nbpZone returned to confirm the cache entry.The above notwithstanding, for set-requests, there is a racecondition that can occur where an SNMP request may go to the wrongagent (because the old node went down and a new node came up with the same DDP address.) This is problematic becase the wrong agent might generate a response packet that the management station could notdistinguish from a reply from the intended agent. In the future,when SNMP security is implemented, each packet is authenticated atthe destination, and the reply should implicitly confirm the validity of the cache entry used and prevent this race condition.3.5 What if NBP is broken:Under some circumstances, there may be connectivity between amanagement station and an agent, but the NBP machinery required toturn an NBP name into a DDP address may be broken. Examples offailures which would cause this include: NBP FwdReq (forward NBPlookup onto locally attached network) broken at a router on thenetwork containing the agent; NBP BrRq (NBP broadcast request) Minshall & Ritter [Page 5]mechanism broken at a router on the network containing the managment station (because of a zone table mis-configuration, for example); or NBP broken in the target node.A management station which is dedicated to AppleTalk management might choose to alleviate some of these failures by implementing the router portion of NBP within the management station itself. For example,the management station might already know all the zones on theAppleTalk internet and the networks on which each zone appears.Given an NBP lookup which fails, the management station could send an NBP FwdReq to the network in which the agent was last located. Ifthat failed, the station could then send an NBP LkUp (an NBP lookuppacket) as a directed (DDP) multicast to each network number on that network. Of the above (single) failures, this combined approach will solve the case where either the local router’s BrRq to NBP FwdReqmechanism is broken or the remote router’s NBP FwdReq to NBP LkUpmechanism is broken.4. AcknowledgementsSome of the boilerplate in this memo is copied from [4], [5], and[6]. The Apple-IP Working Group was instrumental in defining thisdocument. Their support and work was greatly appreciated.5. References[1] Case, J., Fedor, M., Schoffstall, M., and J. Davin, "A SimpleNetwork Management Protocol (SNMP)", STD 15, RFC 1157, SNMPResearch, Performance Systems International, Performance Systems International, MIT Laboratory for Computer Science, May 1990.[2] Sidhu, G., Andrews, R., and A. Oppenheimer, "Inside AppleTalk(Second Edition)", Addison-Wesley, 1990.[3] Waldbusser, S., "AppleTalk Management Information Base", RFC1243, Carnegie Mellon University, August 1991.[4] Schoffstall, M., Davin, C., Fedor, M., and J. Case, "SNMP overEthernet", RFC 1089, Rensselaer Polytechnic Institute, MITLaboratory for Computer Science, NYSERNet, Inc., University ofTennessee at Knoxville, February 1989.[5] Bostock, S., "SNMP over IPX", RFC 1420, Novell, Inc., March 1993.[6] Piscitello, D., "Guidelines for the Specification of ProtocolSupport of the SNMP", Work in Progress.Minshall & Ritter [Page 6]6. Security ConsiderationsSecurity issues are discussed in section 3.4.7. Authors’ AddressesGreg MinshallNovell, Inc.1340 Treat Blvd, ste. 500Walnut Creek, CA 94596Phone: 510 947-0998Fax: 510 947-1238EMail: minshall@Mike RitterApple Computer, Inc.10500 North De Anza Boulevard, MS: 35-KCupertino, California 95014Phone: 408 862-8088Fax: 408 862-1159EMail: MWRITTER@Minshall & Ritter [Page 7]。