Verificamos cual es la MAC de la interfaz del equipo actual para así colocarla en el equipo nuevo.
Router#show interfaces GigabitEthernet0/0
GigabitEthernet0/0 is administratively down, line protocol is down
Hardware is iGbE, address is 5000.0001.0000 (bia 5000.0001.0000)
MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Auto Duplex, Auto Speed, link type is auto, media type is RJ45
output flow-control is unsupported, input flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts (0 IP multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 0 multicast, 0 pause input
22 packets output, 5670 bytes, 0 underruns
0 output errors, 0 collisions, 1 interface resets
0 unknown protocol drops
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 pause output
0 output buffer failures, 0 output buffers swapped out
Router#
Configuración:
Router#configure terminal
(Entrar en el modo de configuración global)
Router(config)#interface GigabitEthernet0/0
(Entrar en la interfaz que se le cambiara la MAC)
Router(config-if)#mac-address 5003.3001.3001
(Configurar la MAC que se desea colocar)
Comando para verificación
Router#show running-config interface GigabitEthernet0/0
(Muestra la configuración de la interfaz)
Building configuration...
Current configuration : 131 bytes
!
interface GigabitEthernet0/0
mac-address 5003.3001.3001
no ip address
shutdown
duplex auto
speed auto
media-type rj45
end
Router#show interface GigabitEthernet0/0
(Muestra la información de la interfaz)
GigabitEthernet0/0 is administratively down, line protocol is down
Hardware is iGbE, address is 5003.3001.3001 (bia 5000.0001.0000)
MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Auto Duplex, Auto Speed, link type is auto, media type is RJ45
output flow-control is unsupported, input flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input never, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 no buffer
Received 0 broadcasts (0 IP multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 0 multicast, 0 pause input
22 packets output, 5670 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 unknown protocol drops
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 pause output
0 output buffer failures, 0 output buffers swapped out
Como pudieron observar el valor de la dirección MAC cambio pero entre paréntesis sigue apareciendo la MAC 5000.0001.0000 esto es porque es la que se mantienen guardada en la ROM y la que configuramos 5003.3001.3001 se guarda en la RAM.
Si queremos colocar la MAC original solo tenemos que negar el comando.
Router(config-if)#no mac-address 5003.3001.3001
No hay comentarios:
Publicar un comentario