= 2009-05-07 = == Networking == * [http://www.debian-administration.org/article/Where_art_thou_-_CDPR cdpr] is a nifty little command which speaks the Cisco Discovery Protocol, allowing you to learn interesting things from your network. * 蠻有趣的套件,還可以查出接在哪一個 swicth 上的哪個 port。 {{{ jazz@drbl:~$ sudo apt-get install cdpr jazz@drbl:~$ sudo cdpr cdpr - Cisco Discovery Protocol Reporter Version 2.2.1 Copyright (c) 2002-2006 - MonkeyMental.com 1. eth0 (No description available) 2. eth1 (No description available) 3. eth2 (No description available) 4. any (Pseudo-device that captures on all interfaces) 5. lo (No description available) Enter the interface number (1-5):1 Using Device: eth0 Waiting for CDP advertisement: (default config is to transmit CDP packets every 60 seconds) Device ID value: ********.nchc.org.tw Addresses value: 140.110.***.*** Port ID value: GigabitEthernet0/48 }}}