Projet

Général

Profil

NXOS » Historique » Version 8

Laurent GUERBY, 15/02/2018 17:01

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