VXLANの勉強①

下記を参考にGNS3でVXLANを組めるか確認。

gblogs.cisco.com

 

手元にあるNexus 9000は複数台だと安定しないので、

まずは何も考えず1台でconfigがはじかれないか、確認。

switch(config)# do sh version
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Documents: http://www.cisco.com/en/US/products/ps9372/tsd_products_support_serie
s_home.html
Copyright (c) 2002-2017, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained herein are owned by
other third parties and are used and distributed under license.
Some parts of this software are covered under the GNU Public
License. A copy of the license is available at
http://www.gnu.org/licenses/gpl.html.

Nexus 9000v is a demo version of the Nexus Operating System

Software
BIOS: version
NXOS: version 7.0(3)I7(1)
BIOS compile time:
NXOS image file is: bootflash:///nxos.7.0.3.I7.1.bin
NXOS compile time: 8/31/2017 14:00:00 [08/31/2017 22:29:32]


Hardware
cisco Nexus9000 9000v Chassis
with 4037704 kB of memory.
Processor Board ID 9DCWSR91V6X

Device name: switch
bootflash: 3509454 kB
Kernel uptime is 0 day(s), 1 hour(s), 22 minute(s), 48 second(s)

Last reset
Reason: Unknown
System version:
Service:

plugin
Core Plugin, Ethernet Plugin

Active Package(s):

switch(config)#

手順通りにconfigを入れると、VLAN と VXLAN のマッピングまではできた。 

switch# sh vxlan
Vlan VN-Segment
==== ==========
10 30010
switch# sh
^
% Incomplete command at '^' marker.
switch# sh nve vni
Codes: CP - Control Plane DP - Data Plane
UC - Unconfigured SA - Suppress ARP
SU - Suppress Unknown Unicast

Interface VNI Multicast-group State Mode Type [BD/VRF] Flags
--------- -------- ----------------- ----- ---- ------------------ -----
nve1 30010 UnicastBGP Up CP L2 [10]

 

 EVPN の状況も確認。

switch# sh bgp l2vpn evpn
BGP routing table information for VRF default, address family L2VPN EVPN
BGP table version is 3, Local Router ID is 10.0.10.1
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, *-valid, >-best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-i
njected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 10.0.10.1:32777 (L2VNI 30010)
l[3]:[0]:[32]:[10.0.20.3]/88
10.0.20.3 100 32768 i

 L3 VNIを作ろうとするも、SVIが作成できず断念。

switch(config)# interface vlan1
^
Invalid interface format at '^' marker.
switch(config)# in
install interface
switch(config)# interface ?
ethernet Ethernet IEEE 802.3z
loopback Loopback interface
mgmt Management interface
nve NVE interface
port-channel Port Channel interface

switch(config)# interface

 ※手持ちにNexus-7kでも試したみたが、lacpが動かず断念。