Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco 1841 - Corrupt Cookie

Status
Not open for further replies.

Ciscokiddie

IS-IT--Management
Mar 8, 2013
1
0
0
ZA
Referring to a previous thread on this as seen below. How do I determine the mac address of the first ethernet?

Hi, NO guarantee this will work for you, or on anything other than an 1841.
Starting at byte 0 the first two bytes of your cookies are correct: 04 ff.
The next two bytes and the rest of the row which is all set to ff are wrong and giving you the problem. Everything else is probably ok. I suggest writing down what your first line should look like before entering it......

byte 0 04
byte 1 ff
byte 2 is the mac address type: set it to 03
byte 3 is the mac address length: set it to 06
byte 04 - 09 is the mac address of your first ethernet
byte 0a is the mac address block size type: set to 43
byte 0b - 0c is the mac address block size: set to 00 & 0a
byte 0d is the serial no type: set it to c1
byte 0e is the serial no length: set it to 8b
byte 0f is the first letter of your serial no: set it to 46
in my experience the 4f 43 was always preceded by 46

Hitting the enter key without actually entering a value leaves the previous value intact, which is handy for the other values.
Hope this helps.
 
So you'll have a bunch of rows, 8 rows of 16 bytes to be exact, in hex...

00 00 01 c1 b1 22 33 44 11 a0 b0 c0 d0 e0 ff dd

and on and on...

So in my example with hex bytes I made up, the part in bold would be the mac address...the first two, "00 00", would be the vendor and version, the next two would be mac type and mac length (01 c1), then the next 6 would be the actual MAC address of your first NI, in bold above.

HTH

Tim

ip access-list extended IP-Options-and-Powerball
deny ip any any winning-powerball-ticket
permit ip any any option any-options
!
class-map ACL-Options-and-Powerball
match access-group name IP-Options-and-Powerball
!
policy-map CoPP-POLICY
class ACL-Options-and-Powerball
drop
!
control-plane
service-policy input CoPP-POLICY
 
Sorry, actually in a SoHo router it may be 8 rows of 16 bytes, but in an 1841, many more...

Also, in a SoHo, the first two bytes mean something else, and bytes 2-7 would be the MAC...two extra byte fields exist before the MAC address itself in an 1841, in other words, as compared to those that exist in a S0H0 (800 series).

ip access-list extended IP-Options-and-Powerball
deny ip any any winning-powerball-ticket
permit ip any any option any-options
!
class-map ACL-Options-and-Powerball
match access-group name IP-Options-and-Powerball
!
policy-map CoPP-POLICY
class ACL-Options-and-Powerball
drop
!
control-plane
service-policy input CoPP-POLICY
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top