평소에는 제가 한드림넷 스위치만 접속해서 정보를 본 적이 많이 있습니다.
그런데 운이 좋게도 시스코 스위치 CLI 접속해볼 기회가 있어서 접속해서 arp정보를 긁어왔는데요
일단 한드림넷 스위치에서 mds arp table 명령어를 사용해서 정보를 읽어올 때는
해당 IP와 mac주소 그리고 스위치 연결된 포트 넘버까지 보여줍니다.
헌데 시스코 스위치에서 show arp 치면 인터페이스 상에 IP와 MAC주소를
보여주더라구요.
그래서 저는 한드림넷 스위치 명령어를 생각해서 각 포트에 접속되어 있는
IP정보를 보려고 show arp 내에 명령어를 여러가지 넣어봤습니다만 안나오더라구요.
마지막에 사수가 가르쳐준 show mac address-table 명령어를 치니까
시스코 스위치 각 포트에 접속해 있는 MAC주소 값은 나오는데 IP는 안나오던데
이게 단순히 MAC address명령어를 사용해서 table값을 불러와서 그런 것 같은데요.
ip arp table 명령어가 따로있는데 제가 잘 몰라서 장비마다 시스코 스위치에 접속한
ip정보를 못본 것인가하는 의문이 들어서요.
혹시 시스코 스위치에 관련해서 잘 아시는 분 계시면 좀 알려주십시오~
ÀϹÝÀûÀ¸·Î ¶ó¿ìÅÍ ¿ªÈ°À» ÇÏ´Â ½ºÀ§Ä¡°¡ ¾Æ´Ï¶ó¸é ip ¸¦ º¸¿©ÁÙ¼ö ¾ø½À´Ï´Ù.
IP address, MAC address, VLAN, Interface, Aging, Type Ç׸ñÀ» arp ¸í·É¾î·Î º¸¿©Áֳ׿ä.
NALIN-NETSIM-DSR02#show arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 192.168.100.3 - 00e1.6d41.2741 ARPA GigabitEthernet1/0/1
Internet 192.168.100.253 0 0015.5d64.fe09 ARPA GigabitEthernet1/0/1
Internet 192.168.100.254 0 c81f.66d3.ff4c ARPA GigabitEthernet1/0/1
Internet 192.168.110.103 - 00e1.6d41.2742 ARPA Vlan2110
Internet 192.168.111.103 - 00e1.6d41.2743 ARPA Vlan2111
Internet 192.168.112.103 - 00e1.6d41.2744 ARPA Vlan2112
NALIN-NETSIM-DSR02#
Âü°í·Î ¹öÁ¯Àº............
NALIN-NETSIM-DSR02#show version
Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.2(7)E0a, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2019 by Cisco Systems, Inc.
Compiled Fri 12-Apr-19 04:09 by prod_rel_team
ROM: Bootstrap program is C2960X boot loader
BOOTLDR: C2960X Boot Loader (C2960X-HBOOT-M) Version 15.2(6r)E, RELEASE SOFTWARE (fc1)
NALIN-NETSIM-DSR02 uptime is 13 weeks, 6 days, 23 hours, 17 minutes
System returned to ROM by power-on
System restarted at 11:51:29 KST Tue Mar 10 2020
System image file is "flash:/c2960x-universalk9-mz.152-7.E0a.bin"
Last reload reason: power-on
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
cisco WS-C2960X-24TS-L (APM86XXX) processor (revision B0) with 524288K bytes of memory.
Processor board ID FOC1813S0TM
Last reset from power-on
4 Virtual Ethernet interfaces
1 FastEthernet interface
28 Gigabit Ethernet interfaces
2 Ten Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.
512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 00:E1:6D:41:27:00
Motherboard assembly number : 73-14194-04
Power supply part number : 341-0529-02
Motherboard serial number : FOC181300LX
Power supply serial number : LIT18070K2S
Model revision number : B0
Motherboard revision number : A0
Model number : WS-C2960X-24TS-L
Daughterboard assembly number : 73-14200-03
Daughterboard serial number : FOC18127A7C
System serial number : FOC1813S0TM
Top Assembly Part Number : 800-38008-02
Top Assembly Revision Number : C0
Version ID : V02
CLEI Code Number : CMMMU00ARA
Daughterboard revision number : A0
Hardware Board Revision Number : 0x05
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 30 WS-C2960X-24TS-L 15.2(7)E0a C2960X-UNIVERSALK9-M
Configuration register is 0xF
NALIN-NETSIM-DSR02#
Protocol Address Age (min) Hardware Addr Type Interface
Internet 192.168.1.xx 74 0011.32xx.xxxx ARPA Vlan1
Internet 192.168.1.xx 79 0011.32xx.xxxx ARPA Vlan1
Internet 192.168.1.xx 0 0011.32xx.xxxx ARPA Vlan1
Internet 192.168.1.xx 0 4ccc.6axx.xxxx ARPA Vlan1
Internet 192.168.1.xx - 2c31.24xx.xxxx ARPA Vlan1
BD_L2SW01#show version
Cisco IOS Software, C2960L Software (C2960L-UNIVERSALK9-M), Version 15.2(5c)E, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
¿¹Àü 100mbps¸¸ Áö¿øµÇ´Â Ä«Å»¸®½ºÆ® 2960½ºÀ§Ä¡¿¡¼µµ µ¿ÀÏÇÏ°Ô º¸ÀÌ´Â ¸í·É¾îÀä..
¿î¿µÁßÀÎ Àåºñ¿¡¼ º¸½Å°Ç°¡¿ä?