cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
20152
Views
5
Helpful
7
Replies

Changing MAC address on a physical interace

loiccruchade
Level 1
Level 1

Hello everyone,

 

I need to change the MAC address on a physical interface of my switch.

The command is not aviable in the interface configuration mode.

 

The switch is model is : 

Switch Ports Model SW Version SW Image Mode
------ ----- ----- ---------- ---------- ----
* 1 28 WS-C3650-24TS 03.03.04SE cat3k_caa-universalk9 INSTALL

 

Is it because this modèle does not support this feature ?

 

Thanks for the help

7 Replies 7

Hello

you can configure a static MAC address mapping to the interface 

 

macaddress static xxxx xxxx interface xxx

 

res

paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Hi Paul,

Thanks for your help.


Correct me if i'm wrong, but this command is for creating a static entry in the mac address table.

So it says "to join this mac address, go through this interface" right ?

 

I need the switch to use a specific mac address on this interface because our ISP use mac filtering.

Every traffic not in the specific mac address range is dropped.

Hello
Apologies mis-understood the question

Okay I am assuming this port is a Switchport not a routed port?

What switch type is it?

Res
Paul

Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

I t's a WS-C3650-24TS :

 

Switch Ports Model SW Version SW Image Mode
------ ----- ----- ---------- ---------- ----
* 1 28 WS-C3650-24TS 03.03.04SE cat3k_caa-universalk9 INSTALL

As far as I understand, it's a switchport.

I can't create sub-interface.

I'm trying to do something similar, did you ever get an answer to your question?

Thanks,
Matt

I am using a virtual switch, but you can add the mac address directly to the interface:

Daniel4540_0-1672253231578.png

Daniel4540_1-1672253244309.png

And here is the output from it's neighbor 

Daniel4540_2-1672253320576.png

Hope that helps!!

Review Cisco Networking for a $25 gift card