Projet

Général

Profil

NXOS » Historique » Version 13

Laurent GUERBY, 15/02/2018 17:19

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