From: simon hart (simon@harttel.com)
Date: Tue Sep 27 2005 - 09:32:00 GMT-3
Like it!! Excellent for verification
Simon
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
Bhuiyan Muhaimeen
Sent: 27 September 2005 10:06
To: ccielab@groupstudy.com
Subject: IOS canonical to canonical MAC conversion.
Hi Team,
Just wanted to share something that I came upondont know if every body
is aware of thisbut looks like IOS has a built in bit swapping tool for
converting canonical to non-canonical..
Heres how it goessay for a dlsw icanreach address you need to find the
non-canonical of the following two MAC addresses:
4000.4000.4000
And
4000.4000.4001
Instead of the tedious bit swapping and binaries, let the router do
it..heres how:
1. turn on dlsw transparent switch support globally(you need to do this
before bridge group stuff as they are not compatible with each other)
R7(config)#dlsw transparent switch-support
2. Enable a multicast MAC under the Ethernet
R7(config)#int e0/0
R7(config-if)#dlsw transparent redundancy-enable 0100.5e12.2342
<<<Multicast MAC (use whatever you like)
3. Under the transparent MAP config, use the MAC address you want to
convert:
R7(config-if)#dlsw transparent map local-mac 4000.4000.4000 remote-mac
4000.4000.4001
R7(config-if)#end
4. Do a 'show dlsw transparent map', you get the non-canonical MAC:
R7#sh dlsw transparent map
Interface Et0/0
LOCAL Mac REMOTE MAC BACKUP
--------- ---------- ------
0200.0200.0200 0200.0200.0280 STATIC
5.Turn off the transparent switch support globally and then on the
interface (you need to do that to configure the bridge group stuff)
R7#ct
Enter configuration commands, one per line. End with CNTL/Z.
R7(config)#no dlsw transparent switch-support
R7(config)#end
R7#sh run int e0/0
Building configuration...
Current configuration : 152 bytes
!
interface Ethernet0/0
ip address 138.10.70.7 255.255.255.0
dlsw transparent redundancy-enable 0100.5e12.2342
end
R7#ct
Enter configuration commands, one per line. End with CNTL/Z.
R7(config)#int e0/0
R7(config-if)#no dlsw transparent redundancy-enable 0100.5e12.2342
R7(config-if)#exit
HTH,
-Bhuiyan
This archive was generated by hypermail 2.1.4 : Sun Oct 02 2005 - 14:40:16 GMT-3