GNS3でFabric Pathを設定してみた

1. 検証項目

Fabric Pathを設定してR1~R2間でPing疎通させる。 

 

2. 物理構成

f:id:mm2911:20180204193702p:plain

 

 

S1: Cisco NX-OSv 7.3.0

S2: Cisco NX-OSv 7.3.0

L1: Cisco NX-OSv 7.3.0

L2: Cisco NX-OSv 7.3.0

L3: Cisco NX-OSv 7.3.0

R1: c7200

R2: c7200

 

3.論理構成

f:id:mm2911:20180204211743p:plain

 

4. 参考サイト

Fabricpath and VIRL - YouTube

VIRLでFabricpathを検証 - Qiita

 

 

5. 検証結果

Fabric Pathを設定してR1~R2間でPing疎通を確認。

R1#ping 192.168.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
R1#ping 192.168.1.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 24/31/36 ms

R2#ping 192.168.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/39/56 ms
R2#ping 192.168.1.2

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

 

6. 検証メモ

・NX-OSを搭載したノードはGNS3上で電源オンにしてからConfigを受け付けてくれるまで4分程度必要。5台を一斉に電源オンにすると立ち上げ中にスタックする。2台ずつ電源を入れていく必要あり。

・しばらく操作しないでいると、NX-OSを搭載したノードが固まってしまう。OSがWindowsだと不安定?

・もともとはVIRLでFabricpathを検証 - Qiitaで行われているように、VLAN InterfaceにIPアドレスを付与してVLAN間ルーティングの検証も実施したかったが、GNS3のNX-OSv 7.3.0ではVLAN InterfaceにIPアドレスを振ることができず断念。。。

 

7. 各設備のConfiguration 

S1のConfig(関係ないInterfaceは省略)

S1# sh run

!Command: show running-config
!Time: Sun Feb 4 11:35:40 2018

version 7.3(0)D1(1)
power redundancy-mode redundant
license grace-period

hostname S1
install feature-set fabricpath
vdc S1 id 1
limit-resource module-type m1 m1xl m2xl f2e
allow feature-set fabricpath
allocate interface Ethernet2/1-48
allocate interface Ethernet3/1-48
allocate interface Ethernet4/1-48
limit-resource vlan minimum 16 maximum 4094
limit-resource vrf minimum 2 maximum 4096
limit-resource port-channel minimum 0 maximum 768
limit-resource u4route-mem minimum 96 maximum 96
limit-resource u6route-mem minimum 24 maximum 24
limit-resource m4route-mem minimum 58 maximum 58
limit-resource m6route-mem minimum 8 maximum 8
feature-set fabricpath

username admin password 5 $5$Otc7T0NC$K.ulnSZnSyXLrTGNBdtLgZJXEa8EeNx.BrdZ98XyK2
C role network-admin
no password strength-check
ip domain-lookup
vlan dot1Q tag native
system default switchport
system jumbomtu 0
no logging event trunk-status enable
copp profile strict
snmp-server user admin auth md5 0x328945d53e05e8e7207f8c20b142f0b7 priv 0x328945
d53e05e8e7207f8c20b142f0b7 localizedkey engineID 128:0:0:9:3:0:0:0:0:0:0
rmon event 1 log description FATAL(1) owner PMON@FATAL
rmon event 2 log description CRITICAL(2) owner PMON@CRITICAL
rmon event 3 log description ERROR(3) owner PMON@ERROR
rmon event 4 log description WARNING(4) owner PMON@WARNING
rmon event 5 log description INFORMATION(5) owner PMON@INFO
snmp-server enable traps link

vlan 1,55
vlan 55
mode fabricpath

vrf context management

interface mgmt0
vrf member management

interface Ethernet2/1
switchport
switchport mode fabricpath
no shutdown

interface Ethernet2/2
switchport
switchport mode fabricpath
no shutdown

interface Ethernet2/3
switchport
switchport mode fabricpath
no shutdown


line console
line vty
boot kickstart bootflash:/titanium-d1-kickstart.7.3.0.D1.1.bin
boot system bootflash:/titanium-d1.7.3.0.D1.1.bin
fabricpath domain default
no system default switchport shutdown

 

S2のConfig(関係ないInterfaceは省略)

S2# sh run

!Command: show running-config
!Time: Sun Feb 4 12:47:15 2018

version 7.3(0)D1(1)
power redundancy-mode redundant
license grace-period

hostname S2
install feature-set fabricpath
vdc S2 id 1
limit-resource module-type m1 m1xl m2xl f2e
allow feature-set fabricpath
allocate interface Ethernet2/1-48
allocate interface Ethernet3/1-48
allocate interface Ethernet4/1-48
limit-resource vlan minimum 16 maximum 4094
limit-resource vrf minimum 2 maximum 4096
limit-resource port-channel minimum 0 maximum 768
limit-resource u4route-mem minimum 96 maximum 96
limit-resource u6route-mem minimum 24 maximum 24
limit-resource m4route-mem minimum 58 maximum 58
limit-resource m6route-mem minimum 8 maximum 8
feature-set fabricpath

username admin password 5 $5$Otc7T0NC$K.ulnSZnSyXLrTGNBdtLgZJXEa8EeNx.BrdZ98XyK2
C role network-admin
no password strength-check
ip domain-lookup
vlan dot1Q tag native
system default switchport
system jumbomtu 0
no logging event trunk-status enable
copp profile strict
snmp-server user admin auth md5 0x328945d53e05e8e7207f8c20b142f0b7 priv 0x328945
d53e05e8e7207f8c20b142f0b7 localizedkey engineID 128:0:0:9:3:0:0:0:0:0:0
rmon event 1 log description FATAL(1) owner PMON@FATAL
rmon event 2 log description CRITICAL(2) owner PMON@CRITICAL
rmon event 3 log description ERROR(3) owner PMON@ERROR
rmon event 4 log description WARNING(4) owner PMON@WARNING
rmon event 5 log description INFORMATION(5) owner PMON@INFO
snmp-server enable traps link

vlan 1,55
vlan 55
mode fabricpath

vrf context management

interface mgmt0
vrf member management

interface Ethernet2/1
switchport
switchport mode fabricpath
no shutdown

interface Ethernet2/2
switchport
switchport mode fabricpath
no shutdown

interface Ethernet2/3
switchport
switchport mode fabricpath
no shutdown

line console
line vty
boot kickstart bootflash:/titanium-d1-kickstart.7.3.0.D1.1.bin
boot system bootflash:/titanium-d1.7.3.0.D1.1.bin
fabricpath domain default
no system default switchport shutdown

 

L1のConfig(関係ないInterfaceは省略)

L1# sh run

!Command: show running-config
!Time: Sun Feb 4 12:56:31 2018

version 7.3(0)D1(1)
power redundancy-mode redundant
license grace-period

hostname L1
install feature-set fabricpath
vdc L1 id 1
limit-resource module-type m1 m1xl m2xl f2e
allow feature-set fabricpath
allocate interface Ethernet2/1-48
allocate interface Ethernet3/1-48
allocate interface Ethernet4/1-48
limit-resource vlan minimum 16 maximum 4094
limit-resource vrf minimum 2 maximum 4096
limit-resource port-channel minimum 0 maximum 768
limit-resource u4route-mem minimum 96 maximum 96
limit-resource u6route-mem minimum 24 maximum 24
limit-resource m4route-mem minimum 58 maximum 58
limit-resource m6route-mem minimum 8 maximum 8
feature-set fabricpath

username admin password 5 $5$Otc7T0NC$K.ulnSZnSyXLrTGNBdtLgZJXEa8EeNx.BrdZ98XyK2
C role network-admin
no password strength-check
ip domain-lookup
vlan dot1Q tag native
system default switchport
system jumbomtu 0
no logging event trunk-status enable
copp profile strict
snmp-server user admin auth md5 0x328945d53e05e8e7207f8c20b142f0b7 priv 0x328945
d53e05e8e7207f8c20b142f0b7 localizedkey engineID 128:0:0:9:3:0:0:0:0:0:0
rmon event 1 log description FATAL(1) owner PMON@FATAL
rmon event 2 log description CRITICAL(2) owner PMON@CRITICAL
rmon event 3 log description ERROR(3) owner PMON@ERROR
rmon event 4 log description WARNING(4) owner PMON@WARNING
rmon event 5 log description INFORMATION(5) owner PMON@INFO
snmp-server enable traps link

vlan 1,55
vlan 55
mode fabricpath

vrf context management

interface mgmt0
vrf member management

interface Ethernet2/1
switchport
switchport mode fabricpath
no shutdown

interface Ethernet2/2
switchport
switchport mode fabricpath
no shutdown

interface Ethernet2/3
switchport
switchport access vlan 55
no shutdown

line console
line vty
boot kickstart bootflash:/titanium-d1-kickstart.7.3.0.D1.1.bin
boot system bootflash:/titanium-d1.7.3.0.D1.1.bin
fabricpath domain default
no system default switchport shutdown

 

L2のConfig(関係ないInterfaceは省略)

L2# sh run

!Command: show running-config
!Time: Sun Feb 4 12:59:17 2018

version 7.3(0)D1(1)
power redundancy-mode redundant
license grace-period

hostname L2
install feature-set fabricpath
vdc L2 id 1
limit-resource module-type m1 m1xl m2xl f2e
allow feature-set fabricpath
allocate interface Ethernet2/1-48
allocate interface Ethernet3/1-48
allocate interface Ethernet4/1-48
limit-resource vlan minimum 16 maximum 4094
limit-resource vrf minimum 2 maximum 4096
limit-resource port-channel minimum 0 maximum 768
limit-resource u4route-mem minimum 96 maximum 96
limit-resource u6route-mem minimum 24 maximum 24
limit-resource m4route-mem minimum 58 maximum 58
limit-resource m6route-mem minimum 8 maximum 8
feature-set fabricpath

username admin password 5 $5$Otc7T0NC$K.ulnSZnSyXLrTGNBdtLgZJXEa8EeNx.BrdZ98XyK2
C role network-admin
no password strength-check
ip domain-lookup
vlan dot1Q tag native
system default switchport
system jumbomtu 0
no logging event trunk-status enable
copp profile strict
snmp-server user admin auth md5 0x328945d53e05e8e7207f8c20b142f0b7 priv 0x328945
d53e05e8e7207f8c20b142f0b7 localizedkey engineID 128:0:0:9:3:0:0:0:0:0:0
rmon event 1 log description FATAL(1) owner PMON@FATAL
rmon event 2 log description CRITICAL(2) owner PMON@CRITICAL
rmon event 3 log description ERROR(3) owner PMON@ERROR
rmon event 4 log description WARNING(4) owner PMON@WARNING
rmon event 5 log description INFORMATION(5) owner PMON@INFO
snmp-server enable traps link

vlan 1,55
vlan 55
mode fabricpath

vrf context management

interface mgmt0
vrf member management

interface Ethernet2/1
switchport
switchport mode fabricpath
no shutdown

interface Ethernet2/2
switchport
switchport mode fabricpath
no shutdown

interface Ethernet2/3
shutdown
no switchport

line console
line vty
boot kickstart bootflash:/titanium-d1-kickstart.7.3.0.D1.1.bin
boot system bootflash:/titanium-d1.7.3.0.D1.1.bin
fabricpath domain default
no system default switchport shutdown

 

L3のConfig(関係ないInterfaceは省略)

L3# sh run

!Command: show running-config
!Time: Sun Feb 4 13:00:45 2018

version 7.3(0)D1(1)
power redundancy-mode redundant
license grace-period

hostname L3
install feature-set fabricpath
vdc L3 id 1
limit-resource module-type m1 m1xl m2xl f2e
allow feature-set fabricpath
allocate interface Ethernet2/1-48
allocate interface Ethernet3/1-48
allocate interface Ethernet4/1-48
limit-resource vlan minimum 16 maximum 4094
limit-resource vrf minimum 2 maximum 4096
limit-resource port-channel minimum 0 maximum 768
limit-resource u4route-mem minimum 96 maximum 96
limit-resource u6route-mem minimum 24 maximum 24
limit-resource m4route-mem minimum 58 maximum 58
limit-resource m6route-mem minimum 8 maximum 8
feature-set fabricpath

username admin password 5 $5$Otc7T0NC$K.ulnSZnSyXLrTGNBdtLgZJXEa8EeNx.BrdZ98XyK2
C role network-admin
no password strength-check
ip domain-lookup
vlan dot1Q tag native
system default switchport
system jumbomtu 0
no logging event trunk-status enable
copp profile strict
snmp-server user admin auth md5 0x328945d53e05e8e7207f8c20b142f0b7 priv 0x328945
d53e05e8e7207f8c20b142f0b7 localizedkey engineID 128:0:0:9:3:0:0:0:0:0:0
rmon event 1 log description FATAL(1) owner PMON@FATAL
rmon event 2 log description CRITICAL(2) owner PMON@CRITICAL
rmon event 3 log description ERROR(3) owner PMON@ERROR
rmon event 4 log description WARNING(4) owner PMON@WARNING
rmon event 5 log description INFORMATION(5) owner PMON@INFO
snmp-server enable traps link

vlan 1,55
vlan 55
mode fabricpath

vrf context management

interface mgmt0
vrf member management

interface Ethernet2/1
switchport
switchport mode fabricpath
no shutdown

interface Ethernet2/2
switchport
switchport mode fabricpath
no shutdown

interface Ethernet2/3
switchport
switchport access vlan 55
no shutdown


line console
line vty
boot kickstart bootflash:/titanium-d1-kickstart.7.3.0.D1.1.bin
boot system bootflash:/titanium-d1.7.3.0.D1.1.bin
fabricpath domain default
no system default switchport shutdown

 

 

R1のConfig(関係ないInterfaceは省略)

 

R1#sh run
Building configuration...

Current configuration : 1241 bytes
!
version 12.0
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
!
ip subnet-zero
no ip icmp rate-limit unreachable
ip cef
!
!
ip tcp synwait-time 5
no ip domain-lookup
ip ssh time-out 120
ip ssh authentication-retries 3
no mpls traffic-eng auto-bw timers frequency 0
!
!
!
!
interface FastEthernet0/0
no ip address
no ip directed-broadcast
shutdown
!
interface GigabitEthernet1/0
ip address 192.168.1.1 255.255.255.0
no ip directed-broadcast
negotiation auto
!
interface GigabitEthernet2/0
no ip address
no ip directed-broadcast
shutdown
negotiation auto
!
interface FastEthernet3/0
no ip address
no ip directed-broadcast
shutdown
speed 100
half-duplex
!
interface FastEthernet3/1
no ip address
no ip directed-broadcast
shutdown
speed 100
half-duplex
!
interface FastEthernet4/0
no ip address
no ip directed-broadcast
shutdown
speed 100
half-duplex
!
interface FastEthernet4/1
no ip address
no ip directed-broadcast
shutdown
speed 100
half-duplex
!
ip classless
!
!
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
line vty 0 4
login
!
end

 

R2のConfig(関係ないInterfaceは省略)

R2#sh run
Building configuration...

Current configuration : 1241 bytes
!
version 12.0
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
!
ip subnet-zero
no ip icmp rate-limit unreachable
ip cef
!
!
ip tcp synwait-time 5
no ip domain-lookup
ip ssh time-out 120
ip ssh authentication-retries 3
no mpls traffic-eng auto-bw timers frequency 0
!
!
!
!
interface FastEthernet0/0
no ip address
no ip directed-broadcast
shutdown
!
interface GigabitEthernet1/0
ip address 192.168.1.2 255.255.255.0
no ip directed-broadcast
negotiation auto
!
interface GigabitEthernet2/0
no ip address
no ip directed-broadcast
shutdown
negotiation auto
!
interface FastEthernet3/0
no ip address
no ip directed-broadcast
shutdown
speed 100
half-duplex
!
interface FastEthernet3/1
no ip address
no ip directed-broadcast
shutdown
speed 100
half-duplex
!
interface FastEthernet4/0
no ip address
no ip directed-broadcast
shutdown
speed 100
half-duplex
!
interface FastEthernet4/1
no ip address
no ip directed-broadcast
shutdown
speed 100
half-duplex
!
ip classless
!
!
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
line vty 0 4
login
!
end