当前位置:首页 » 服务器技术
开发技术指南» 文章正文
    引言: 在一个Cisco 交换网络中间,已知某台机器的IP地址,如何找出它连接到了哪台交换机的哪个端口上呢?最方便快捷的方法使使用CiscoWorks 2000 LMS网管软件的User tracking 功能,图形化界面,一目了然。
 

 

 ·cisco adsl配置说明    »显示摘要«
    摘要:cisco adsl 配置说明 ! vpdn enable no vpdn logging<=由于adsl的pppoe应用是通过虚拟拨号来实现的所以在路由器中需要使用vpdn的功能 ! vpdn-group pppoe <=为pppoe启动了vpdn的进程 request-dialin protocol pppoe <=设置拨号协议为pppoe ! interface ......
 ·怎样实现路由器回拨电话    »显示摘要«
    摘要:cisco路由器被广泛用作企事业单位网络中心的通信设备,它除了支持专线连接外,其异步端口的电话接入功能也非常有用。浙江省某金融单位利用cisco路由器的异步端口进行电话回拨,从而方便地实现了路由器与个人pc机的连接。下面笔者把此次设置的过程作详细介绍。 ■设置过程 ont color=#000084>首先,对cisco中心路由器进行相应的参数配置,此项配置的第一步,是进行全局参数设置首先......


根据ip地址查交换机端口

在一个cisco 交换网络中间,已知某台机器的ip地址,如何找出它连接到了哪台交换机的哪个端口上呢?最方便快捷的方法使使用ciscoworks 2000 lms网管软件的user tracking 功能,图形化界面,一目了然.

示例网络:核心交换机为6509(交换引擎se用catos, msfc运行ios软件) 【程序编程相关:帧中继交换机配置实例

如果没有这个软件,也可以使用以下手工分析方法来找出答案: 【推荐阅读:系统日志配置syslog

通过查看系统的arp缓存表可以找出某ip所对应的mac地址.由于arp不能跨vlan进行,所以连接各个vlan的路由模块msfc就是最佳的选择--一般它在每一个vlan都有一个端口(interface vlan n),能正确地进行arp解释. 【扩展信息:PPPoE配置实例(2600路由器接AD

1. 找出该ip所对应的mac地址:

6509msfc#ping 10.10.1.65

type escape sequence to abort.

sending 5, 100-byte icmp echos to 10.10.1.65, timeout is 2 seconds:

!!!!!

success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms

6509msfc#show arp | in 10.10.1.65

internet 10.10.1.65 2 0006.2973.121d arpa vlan2

通过以上命令,我们知道10.10.1.65的mac地址是0006.2973.121d, 这是ios设备的mac地址表达方式,在catos中,应写为00-06-29-73-12-1d.

2.在交换机上找出mac地址所对应的端口

6509se> (enable) show cam 00-06-29-73-12-1d

* = static entry. + = permanent entry. # = system entry. r = router entry.

x = port security entry $ = dot1x security entry

vlan dest mac/route des [cos] destination ports or vcs / [protocol type]

---- ------------------ ----- -------------------------------------------

2 00-06-29-73-12-1d 9/41 [all]

total matching cam entries displayed =1

这是不是说ip为 10.10.1.65的机器就接在端口9/41上呢?

不一定.
...   下一页
 ·一份关于ease-ip的配置    »显示摘要«
    摘要:this configuration will allow the aux port on a router to establish a dial-up al/04314.htm" target="_blank">ppp connection using pap authentication to a non-cisco access server. this configuration ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE