SlideShare a Scribd company logo
1 of 17
Download to read offline
【Cisco】初心者ネットワーク勉強会@秋葉原UDX
2020/09/26(土)9時30分から
FORSE 1
【Cisco】初心者ネットワーク勉強会@秋葉原UDX
FORSE
アジェンダ
0930~0945 今日出来るようになる事、自己紹介
0945~1000 さっそく実機でやってみよう(ペア演習)
1000~1015 Router On Stick やってみる
1015~1030 Ciscoルータの説明
1030~1045 Ciscoに設定投入
1045~1100 ネットワーク疎通テスト
参加いただきありがとうございます!!!
ペアに分かれて頂き、ルータ担当、スイッチ担当を決めてください
鈴木メモ
持ち物:ルーター×3、スイッチ×3、PC×6 、シリアルケーブル×6
LAN線 トランク用:黄色×3、青(10)×3、赤(20)×3
オレンジ(30)×3 合計12本
今日、出来るようになる事
teratermを利用して、Ciscoデバイスにアクセスできるようになる事
Cisco実機に電源投入
LAN線?
シリアル?
RouterとSwitchの違い
自己紹介(鈴木)
CTCって会社で18年間SE。アプリケーション8年→インフラ10年。2019年に
起業して会社を設立
平日はインフラエンジニア。日曜日に予備校でLinux構築講座の講師
2
【Cisco】初心者ネットワーク勉強会@秋葉原UDX ルータとスイッチ説明
FORSE
電源どこ?
電源入った事をLED(ランプ)で確認してください
コンソールどこ?
コンソールをつないで、確認してください
3
【講義】初心者ネットワーク勉強会@秋葉原UDX
FORSE
今日、やってみようと思っている構成
まずはこれだけ
ルータとスイッチを初期化して、IPアドレスを設定してpingを通します
trunk
新橋支店
192.168.10.0/24
神田支店
192.168.20.0/24
上野支店
192.168.30.0/24
LIFORK秋葉原データセンター
192.168.100.0/25
LIFORK秋葉原データセンター
192.168.100.0/25
#8#8
4
【Cisco】初心者ネットワーク勉強会@秋葉原UDX ルータの初期設定1
FORSE
ペア相手にディスプレイが見えるように共有してください
手順1
セットアップモードが起動したら、noと入力、もしくはcttl+c
手順2
メッセージが表示され、Enterキーを押します。Router>のプロンプトが
表示されます
手順3
特権モードに移行します。Router#のプロンプトが表示されます
手順4
グローバルコンフィグレーションモードに移行します。Router(config)#
が表示されます
手順5
ホスト名を設定します。設定後プロンプトがホスト名に変更された事を確認
します。ホスト名は講師が指示します
手順7
特権モードに戻ります。
手順8
タイプミスをします。待ち時間にイラっとします
手順9
対策します
--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]:no
Press RETURN to get started!
Router>
Router>enable
Router#
Router#configure terminal
Router(config)#
Router(config)#hostname RT-xxxx
RT-xxx(cnofig)#
Router(config)#end
RT-xxx#
Router#abc
Translating "abc"...domain server (255.255.255.255)
% Unknown command or computer name, or unable to find
computer address
Router#configure terminal
Router(config)#no ip domain lookup
Router(config)#end
5
【Cisco】初心者ネットワーク勉強会@秋葉原UDX ルータの初期化設定2
FORSE
手順10
確認します。
手順11
gi8にIPアドレスとサブネットマスクを設定し、有効化します
手順12
説明文を追加します。接続先のホスト名とポート番号です
便利なコマンド一覧
https://www.infraexpert.com/study/tea12.htm
ログメッセージの表示で自動改行させる。コマンド入力中に邪魔にならないように
Router#abc
Translating "abc"
% Unknown command or computer name, or unable to find
computer address
Router#configure terminal
Router(config)#interface gigabitEthernet 8
Router(config-if)#ip address 192.168.100.4 255.255.255.128
Router(config-if)#no shutdown
Router(config-if)#description to SW-xxx gi0/8
Router(config-if)#end
Router#configure terminal
Router(config)#line console 0
Router(config-line)#logging synchronous
Router(config-line)#end
6
【Cisco】初心者ネットワーク勉強会@秋葉原UDX スイッチの初期設定1
FORSE
ペア相手にディスプレイが見えるように共有してください
手順1
セットアップモードが起動したら、noと入力、もしくはcttl+c
手順2
メッセージが表示され、Enterキーを押します。Switch>のプロンプトが
表示されます
手順3
特権モードに移行します。Switch#のプロンプトが表示されます
手順4
グローバルコンフィグレーションモードに移行します。Switch(config)#
が表示されます
手順5
ホスト名を設定します。設定後プロンプトがホスト名に変更された事を確認
します。ホスト名は講師が指示します
手順7
特権モードに戻ります。
手順8
タイプミスをします。待ち時間にイラっとします
手順9
対策します
--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]:no
Press RETURN to get started!
Switch>
Switch>enable
Switch#
Switch#configure terminal
Switch(config)#
Switch (config)#hostname SW-xxxx
SW-xxx(cnofig)#
Switch (config)#end
SW-xxx#
Switch #abc
Translating "aaa"...domain server (255.255.255.255)
% Unknown command or computer name, or unable to find
computer address
Switch #configure terminal
Switch(config)#no ip domain lookup
Switch(config)#end
7
【Cisco】初心者ネットワーク勉強会@秋葉原UDX スイッチの初期化設定2
FORSE
手順10
確認します。
手順11
vlan1にIPアドレスとサブネットマスクを設定し、有効化します
手順12
説明文を追加します。接続先のホスト名とポート番号です
手順13
デフォルトゲートウェイを設定します。IPアドレスはルータのIPアドレス
になります。
手順14
スイッチとルータを結線してください
手順15
pingによる疎通確認をしてください
お互いにpingを実行して成功する事を確認してください。
!!!!!(コーテーション、ビックリマーク)が出力されれば成功です
どのポートでも疎通出来ますか?
Switch#abc
Translating "abc"
% Unknown command or computer name, or unable to find
computer address
Switch #configure terminal
Switch(config)#interface vlan1
Switch(config-if)#ip address 192.168.100.5 255.255.255.128
Switch(config-if)#no shutdown
Switch(config-if)#description to RT-xxx gi8
Switch(config-if) #exit
Switch(config)#ip default-gateway 192.168.100.4
Switch(config)#end
Router>ping 192.168.100.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.100.5, timeout is 2
seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/1
ms
8
【講義】初心者ネットワーク勉強会@秋葉原UDX
FORSE
今日、やってみようと思っている構成
VLAN、Trunk、Accessを設定します
PCのIPアドレスを設定して下さい
trunk
新橋支店
192.168.10.0/24神田支店
192.168.20.0/24
上野支店
192.168.30.0/24
LIFORK秋葉原データセンター
192.168.100.0/25
#8#8#3
#2 #1
9
IPアドレス サブネット デフォルトゲートウェイ
1番 192.168.10.10 255.255.255.0 192.168.10.1
2番 192.168.20.20 255.255.255.0 192.168.20.1
3番 192.168.10.30 255.255.255.0 192.168.10.1
4番 192.168.30.40 255.255.255.0 192.168.30.1
5番 192.168.20.50 255.255.255.0 192.168.20.1
6番 192.168.30.60 255.255.255.0 192.168.30.1
【Cisco】初心者ネットワーク勉強会@秋葉原UDX ルータのトランク設定
FORSE
手順1
インターフェースを初期化するので、初期化前に確認します
手順2
インターフェースを初期化します
手順3
手順1と同じ。初期化されたことを確認します
手順4
サブインターフェースを作成します
Router#configure terminal
Router(config)#default interface gigabitEthernet8
Router#show interface gigabitEthernet8 | include Internet
Internet address is 192.168.100.4/25
Router#show interface gigabitEthernet8 | include Internet
Router# configure terminal
Router(config)# interface gigabitEthernet 8.1
Router(config-subif)#encapsulation dot1q 1
Router(config-subif)#ip address 192.168.100.4 255.255.255.128
Router(config-subif)#exit
Router(config)# interface gigabitEthernet 8.10
Router(config-subif)#encapsulation dot1q 10
Router(config-subif)#ip address 192.168.10.1 255.255.255.0
Router(config-subif)#exit
Router(config)# interface gigabitEthernet 8.20
Router(config-subif)#encapsulation dot1q 20
Router(config-subif)#ip address 192.168.20.1 255.255.255.0
Router(config-subif)#exit
Router(config)# interface gigabitEthernet 8.30
Router(config-subif)#encapsulation dot1q 30
Router(config-subif)#ip address 192.168.30.1 255.255.255.0
Router(config-subif)#exit
Router(config)# interface gigabitEthernet 8
Router(config-if)#no shutdown
Router(config-if)#end
10
【Cisco】初心者ネットワーク勉強会@秋葉原UDX ルータのトランク設定
FORSE
手順5 設定を検証します。
手順6 設定を検証します。
Router#show ip interface brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet8 unassigned YES manual up up
GigabitEthernet8.1 192.168.100.4 YES manual up up
GigabitEthernet8.10 192.168.10.1 YES manual up up
GigabitEthernet8.20 192.168.20.1 YES manual up up
GigabitEthernet8.30 192.168.30.1 YES manual up up
Router#show ip route
Gateway of last resort is not set
192.168.10.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.10.0/24 is directly connected, GigabitEthernet8.10
L 192.168.10.1/32 is directly connected, GigabitEthernet8.10
192.168.20.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.20.0/24 is directly connected, GigabitEthernet8.20
L 192.168.20.1/32 is directly connected, GigabitEthernet8.20
192.168.30.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.30.0/24 is directly connected, GigabitEthernet8.30
L 192.168.30.1/32 is directly connected, GigabitEthernet8.30
192.168.100.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.100.0/25 is directly connected, GigabitEthernet8.1
L 192.168.100.4/32 is directly connected, GigabitEthernet8.1
11
【Cisco】初心者ネットワーク勉強会@秋葉原UDX スイッチの設定
FORSE
手順1
vlanを作成します
手順2
アクセスポートに指定して、vlanを割り当てます
手順3
同様にvlanを割り当てます。
手順4
トランクポートを作成します
手順5
結線して、少し待ちます
手順6
検証します
Switch(config)#interface range gigabitEthernet 0/1 - 3
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#interface gigabitEthernet 0/1
Switch(config-if)# switchport access vlan 10
Switch>enable
Switch#configure terminal
Switch(config)#vlan 10,20,30
Switch(config-vlan)#exit
Switch(config-if)#interface gigabitEthernet 0/2
Switch(config-if)# switchport access vlan 20
Switch(config-if)#interface gigabitEthernet 0/3
Switch(config-if)# switchport access vlan 30
Switch(config-if)#interface gigabitEthernet 0/8
Switch(config-if)#switchport mode trunk
Switch(config-if)#end
Switch#show interface trunk
Port Mode Encapsulation Status Native vlan
Gig0/8 on 802.1q trunking 1
Port Vlans allowed on trunk
Gig0/1 1-1005
Port Vlans allowed and active in management domain
Gig0/1 1,10,20,30
Port Vlans in spanning tree forwarding state and not pruned
Gig0/1 1,10,20,30
12
【Cisco】初心者ネットワーク勉強会@秋葉原UDX スイッチの設定
FORSE
手順6
検証します。作成したVLANとアクセスポートの設定
手順7
VLANインターフェースのIPを確認します
手順8
デフォルトゲートウェイを確認します
Switch#show vlan brief
VLAN Name Status Ports
---- -------------------------------- --------- ----------------------------
---
1 default active Fa0/4, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
Gig0/2
10 VLAN0010 active Gi0/1, Fa0/5
20 VLAN0020 active Gi0/2
30 VLAN0030 active Gi0/3
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
Switch#show interfaces vlan 1
Vlan1 is up, line protocol is up
Hardware is CPU Interface, address is 0002.1678.dd4c (bia
0002.1678.dd4c)
Internet address is 192.168.100.5/25
MTU 1500 bytes, BW 100000 Kbit, DLY 1000000 usec,
Switch#show running-config | include default-gateway
ip default-gateway 192.168.100.4
13
【Cisco】初心者ネットワーク勉強会@秋葉原UDX PC設定
FORSE
PCースイッチ間の接続ポートに気を付けて
疎通確認をしてください
新橋支店
PC
神田支店
PC
上野支店
PC
Switch Router
新橋支店
PC
神田支店
PC
上野支店
PC
Switch
Router
14
現在、10時
40分より前
ですか?
機器の初期化
ケーブルの片付け
おまけ
【 】さいごに
FORSE
実機ハンズオンat秋葉原
2020年6月20日 初回勉強会開催
2020年9月末 グループメンバーが増えてきました。 講義開催要求も多く頂き
謙虚に素直に、みなさまに必要とされるよう努力を続けます
現在のラボ(合計6つ)
Cisco #1~#4、Fortigate #1~2
今後の予定、2020年内、EtherChannel、ポートセキュリティ
当社にはCisco ASA検証機もあり、Cisco-ASAをゲートウェイにした支店VPNと
AnyConnectの勉強会もやりたい
12月は今までのトラブルを集めて、リピーター向けトラブルシューティングも
来年の予定:サーバ系(Linux、ActiveDirecotry + ネットワーク)
今後は予約の取り易いpaypal前払いと、会場払いの2つを作っていく予定です
起業して1年経ちました。
前世の会社でお世話になったお客様たちの案件を2つ程度こなしました。
お客様たちが、前世の会社時と同じように「依頼、要求」を始めました
案件引合が多くて、、、休めません。
中途採用を募集しておりまして、もし良い方がいらっしゃれば紹介をお願いします
15
【 】おまけ
FORSE
同じVLAN通信可能
違うVLANは通信不可を確認します
16
#1
192.168.10.10 192.168.20.20
#1
① ②
#2
192.168.10.30 192.168.30.40③ ④ 192.168.20.50 192.168.30.60⑤ ⑥
#3
#2 #3
#5
#5
#6
#6
#7#7
【Cisco】おまけ スイッチの設定
FORSE
手順1
トランクポートを作成します
手順2
結線します
手順3
同一VLANどうしのpingを確認します
Switch>enable
Switch#configure terminal
Switch(config-if)#interface range gigabitEthernet 0/5 -7
Switch(config-if-range)#switchport mode trunk
Switch(config-if-range)#exit
Switch(config-if)#interface gigabitEthernet 0/5
Switch(config-if)#switchport trunk allowed vlan 10
Switch(config-if)#interface gigabitEthernet 0/6
Switch(config-if)#switchport trunk allowed vlan 20
Switch(config-if)#interface gigabitEthernet 0/7
Switch(config-if)#switchport trunk allowed vlan 30
Switch(config-if)#end
17

More Related Content

Featured

How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationErica Santiago
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellSaba Software
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming LanguageSimplilearn
 

Featured (20)

How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them wellGood Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
Good Stuff Happens in 1:1 Meetings: Why you need them and how to do them well
 
Introduction to C Programming Language
Introduction to C Programming LanguageIntroduction to C Programming Language
Introduction to C Programming Language
 

Cisco labo2-forse system-udx0926