admin管理员组文章数量:1531364
2024年3月25日发(作者:)
1、首先将所得到的IP地址从ARP表中查出对应mac地址和相关端口号
CS4506-01#sh arp | include 10.95.30.30
Internet 10.95.30.30 1 01 ARPA Vlan30
2、查出对应mac地址所使用的端口号。sh
CS4506-01#sh mac-address-table dynamic address 01
Unicast Entries
vlan mac address type protocols port
-------+---------------+--------+---------------------+--------------------
30 01 dynamic ip,ipx,assigned,other GigabitEthernet4/36
3、查询对应端口所使用管理IP地址
CS4506-01#sh cdp nei g4/36 de
-------------------------
Device ID: CS2960G-04
Entry address(es):
IP address: 10.95.94.70
Platform: cisco WS-C2960G-24TC-L, Capabilities: Switch IGMP
Interface: GigabitEthernet4/36, Port ID (outgoing port): GigabitEthernet0/21
Holdtime : 132 sec
Version :
Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 12.2(50)SE5, RELEASE
SOFTWARE (fc1)
Technical Support: /techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Tue 28-Sep-10 13:44 by prod_rel_team
advertisement version: 2
Protocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27,
value=00000000FFFFFFFF010221FFA0CF5BF3B900FF0000
VTP Management Domain:
Native VLAN: 1
Duplex: full
Management address(es):
IP address: 10.95.94.70
4、登录对应交换机
CS4506-01#10.95.94.70
5、使用最早查询出mac地址查询端口
CS2960G-04#sh mac-address-table | in 01
30 01 DYNAMIC Gi0/15
版权声明:本文标题:根据IP查端口 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dianzi/1711354160a305481.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论