思科交换机根据MAC-IP信息查询具体的交换机端口

User Access Verification

Password:
IDC-3750G-12S-01>ping 192.168.50.47

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.50.47, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
HC-3750G-12S-01>sh arp | in 192.168.50.47
Internet  192.168.50.47           2   0030.4825.4441  ARPA   Vlan50
IDC-3750G-12S-01>sh mac address-table dynamic address 0030.4825.4441
         Mac Address Table
-------------------------------------------

Vlan    Mac Address       Type        Ports
----    -----------       --------    -----
 50    0030.4825.4441    DYNAMIC     Gi1/0/6
Total Mac Addresses for this criterion: 1
IDC-3750G-12S-01>sh cdp nei gi1/0/6 de
-------------------------
Device ID: IDC-2960G48-A14-114
Entry address(es):
 IP address: 172.16.88.114
Platform: cisco WS-C2960G-48TC-L,  Capabilities: Switch IGMP
Interface: GigabitEthernet1/0/6,  Port ID (outgoing port): GigabitEthernet0/48
Holdtime : 120 sec

Version :
Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 12.2(50)SE5, REL
EASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/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=0000000
0FFFFFFFF010221FF000000000000B8BEBF549D00FF0000
VTP Management Domain: ''
Native VLAN: 1
Duplex: full
Management address(es):
IP address: 172.16.88.114

IDC-3750G-12S-01>telnet 172.16.88.114
Trying 172.16.8.114 ... Open


User Access Verification

Password:
IDC-2960G48-A14-114>sh mac address-table dynamic address 0030.4825.4441
         Mac Address Table
-------------------------------------------

Vlan    Mac Address       Type        Ports
----    -----------       --------    -----
 50    0030.4825.4441    DYNAMIC     Gi0/20
Total Mac Addresses for this criterion: 1
IDC-2960G48-A14-114>sh mac address-table interface gi0/20
         Mac Address Table
-------------------------------------------

Vlan    Mac Address       Type        Ports
----    -----------       --------    -----
50    0030.4825.4441   DYNAMIC     Gi0/20
Total Mac Addresses for this criterion: 1
IDC-2960G48-A14-114>q

你可能感兴趣的:(dynamic,sequence,Address,percent,思科交换机)