LoginSignup
0
0

[MacBook] USB TYPE C to RJ45 RS232 Console Cable で CISCO ルーターにコンソール接続してみてみた

Posted at

usangreen社の USB Type-C のCISCOケーブル USB Console Cable for Cisco USB to RJ45 RS232 Serial Cable for Routers Switches and Firewallは、1pc 12ftケーブル、ラップトップ/ PCのタイプC USBポートからCiscoコンソールポートに直接接続します。アダプターは必要ありません。
00ケーブル写真.png

新しい MacBook、Samsung Galaxy TabPro S、Galaxy Note Serial、Microsoft Lumia 950、Haiwei Serial、最大RS232速度500kbaudなど、USB-Cポートを備えたラップトップ/ PCに対応 ということで、MacBook M1 へ繋いで CISCOルーターへ接続してみてみます。

■ コンソール・ケーブル接続

1) コンソール・ケーブルを 機器の CONSOLE端子へ接続
RJ45側をCISCO機器へ接続
01CISCO接続.jpg

2) コンソール・ケーブルをMacBookへ接続
USB側を MacBookへ接続
01ケーブル接続.jpg

3) ドライバー認識
しばらくずると 次のように OSが自動認識するので[許可]をクリック
ドライバ自動認識.jpeg

4) Terminal接続
iTermを起動
03iTERM01.png

■ ターミナル接続

1) /dev/tty.usbserial〜デバイス・ファイル確認
/dev 配下に /dev/tty.usbserial〜というデバイス・ファイルがで以下のように認識されていることを確認

shirok@macbook ~ % ls -l /dev/tty.*
crw-rw-rw-  1 root  wheel  0x9000000 May 19 17:22 /dev/tty.Bluetooth-Incoming-Port
crw-rw-rw-  1 root  wheel  0x9000002 May 23 23:29 /dev/tty.usbserial-A9D1E9YS

2) ターミナル接続

shirok@macbook ~ %  screen /dev/tty.usbserial-A9D1E9YS

3) ターミナル接続完了
接続できたら、show version 等で接続できていることを確認

Router>
Router>show version
Cisco IOS Software, C800 Software (C800-UNIVERSALK9-M), Version 15.2(4)M5, RELEASE SOFTWARE (fc2)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2013 by Cisco Systems, Inc.
Compiled Fri 13-Sep-13 23:06 by prod_rel_team

ROM: System Bootstrap, Version 15.2(3r)XC, RELEASE SOFTWARE (fc1)

C892-02 uptime is 12 hours, 55 minutes
System returned to ROM by reload at 00:40:24 UTC Fri May 31 2024
System image file is "flash:c800-universalk9-mz.SPA.152-4.M5.bin"
Last reload type: Normal Reload
Last reload reason: Reload Command



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.

■ 参考

Ciscoルータへのアクセス方法:コンソール接続
Cisco IOS - mode
Cisco IOS - How to CLI

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0