路由器埠查詢
Type: S-Static D-Dynamic
IP Address MAC Address VLAN ID Port Name Aging Type
10.248.2.190 0000-5e00-010a 220 GigabitEthernet6/0/48 12 D
10.248.2.189 0018-8288-64be 220 GigabitEthernet6/0/1 19 D
10.248.2.188 0018-8289-87e3 220 GigabitEthernet6/0/48 19 D
10.248.3.244 0018-8270-996b 210 GigabitEthernet6/0/30 4 D
10.248.3.246 0000-5e00-010a 210 GigabitEthernet6/0/30 13 D
10.248.3.245 0018-8287-c277 210 GigabitEthernet6/0/1 16 D
10.248.3.195 000f-e2b2-5a0a 110 GigabitEthernet6/0/1 18 D[@more@]
或者檢視MAC地址對應的埠
MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s)
0000-5e00-0101 10 Learned GigabitEthernet6/0/1 AGING
0003-b24a-9308 10 Learned GigabitEthernet6/0/1 AGING
001f-290d-a94b 10 Learned GigabitEthernet6/0/1 AGING
001f-290d-a968 10 Learned GigabitEthernet6/0/1 AGING
2.透過查詢配置資訊查詢商品名字
interface GigabitEthernet6/0/42
port access vlan 110
#
interface GigabitEthernet6/0/43
port access vlan 110
#
interface GigabitEthernet6/0/44
port access vlan 20
#
interface GigabitEthernet6/0/45
#
interface GigabitEthernet6/0/46
#
interface GigabitEthernet6/0/47
#
interface GigabitEthernet6/0/48
port access vlan 220
3.檢視埠狀態
GigabitEthernet6/0/31 current state : UP
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 000f-e2b2-5b17
The Maximum Transmit Unit is 1500
Media type is Twisted pair, loopback not set
Port hardware type is 1000_BASE_T
1000Mbps-speed mode, Full-duplex mode
Link speed type is autonegotiation, Link duplex type is autonegotiation
Flow-control is not enabled
The Maximum Frame Length is 1536
Allow jumbo frame to pass
PVID: 110
Mdi type: auto
Port link-type: access
Tagged VLAN ID : none
Untagged VLAN ID : 110
Last 300 seconds input: 0 packets/sec 5 bytes/sec
Last 300 seconds output: 6 packets/sec 1453 bytes/sec
Input(total): 13184423 packets, 2298060871 bytes
- broadcasts, - multicasts
Input(normal): 13184423 packets, - bytes
512120 broadcasts, 10 multicasts
Input: 0 input errors, 0 runts, - giants, 0 throttles, 0 CRC
0 frame, - overruns, - aborts, - ignored, - parity errors
Output(total): 102676481 packets, 32553486104 bytes
- broadcasts, - multicasts, - pauses
Output(normal): 102676481 packets, - bytes
850988 broadcasts, 48393324 multicasts, 0 pauses
Output: 0 output errors, - underruns, - buffer failures
0 aborts, 0 deferred, 0 collisions, 0 late collisions
- lost carrier, - no carrier
Receive Packet Peak Value Info: 50985214 bytes/sec, happened at 16:8:31 4-8-2010
Transmit Packet Peak Value Info: 95747209 bytes/sec, happened at 10:32:16 12-15-2009
4.對於一個埠對應多個IP的需要查到這個網路卡地址
先登陸第一臺路由器,檢視IP
Type: S-Static D-Dynamic
IP Address MAC Address VLAN ID Port Name Aging Type
10.248.2.190 0000-5e00-010a 220 GigabitEthernet6/0/48 12 D
10.248.2.189 0018-8288-64be 220 GigabitEthernet6/0/1 19 D
10.248.2.188 0018-8289-87e3 220 GigabitEthernet6/0/48 19 D
10.248.3.244 0018-8270-996b 210 GigabitEthernet6/0/30 4 D
10.248.3.246 0000-5e00-010a 210 GigabitEthernet6/0/30 13 D
10.248.3.245 0018-8287-c277 210 GigabitEthernet6/0/1 16 D
10.248.3.195 000f-e2b2-5a0a 110 GigabitEthernet6/0/1 18 D
10.248.2.3 000f-e2b2-5a0a 10 GigabitEthernet6/0/1 13 D
10.248.2.13 001f-290d-a96c 10 GigabitEthernet6/0/1 13 D
10.248.2.31 0023-7da9-9f8d 10 GigabitEthernet6/0/18 14 D
10.248.2.36 0023-7da9-9f5c 10 GigabitEthernet6/0/21 14 D
10.248.2.14 001f-290d-a968 10 GigabitEthernet6/0/1 15 D
10.248.2.28 0023-7da9-8ff7 10 GigabitEthernet6/0/17 15 D
10.248.2.32 0023-7da9-9f8d 10 GigabitEthernet6/0/18 15 D
10.248.2.40 0023-7da9-9f3b 10 GigabitEthernet6/0/22 15 D
10.248.2.20 001f-290d-a94b 10 GigabitEthernet6/0/1 15 D
10.248.2.62 0000-5e00-0101 10 GigabitEthernet6/0/1 15 D
10.248.2.41 0000-5e00-0101 10 GigabitEthernet6/0/1 15 D
10.248.2.16 001f-290d-a91e 10 GigabitEthernet6/0/35 15 D
10.248.2.24 001f-290d-a957 10 GigabitEthernet6/0/36 15 D
10.248.2.11 001f-290d-a96c 10 GigabitEthernet6/0/1 19 D
10.248.2.55 0000-5e00-0101 10 GigabitEthernet6/0/1 19 D
10.248.2.19 001f-290d-a94b 10 GigabitEthernet6/0/1 19 D
10.248.2.23 001f-290d-a957 10 GigabitEthernet6/0/36 20 D
10.248.2.35 0023-7da9-9f5c 10 GigabitEthernet6/0/21 20 D
10.248.2.61 0003-b24a-9308 10 GigabitEthernet6/0/1 20 D
10.248.2.60 0003-b24a-9548 10 GigabitEthernet6/0/38 20 D
再登陸第二臺路由器
MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s)
0000-5e00-010a 10 Learned GigabitEthernet6/0/1 AGING
0003-b24a-9548 10 Learned GigabitEthernet6/0/1 AGING
000f-e2b2-5b18 10 Learned GigabitEthernet6/0/1 AGING
001f-290d-a91e 10 Learned GigabitEthernet6/0/1 AGING
001f-290d-a94f 10 Learned GigabitEthernet6/0/1 AGING
001f-290d-a957 10 Learned GigabitEthernet6/0/1 AGING
001f-290d-a961 10 Learned GigabitEthernet6/0/1 AGING
0023-7da9-8ff7 10 Learned GigabitEthernet6/0/1 AGING
0023-7da9-9f3b 10 Learned GigabitEthernet6/0/1 AGING
0023-7da9-9f5c 10 Learned GigabitEthernet6/0/1 AGING
0023-7da9-9f8d 10 Learned GigabitEthernet6/0/1 AGING
001f-290d-a96c 10 Learned GigabitEthernet6/0/33 AGING
001f-290d-a968 10 Learned GigabitEthernet6/0/34 AGING
001f-290d-a94b 10 Learned GigabitEthernet6/0/37 AGING
0000-5e00-0101 10 Learned GigabitEthernet6/0/38 AGING
0003-b24a-9308 10 Learned GigabitEthernet6/0/38 AGING
--- 16 mac address(es) found in vlan 10 ---
這樣就可以查出10.248.2.13這個IP用的是GigabitEthernet6/0/33這個埠
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7490392/viewspace-1037424/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 查詢埠號佔用
- mac查詢埠對應的PIDMac
- win或Liunx查詢埠占用語句
- 如何在 Linux 中查詢服務的埠號Linux
- linux下根據埠號查詢對應程式Linux
- Linux 下查詢埠號由哪個程式執行Linux
- 路由器埠對映設定方法路由器
- 如何查詢主流資料庫系統的預設埠號資料庫
- Linux系統怎麼透過埠號查詢完整程序Linux
- cacti配置路由器埠閥值報警路由器
- SQL查詢的:子查詢和多表查詢SQL
- 查詢之折半查詢
- mysql-分組查詢-子查詢-連線查詢-組合查詢MySql
- Cisco的路由器上進行埠對映路由器
- 複雜查詢—子查詢
- 查詢——二分查詢
- 子查詢-表子查詢
- 查詢(1)--靜態查詢
- 查詢(2)--動態查詢
- MYSQL學習筆記25: 多表查詢(子查詢)[標量子查詢,列子查詢]MySql筆記
- Linux下用 lsof 命令查詢指定埠被哪個程式佔用Linux
- 資料庫 - 連線查詢、巢狀查詢、集合查詢資料庫巢狀
- 離線查詢與線上查詢
- 【SQL查詢】集合查詢之INTERSECTSQL
- 查詢與排序02,折半查詢排序
- Cisco路由器埠故障的解決辦法(轉)路由器
- 查詢
- #查詢演算法#【1】簡單查詢:順序、折半查詢演算法
- 檢查udp埠是否可用?UDP
- TP-Link路由器埠對映怎麼設定?TP-Link路由器埠對映設定方法大全路由器
- oracle 精確查詢和模糊查詢Oracle
- 查詢演算法__插值查詢演算法
- pgsql查詢優化之模糊查詢SQL優化
- MySQL - 資料查詢 - 簡單查詢MySql
- Elasticsearch複合查詢——boosting查詢Elasticsearch
- MySQL聯結查詢和子查詢MySql
- select查詢之三:子查詢
- select查詢之一:普通查詢