このポストでは、2 台スイッチ間の接続について、ご紹介したいと思います。
今回のトポロジーは下記のようなものとなります。
2 台のスイッチは、ポート 3 で接続しております。
Switch 1 [Port3] ------------ [Port3] Switch2
172.16.103.102/24 172.16.103.103/24
##### 実行例 ######
// 1. 2台 のスイッチのPort 3 を Enable する//
* X480-48x.1 # enable port 3
// 2. 現在の vlan の状態を確認する //
* X480-48x.1 # show vlan
-----------------------------------------------------------------------------------------------
Name VID Protocol Addr Flags Proto Ports Virtual
Active router
/Total
-----------------------------------------------------------------------------------------------
Default 1 --------------------------------T---------------- ANY 1 /48 VR-Default
Mgmt 4095 ------------------------------------------------- ANY 1 /1 VR-Mgmt
ご覧の通り、スイッチのDefault vlan は "vlan 1" に所属しております。
// 3. Default vlan に IP addresss をアサインする //
* X480-48x.2 # config vlan "Default" ipaddress 172.16.103.102/24
IP interface for VLAN Default has been created.
* X480-48x.4 # config vlan "Default" ipaddress 172.16.103.103/24
IP interface for VLAN Default has been created.
//4. 設定した内容を確認する //
* X480-48x.3 # show vlan
-----------------------------------------------------------------------------------------------
Name VID Protocol Addr Flags Proto Ports Virtual
Active router
/Total
-----------------------------------------------------------------------------------------------
Default 1 172.16.103.102 /24 ------------T---------------- ANY 1 /48 VR-Default
Mgmt 4095 ------------------------------------------------- ANY 1 /1 VR-Mgmt
-----------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------
Name VID Protocol Addr Flags Proto Ports Virtual
Active router
/Total
-----------------------------------------------------------------------------------------------
Default 1 172.16.103.103 /24 ------------T---------------- ANY 2 /47 VR-Default
Mgmt 4095 ------------------------------------------------- ANY 1 /1 VR-Mgmt
-----------------------------------------------------------------------------------------------
// 5. Ping テストを実施する //
* X480-48x.4 # ping vr "VR-Default" 172.16.103.103
Ping(ICMP) 172.16.103.103: 4 packets, 8 data bytes, interval 1 second(s).
16 bytes from 172.16.103.103: icmp_seq=0 ttl=64 time=9.400 ms
16 bytes from 172.16.103.103: icmp_seq=1 ttl=64 time=1.054 ms
16 bytes from 172.16.103.103: icmp_seq=2 ttl=64 time=1.016 ms
16 bytes from 172.16.103.103: icmp_seq=3 ttl=64 time=1.063 ms
--- 172.16.103.103 ping statistics ---
4 packets transmitted, 4 packets received, 0% loss
round-trip min/avg/max = 1/3/9 ms
今回のトポロジーは下記のようなものとなります。
2 台のスイッチは、ポート 3 で接続しております。
Switch 1 [Port3] ------------ [Port3] Switch2
172.16.103.102/24 172.16.103.103/24
##### 実行例 ######
// 1. 2台 のスイッチのPort 3 を Enable する//
* X480-48x.1 # enable port 3
// 2. 現在の vlan の状態を確認する //
* X480-48x.1 # show vlan
-----------------------------------------------------------------------------------------------
Name VID Protocol Addr Flags Proto Ports Virtual
Active router
/Total
-----------------------------------------------------------------------------------------------
Default 1 --------------------------------T---------------- ANY 1 /48 VR-Default
Mgmt 4095 ------------------------------------------------- ANY 1 /1 VR-Mgmt
ご覧の通り、スイッチのDefault vlan は "vlan 1" に所属しております。
// 3. Default vlan に IP addresss をアサインする //
* X480-48x.2 # config vlan "Default" ipaddress 172.16.103.102/24
IP interface for VLAN Default has been created.
* X480-48x.4 # config vlan "Default" ipaddress 172.16.103.103/24
IP interface for VLAN Default has been created.
//4. 設定した内容を確認する //
* X480-48x.3 # show vlan
-----------------------------------------------------------------------------------------------
Name VID Protocol Addr Flags Proto Ports Virtual
Active router
/Total
-----------------------------------------------------------------------------------------------
Default 1 172.16.103.102 /24 ------------T---------------- ANY 1 /48 VR-Default
Mgmt 4095 ------------------------------------------------- ANY 1 /1 VR-Mgmt
-----------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------
Name VID Protocol Addr Flags Proto Ports Virtual
Active router
/Total
-----------------------------------------------------------------------------------------------
Default 1 172.16.103.103 /24 ------------T---------------- ANY 2 /47 VR-Default
Mgmt 4095 ------------------------------------------------- ANY 1 /1 VR-Mgmt
-----------------------------------------------------------------------------------------------
// 5. Ping テストを実施する //
* X480-48x.4 # ping vr "VR-Default" 172.16.103.103
Ping(ICMP) 172.16.103.103: 4 packets, 8 data bytes, interval 1 second(s).
16 bytes from 172.16.103.103: icmp_seq=0 ttl=64 time=9.400 ms
16 bytes from 172.16.103.103: icmp_seq=1 ttl=64 time=1.054 ms
16 bytes from 172.16.103.103: icmp_seq=2 ttl=64 time=1.016 ms
16 bytes from 172.16.103.103: icmp_seq=3 ttl=64 time=1.063 ms
--- 172.16.103.103 ping statistics ---
4 packets transmitted, 4 packets received, 0% loss
round-trip min/avg/max = 1/3/9 ms
No comments:
Post a Comment