R2(config)#ipx sap 4 FILE_SVR BB .0000.0000.0001 ?
Socket number
R2(config)#ipx sap 4 FILE_SVR BB.0000.0000.0001 150 ?
Hop count
R2(config)#ipx sap 4 FILE_SVR BB.0000.0000.0001 150 1
R2(config)#ipx sap 7 PRINT_SVR BB.0000.0000.0002 151 1
R2(config)#^Z
R2#sh ipx servers
Codes: S - Static, P - Periodic, E - EIGRP, N - NLSP, H - Hoiddown,= detail
U - Per-user static
2 Total IPX Servers
Table ordering is based on routing and server info
Type NameNet AddressPortRoute Hops ltf
S4FILE_SVR BB.0000.0000.0001:0150 conn 1Lo0
S7PRINT_SVRBB.0000.0000.0002:0150 conn 1Lo0
R2#
Term_Server#1
[Resuming connection 1 to R1 ... ]
R1#sh ipx servers
Codes: S - Static, P - Periodic, E - EIGRP, N - NLSP, H - Hoiddown,= detail
U - Per-user static
2 Total IPX Servers
Table ordering is based on routing and server info
Type Name NetAddressPortRoute Hops Itf
P 4FILE_SVRBB.0000.0000.0001:0150 2/012Et0
P 7PRINT_SVR BB.0000.0000.0002:0150 2/012 Et0
R1#
R1#debug ipx sap ?
activity IPX Service Advertisement packets
eventsIPX Service: Advartisement events
R1#debug ipx sap act
IPX service debugging is on
R1#cle ipx sap *
R1#IPXSAP:General Query src=https://www.rkxy.com.cn/dnjc/12.0000.0c76.f736,dst=12.ffff.ffff.ffff,packet sent(via Ethernst0)
R1#IPXSAP:General Query src=https://www.rkxy.com.cn/dnjc/AA.0000.0c76.f736,dst=AA.ffff.ffff.ffff,packet sent(via Loopback0)
06:55:28: IPXSAP;
06:55:28: IPXSAP: positing update to 12.ffff.ffff.ffff via Ethernet0 (broadcast) (flash)
06:55:28: IPXSAP: positing update to AA.ffff.ffff.ffff via Loopback0 (broadcast) (flash)
06:55:28: IPXSAP: Response (in) type 0x2 len 160 src:12.0000.0c8e.cdd2 dest:12.0000.0c76.f736(452)
06:55:28: type 0x7,"PRINT_SVR",BB.0000.0000.0002(151),2 hops
06:55;28: type 0x4,"FILE_SVR",BB.0000.0000.0001(150),2 hops
R1#
06:55:28: IPXSAP:type 0x7 server"PRINT_SVR"distance lowered;new entry accepted[2/1/2]
06:55:28: IPXSAP:type 0x4 server"FILE_SVR"distance lowered;new entry accepted[2/1/2]
06:55:28: IPXSAP: positing update to 12.ffff.ffff.ffffvia Ethernet0 (broadcast) (flash)
06:55:28: IPXSAP: positing update to AA.ffff.ffff.ffffvia Loopback0 (broadcast) (flash)
06:55:28: IPXSAP: suppressing null update to 12.ffff.ffff.ffff
06:55:28: IPXSAP: Update type 0x2 len 160 src:AA.0000.0c76.f736 dest:AA.ffff.ffff.ffff(452)
06:55:28: type 0x4,"FILE_SVR",BB.0000.0000.0001(150),3 hops
06:55:28: type 0x7,"PRINT_SVR",BB.0000.0000.0002(151),3 hops
R1#
06:55:29: IPXSAP: suppressing null update to 12.ffff.ffff.ffff
06:55:29: IPXSAP: suppressing null update to AA.ffff.ffff.ffff
R1#
06:55:47: IPXSAP: positing update to 12.ffff.ffff.ffff via Ethernet0 (broadcast) (full)
06:55:47: IPXSAP: suppressing null update to 12.ffff.ffff.ffff
R1#
(1)为了测试的目的,我们定义了2个静态的SAP服务,一个是类型为4的文件服务器FILE_SVR,另一个是类型为7的打印服务器PRINT_SVR,并分别给出了它们的IPX地址 。套接字号和跳数 。
(2)在R2上的sh ipx servers命令查到了刚刚定义的2个服务器,其状态是S,即静态,跳数为1 。
(3)在R1上使用sh ipx servers命令看到了类似的结果,跳数值在此处变成了2 。
(4)监测SAP协议的工作的同时,我们使用了clear ipx sap*命令,这迫使SAP进行更新 。
监测结果记录了SAP协议查询和更新的全部信息 。
推荐阅读
- 正确配置路由 合理使用路由器资源
- 一个诺基亚初次使用者评价诺基亚手机和1110
- 刷23版Firmware,个别CX75和M75会出现照相黑屏的真正原因和鉴别方法
- 路由器配置新手上路---计划配置
- 路由器配置新手上路---系统配置对话
- 小米cc9美图版的相机配置
- 沙暖睡鸳鸯的意思
- 赫澜和寂尧的小说叫什么
- 魅蓝5s和魅蓝U10买哪个好?魅蓝5s和魅蓝U10区别对比评测
- 路由器配置新手上路---连接路由器