Re: [c-nsp] N9K ASIC port grouping

2018-06-26 Thread Tim Stevenson (tstevens) via cisco-nsp
--- Begin Message ---
Yes, 9236C is 6 slices, 6 x 100G each. I guess I should have been nice and 
dumped a few other common platforms from the lab - see below. 

Tim

**
93180YC-FX (1 slice, 18 x 100G): 

tstevens-93180yc-fx-3# sh int hard
Legends:
   SMod  - Source Mod. 0 is N/A
   Unit  - Unit on which port resides. N/A for port channels
   HPort - Hardware Port Number or Hardware Trunk Id:
   HName - Hardware port name. None means N/A
   FPort - Fabric facing port number. 255 means N/A
   NPort - Front panel port number
   VPort - Virtual Port Number. -1 means N/A
   Slice - Slice Number. N/A for BCM systems
   SPort - Port Number wrt Slice. N/A for BCM systems
   SrcId - Source Id Number. N/A for BCM systems
   MacIdx - Mac index. N/A for BCM systems
   MacSubPort - Mac sub port. N/A for BCM systems


Name   Ifindex  Smod Unit HPort FPort NPort VPort Slice SPort SrcId MacId 
MacSP

Eth1/1 1a00 1016255   0 -10 16324 0
Eth1/2 1a000200 1017255   4 -10 17344 2
Eth1/3 1a000400 1018255   8 -10 18364 4
Eth1/4 1a000600 1019255   12-10 19384 6
Eth1/5 1a000800 1012255   16-10 12243 0
Eth1/6 1a000a00 1013255   20-10 13263 2
Eth1/7 1a000c00 1014255   24-10 14283 4
Eth1/8 1a000e00 1015255   28-10 15303 6
Eth1/9 1a001000 108 255   32-10 8 162 0
Eth1/101a001200 109 255   36-10 9 182 2
Eth1/111a001400 1010255   40-10 10202 4
Eth1/121a001600 1011255   44-10 11222 6
Eth1/131a001800 104 255   48-10 4 8 1 0
Eth1/141a001a00 105 255   52-10 5 101 2
Eth1/151a001c00 106 255   56-10 6 121 4
Eth1/161a001e00 107 255   60-10 7 141 6
Eth1/171a002000 100 255   64-10 0 0 0 0
Eth1/181a002200 101 255   68-10 1 2 0 2
Eth1/191a002400 102 255   72-10 2 4 0 4
Eth1/201a002600 103 255   76-10 3 6 0 6
Eth1/211a002800 1056255   80-10 56112   140
Eth1/221a002a00 1057255   84-10 57114   142
Eth1/231a002c00 1058255   88-10 58116   144
Eth1/241a002e00 1059255   92-10 59118   146
Eth1/251a003000 1052255   96-10 52104   130
Eth1/261a003200 1053255   100   -10 53106   132
Eth1/271a003400 1054255   104   -10 54108   134
Eth1/281a003600 1055255   108   -10 55110   136
Eth1/291a003800 1048255   112   -10 4896120
Eth1/301a003a00 1049255   116   -10 4998122
Eth1/311a003c00 1050255   120   -10 50100   124
Eth1/321a003e00 1051255   124   -10 51102   126
Eth1/331a004000 1044255   128   -10 4488110
Eth1/341a004200 1045255   132   -10 4590112
Eth1/351a004400 1046255   136   -10 4692114
Eth1/361a004600 1047255   140   -10 4794116
Eth1/371a004800 1040255   144   -10 4080100
Eth1/381a004a00 1041255   148   -10 4182102
Eth1/391a004c00 1042255   152   -10 4284104
Eth1/401a004e00 1043255   156   -10 4386106
Eth1/411a005000 1036255   160   -10 36729 0
Eth1/421a005200 1037255   164   -10 37749 2
Eth1/431a005400 1038255   168   -10 38769 4
Eth1/441a005600 1039255   172   -10 39789 6
Eth1/451a005800 1068255   176   -10 68136   170
Eth1/461a005a00 1069255   180   -10 69138   172
Eth1/471a005c00 1070255   184   -10 70140   174
Eth1/481a005e00 1071255   188   -10 71142   176
Eth1/491a006000 1   

Re: [c-nsp] N9K ASIC port grouping

2018-06-26 Thread Pedro Caetano
Hi nsp,

N9K-C9236C:
# sh interface hardware-mappings
Legends:
   SMod  - Source Mod. 0 is N/A
   Unit  - Unit on which port resides. N/A for port channels
   HPort - Hardware Port Number or Hardware Trunk Id:
   HName - Hardware port name. None means N/A
   FPort - Fabric facing port number. 255 means N/A
   NPort - Front panel port number
   VPort - Virtual Port Number. -1 means N/A
   Slice - Slice Number. N/A for BCM systems
   SPort - Port Number wrt Slice. N/A for BCM systems
   SrcId - Source Id Number. N/A for BCM systems


Name   Ifindex  Smod Unit HPort FPort NPort VPort Slice SPort SrcId

Eth1/1 1a00 1016255   0 -10 1632
Eth1/2 1a000200 1012255   4 -10 1224
Eth1/3 1a000400 1020255   8 -10 2040
Eth1/4 1a000600 108 255   12-10 8 16
Eth1/5 1a000800 100 255   16-10 0 0
Eth1/6 1a000a00 104 255   20-10 4 8
Eth1/7 1a000c00 10136   255   24-14 1632
Eth1/8 1a000e00 10140   255   28-14 2040
Eth1/9 1a001000 10128   255   32-14 8 16
Eth1/101a001200 10132   255   36-14 1224
Eth1/111a001400 10120   255   40-14 0 0
Eth1/121a001600 10124   255   44-14 4 8
Eth1/131a001800 1046255   48-11 1632
Eth1/141a001a00 1050255   52-11 2040
Eth1/151a001c00 1038255   56-11 8 16
Eth1/161a001e00 1042255   60-11 1224
Eth1/171a002000 1030255   64-11 0 0
Eth1/181a002200 1034255   68-11 4 8
Eth1/191a002400 1064255   72-12 4 8
Eth1/201a002600 1060255   76-12 0 0
Eth1/211a002800 1072255   80-12 1224
Eth1/221a002a00 1068255   84-12 8 16
Eth1/231a002c00 1080255   88-12 2040
Eth1/241a002e00 1076255   92-12 1632
Eth1/251a003000 10154   255   96-15 4 8
Eth1/261a003200 10150   255   100   -15 0 0
Eth1/271a003400 10162   255   104   -15 1224
Eth1/281a003600 10158   255   108   -15 8 16
Eth1/291a003800 10170   255   112   -15 2040
Eth1/301a003a00 10166   255   116   -15 1632
Eth1/311a003c00 1094255   120   -13 4 8
Eth1/321a003e00 1090255   124   -13 0 0
Eth1/331a004000 10110   255   128   -13 2040
Eth1/341a004200 1098255   132   -13 8 16
Eth1/351a004400 10102   255   136   -13 1224
Eth1/361a004600 10106   255   140   -13 1632

BR,
Pedro Caetano

On Mon, Jun 25, 2018 at 2:00 PM, Tim Stevenson (tstevens) via cisco-nsp <
cisco-nsp@puck.nether.net> wrote:

> ___
> cisco-nsp mailing list  cisco-nsp@puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>
>
> -- Forwarded message --
> From: "Tim Stevenson (tstevens)" 
> To: Youssef Bengelloun-Zahr , Cisco Network Service
> Providers 
> Cc:
> Bcc:
> Date: Mon, 25 Jun 2018 18:00:40 +
> Subject: RE: [c-nsp] N9K ASIC port grouping
> Not aware of a single document that will show that for all platforms. Best
> way is "show interface hardware-mappings". "Unit" and "Slice" are the main
> points of reference (unit == ASIC instance, slice == pipeline).
>
> E.g., 93180yc-ex:
> leaf1# sh int hard
> Legends:
>SMod  - Source Mod. 0 is N/A
>Unit  - Unit on which port resides. N/A for port channels
>HPort - Hardware Port Number or Hardware Trunk Id:
>HName - Hardware port name. None means N/A
>FPort - Fabric facing port number. 255 means N/A
>NPort - Front panel port number
>VPort - Virtual Port Number. -1 means N/A
>Slice - Slice Number. N/A for BCM systems
>SPort - Port Number wrt Slice. N/A for BCM systems
>SrcId - Source Id Number. N/A for BCM systems
>MacIdx - Mac index. N/A for BCM systems
>MacSubPort - Mac sub port. N/A for BCM systems
>
> 
> 
> Name   Ifindex  Smod Unit HPort FPort NPort VPort Slice SPort SrcId
> MacId MacSP
> -

[c-nsp] Ucode Upgrade 3750x

2018-06-26 Thread Harry Hambi - Atos

Hi all,
Trying in the lab to minimise the down time when upgrading the switch IOS on a 
3750x stack which has a microcode upgrade.
The commands I ‘me using are:

archive download-sw / force-ucode-reload tftp:/x.x.x.x/y.tar.

all seems to start off well ,I get the following:
A UCODE upgrade with forced reload results in a shorter reload time and downtime
for the switch or stack if the switch requires new UCODE with the new software.
If no UCODE upgrade is required after the software download, then the reload
proceeds as normal.

After a successful software download and upgrade, and if the UCODE upgrade is
necessary, the reload may be delayed by up to 20 minutes (though typically
less) in order to complete the UCODE upgrade. During this time, on the
supported switches, no new powered devices will be granted power, no new
power supplies will be recognized, and stack-power topology changes will not
be indicated on the console. All other switch functionality is unaffected.

Do you wish to continue? (yes/[no]): yes


Loading c3750e-universalk9-tar.152-4.E6.tar from 192.168.0.2 (via Vlan11): 
!.!.!!!.!!!.!!.!!!.!
[OK - 31068160 bytes]

Loading c3750e-universalk9-tar.152-4.E6.tar from 192.168.0.2 (via Vlan11): 
!..!!!..
examining image...
extracting info (108 bytes)
extracting c3750e-universalk9-mz.152-4.E6/info (537 bytes)
extracting info (108 bytes)

Stacking Version Number: 1.59

System Type: 0x0002
  Ios Image File Size:   0x018B7A00
  Total Image File Size: 0x01DA1200
  Minimum Dram required: 0x0800
  Image Suffix:  universalk9-152-4.E6
  Image Directory:   c3750e-universalk9-mz.152-4.E6
  Image Name:c3750e-universalk9-mz.152-4.E6.bin
  Image Feature: IP|LAYER_3|PLUS|SSH|3DES|MIN_DRAM_MEG=128
  FRU Module Version:03.08.06.WAL


Then all stops with the following errors:


Error: The requested upgrade will cause an incompatibility since the
Error: FRU Module version numbers in the tar files are not compatible.
Error: If only one tar file was specified, the version number is not
Error: compatible with the existing image.
Error: If this is really what you want to do, you have to specify the
Error: `/no-version-check' option to override this compatibility
Error: check.

Could not find UCODE image on switch 80145688. UCODE upgrade may occur after 
reload.
No UCODE upgrade.

Ucode does occur when I reload but I get 15min outage. Maybe I’me looking at 
the wrong documents….not much online of any help that I  can see.

Any advice appreciated.



Rgds
Harry

Harry Hambi BEng(Hons)  MIET  Rsgb






http://www.bbc.co.uk
This e-mail (and any attachments) is confidential and may contain personal 
views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on 
it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.

-
___
cisco-nsp mailing list  cisco-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/