Projet

Général

Profil

NXOS » Historique » Version 17

Laurent GUERBY, 10/03/2018 01:43

1 1 Matthieu Herrb
h1. NXOS
2 1 Matthieu Herrb
3 1 Matthieu Herrb
Cisco Nexus 3064X
4 11 Laurent GUERBY
version 7.0(3)I4(7)
5 11 Laurent GUERBY
6 1 Matthieu Herrb
7 10 Laurent GUERBY
Voir aussi https://www.grenode.net/Documentation_technique/Machines/kraken/
8 10 Laurent GUERBY
9 17 Laurent GUERBY
40G
10 17 Laurent GUERBY
https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus3000/sw/interfaces/6_x/b_Cisco_n3k_Interfaces_Configuration_Guide_602_U11/b_Cisco_n3k_Interfaces_Configuration_Guide_602_U11_chapter_010.html
11 17 Laurent GUERBY
 hardware profile portmode 48x10g+4x40g
12 17 Laurent GUERBY
13 1 Matthieu Herrb
h2. Interface de management out-of-band
14 1 Matthieu Herrb
15 9 Laurent GUERBY
* n3064a Adresse: 192.168.129.46
16 9 Laurent GUERBY
17 9 Laurent GUERBY
<pre>
18 9 Laurent GUERBY
interface mgmt0
19 9 Laurent GUERBY
  vrf member management
20 9 Laurent GUERBY
  ip address 192.168.129.46/24
21 9 Laurent GUERBY
22 9 Laurent GUERBY
</pre>
23 1 Matthieu Herrb
24 1 Matthieu Herrb
h2. Commandes
25 1 Matthieu Herrb
26 1 Matthieu Herrb
h3. Sauvegarde config 
27 1 Matthieu Herrb
28 1 Matthieu Herrb
<pre>
29 1 Matthieu Herrb
nexus# copy run start
30 1 Matthieu Herrb
</pre>
31 1 Matthieu Herrb
32 1 Matthieu Herrb
Copie via scp
33 1 Matthieu Herrb
34 1 Matthieu Herrb
<pre>
35 1 Matthieu Herrb
nexus# copy run scp://matthieu@192.168.129.1/
36 1 Matthieu Herrb
</pre>
37 1 Matthieu Herrb
38 1 Matthieu Herrb
h3. Config interface
39 1 Matthieu Herrb
40 1 Matthieu Herrb
<pre>
41 1 Matthieu Herrb
nexus# conf t
42 1 Matthieu Herrb
nexus(config)# interface ethernet 1/3
43 1 Matthieu Herrb
nexus(config-if)# switchport mode trunk
44 1 Matthieu Herrb
nexus(config-if)# exit
45 1 Matthieu Herrb
nexus(config)# exit
46 1 Matthieu Herrb
nexus#
47 1 Matthieu Herrb
</pre>
48 1 Matthieu Herrb
49 1 Matthieu Herrb
pour un vlan non taggé
50 1 Matthieu Herrb
<pre>
51 1 Matthieu Herrb
nexus(config-if)# switchport access vlan 3131
52 1 Matthieu Herrb
</pre>
53 1 Matthieu Herrb
54 2 Matthieu Herrb
h3. Etat des interfaces
55 3 Matthieu Herrb
56 1 Matthieu Herrb
<pre>
57 1 Matthieu Herrb
nexus# sh int status
58 1 Matthieu Herrb
nexus# sh int transceiver
59 1 Matthieu Herrb
nexus# sh int ethernet 1/1
60 16 Sebastien Badia
# Afficher le DOM d'une optique
61 16 Sebastien Badia
nexus# sh int Eth 1/1 tran de
62 1 Matthieu Herrb
</pre>
63 1 Matthieu Herrb
</pre>
64 2 Matthieu Herrb
65 1 Matthieu Herrb
h3. Boot
66 1 Matthieu Herrb
67 1 Matthieu Herrb
<pre>
68 1 Matthieu Herrb
nexus# conf t
69 1 Matthieu Herrb
nexus(config)# boot nxos bootflash:/nxos.7.0.3.I4.7.bin 
70 1 Matthieu Herrb
nexus(config)# boot order bootflash
71 1 Matthieu Herrb
nexus(config)# exit
72 1 Matthieu Herrb
nexus#
73 4 Matthieu Herrb
</pre>
74 4 Matthieu Herrb
75 15 Sebastien Badia
h3. Features et Misc
76 8 Laurent GUERBY
77 1 Matthieu Herrb
<pre>
78 15 Sebastien Badia
# Pour dire au switch d'accepter n'importe quel type de SFP
79 1 Matthieu Herrb
service unsupported-transceiver
80 15 Sebastien Badia
# Autoriser le switch à avoir une IP sur une interface VLAN
81 15 Sebastien Badia
feature interface-vlan
82 15 Sebastien Badia
# Activer les features LACP
83 15 Sebastien Badia
feature lacp
84 15 Sebastien Badia
# Activer la possiblité de faire du LLDP
85 15 Sebastien Badia
feature lldp
86 15 Sebastien Badia
# Mettre tous les ports en shutdown par défaut (penser à activer le port lors de la configuration avec un 'no shutdown'
87 15 Sebastien Badia
system default switchport shutdown
88 15 Sebastien Badia
</pre>
89 15 Sebastien Badia
90 15 Sebastien Badia
h3. Misc
91 15 Sebastien Badia
92 15 Sebastien Badia
<pre>
93 8 Laurent GUERBY
no password strength-check
94 8 Laurent GUERBY
95 13 Laurent GUERBY
nexus# sh mac address-table 
96 13 Laurent GUERBY
97 13 Laurent GUERBY
nexus# sh environment
98 13 Laurent GUERBY
(...) 
99 13 Laurent GUERBY
Temperature:
100 13 Laurent GUERBY
-------------------------------------------------------------------------
101 13 Laurent GUERBY
Module  Sensor             MajorThresh   MinorThres   CurTemp     Status 
102 13 Laurent GUERBY
                           (Celsius)     (Celsius)   (Celsius)           
103 13 Laurent GUERBY
-------------------------------------------------------------------------
104 13 Laurent GUERBY
1        Back-Right (D0)   70            44            33         Ok             
105 13 Laurent GUERBY
1        Back-Left  (D1)   70            42            29         Ok             
106 13 Laurent GUERBY
1        Front-Right(D2)   70            47            32         Ok             
107 13 Laurent GUERBY
1        Front-Left (D3)   70            49            30         Ok         
108 13 Laurent GUERBY
109 14 Laurent GUERBY
nexus# sh int e1/1 cap
110 14 Laurent GUERBY
nexus# sh int e1/1 tra det
111 14 Laurent GUERBY
112 14 Laurent GUERBY
113 8 Laurent GUERBY
# TODO verifier
114 8 Laurent GUERBY
conf t
115 8 Laurent GUERBY
int eth1/4
116 8 Laurent GUERBY
switchport trunk allowed vlan xxx
117 8 Laurent GUERBY
switchport trunk native vlan nnn
118 8 Laurent GUERBY
</pre>
119 8 Laurent GUERBY
120 4 Matthieu Herrb
h2. Infos
121 4 Matthieu Herrb
122 4 Matthieu Herrb
<pre>
123 4 Matthieu Herrb
nexus# sh version
124 4 Matthieu Herrb
Cisco Nexus Operating System (NX-OS) Software
125 4 Matthieu Herrb
TAC support: http://www.cisco.com/tac
126 4 Matthieu Herrb
Copyright (C) 2002-2017, Cisco and/or its affiliates.
127 4 Matthieu Herrb
All rights reserved.
128 4 Matthieu Herrb
The copyrights to certain works contained in this software are
129 4 Matthieu Herrb
owned by other third parties and used and distributed under their own
130 4 Matthieu Herrb
licenses, such as open source.  This software is provided "as is," and unless
131 4 Matthieu Herrb
otherwise stated, there is no warranty, express or implied, including but not
132 4 Matthieu Herrb
limited to warranties of merchantability and fitness for a particular purpose.
133 4 Matthieu Herrb
Certain components of this software are licensed under
134 4 Matthieu Herrb
the GNU General Public License (GPL) version 2.0 or 
135 4 Matthieu Herrb
GNU General Public License (GPL) version 3.0  or the GNU
136 4 Matthieu Herrb
Lesser General Public License (LGPL) Version 2.1 or 
137 4 Matthieu Herrb
Lesser General Public License (LGPL) Version 2.0. 
138 4 Matthieu Herrb
A copy of each such license is available at
139 4 Matthieu Herrb
http://www.opensource.org/licenses/gpl-2.0.php and
140 4 Matthieu Herrb
http://opensource.org/licenses/gpl-3.0.html and
141 4 Matthieu Herrb
http://www.opensource.org/licenses/lgpl-2.1.php and
142 4 Matthieu Herrb
http://www.gnu.org/licenses/old-licenses/library.txt.
143 4 Matthieu Herrb
144 4 Matthieu Herrb
Software
145 4 Matthieu Herrb
  BIOS: version 4.0.0
146 4 Matthieu Herrb
  NXOS: version 7.0(3)I4(7)
147 4 Matthieu Herrb
  BIOS compile time:  12/05/2016
148 4 Matthieu Herrb
  NXOS image file is: bootflash:///nxos.7.0.3.I4.7.bin
149 4 Matthieu Herrb
  NXOS compile time:  6/28/2017 14:00:00 [06/28/2017 21:53:29]
150 4 Matthieu Herrb
151 4 Matthieu Herrb
152 4 Matthieu Herrb
Hardware
153 4 Matthieu Herrb
  cisco Nexus3000 C3064PQ Chassis 
154 4 Matthieu Herrb
  Intel(R) Celeron(R) CPU        P4505  @ 1.87GHz with 3903284 kB of memory.
155 4 Matthieu Herrb
  Processor Board ID FOC17342TSZ
156 4 Matthieu Herrb
157 4 Matthieu Herrb
  Device name: nexus
158 4 Matthieu Herrb
  bootflash:    1638000 kB
159 4 Matthieu Herrb
  usb1:               0 kB (expansion flash)
160 4 Matthieu Herrb
161 4 Matthieu Herrb
Kernel uptime is 0 day(s), 2 hour(s), 10 minute(s), 12 second(s)
162 4 Matthieu Herrb
163 4 Matthieu Herrb
Last reset at 335975 usecs after  Wed Feb 14 15:25:27 2018
164 4 Matthieu Herrb
165 4 Matthieu Herrb
  Reason: Reset Requested by CLI command reload
166 4 Matthieu Herrb
  System version: 7.0(3)I4(7)
167 4 Matthieu Herrb
  Service: 
168 4 Matthieu Herrb
169 4 Matthieu Herrb
plugin
170 4 Matthieu Herrb
  Core Plugin, Ethernet Plugin
171 4 Matthieu Herrb
172 4 Matthieu Herrb
Active Package(s):
173 5 Matthieu Herrb
174 12 Laurent GUERBY
nexus# sh inventory all
175 5 Matthieu Herrb
NAME: "Chassis",  DESCR: "Nexus3000 C3064PQ Chassis"             
176 5 Matthieu Herrb
PID: N3K-C3064PQ-10GX    ,  VID: V01 ,  SN: FOC1734R15F          
177 5 Matthieu Herrb
178 5 Matthieu Herrb
NAME: "Slot 1",  DESCR: "48x10GE + 4x40G Supervisor"            
179 5 Matthieu Herrb
PID: N3K-C3064PQ-10GX    ,  VID: V01 ,  SN: FOC17342TSZ          
180 5 Matthieu Herrb
181 5 Matthieu Herrb
NAME: "Power Supply 1",  DESCR: "Nexus3000 C3064PQ Chassis Power Supply"
182 5 Matthieu Herrb
PID: N2200-PAC-400W      ,  VID: V04 ,  SN: DTN1733P0VH          
183 5 Matthieu Herrb
184 5 Matthieu Herrb
NAME: "Power Supply 2",  DESCR: "Nexus3000 C3064PQ Chassis Power Supply"
185 5 Matthieu Herrb
PID: N2200-PAC-400W      ,  VID: V04 ,  SN: DTN1733P0UK          
186 5 Matthieu Herrb
187 5 Matthieu Herrb
NAME: "Fan 1",  DESCR: "Nexus3000 C3064PQ Chassis Fan Module"  
188 1 Matthieu Herrb
PID: N3K-C3064-FAN-F     ,  VID: V00 ,  SN: N/A                  
189 12 Laurent GUERBY
190 12 Laurent GUERBY
NAME: Ethernet1/1,  DESCR: FiberStore                              
191 12 Laurent GUERBY
PID: SFP-H10GB-ACU10M    ,  VID: SFP-10G-AOC     ,  SN: F176CO35764-1    
192 5 Matthieu Herrb
193 5 Matthieu Herrb
nexus# sh license 
194 5 Matthieu Herrb
license_FOC1734R15F_12_1.lic:
195 5 Matthieu Herrb
SERVER this_host ANY
196 5 Matthieu Herrb
VENDOR cisco
197 5 Matthieu Herrb
FEATURE LAN_BASE_SERVICES_PKG cisco 1.0 permanent uncounted \
198 5 Matthieu Herrb
        VENDOR_STRING=<LIC_SOURCE>NEXUS_PRODUCTION</LIC_SOURCE><SKU>N3K-BAS1K9</SKU> \
199 5 Matthieu Herrb
        HOSTID=VDH=FOC1734R15F \
200 5 Matthieu Herrb
        NOTICE=<LicFileID>20131030222602000</LicFileID><LicLineID>1</LicLineID><PAK>N3K-C3064PQ-10GXFOC1734R15F</PAK> \
201 5 Matthieu Herrb
        SIGN=BBF8EBE2F7B6
202 5 Matthieu Herrb
FEATURE LAN_ENTERPRISE_SERVICES_PKG cisco 1.0 permanent uncounted \
203 5 Matthieu Herrb
        VENDOR_STRING=<LIC_SOURCE>NEXUS_PRODUCTION</LIC_SOURCE><SKU>N3K-LAN1K9</SKU> \
204 5 Matthieu Herrb
        HOSTID=VDH=FOC1734R15F \
205 5 Matthieu Herrb
        NOTICE=<LicFileID>20131030222602000</LicFileID><LicLineID>2</LicLineID><PAK>N3K-C3064PQ-10GXFOC1734R15F</PAK> \
206 5 Matthieu Herrb
        SIGN=FF75EB18A86E
207 5 Matthieu Herrb
208 4 Matthieu Herrb
</pre>
209 6 Laurent GUERBY
210 7 Laurent GUERBY
h2. Consommation
211 6 Laurent GUERBY
212 6 Laurent GUERBY
77 Watt, cos phi 0.92, pas de pic pendant le boot