• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1971
  • Last Modified:

Changing the mac address on a cisco switch

Howdy,
  This question kinda has 2 questions in one. I have a cisco c3750 switch. I'm trying to figure out how to change the MAC address designated for that port. Does anyone know how?

And my second question is...
  When it comes to VLANs and MAC addresses...  Does each vlan on a switch have a unique MAC address per vlan or is it shared to the base mac address of the switch? Is it possible to change that mac address as well(the vlan mac address)?
0
Paktusjet
Asked:
Paktusjet
1 Solution
 
Don JohnstonInstructorCommented:
>I'm trying to figure out how to change the MAC address designated for that port.

From global config:
mac-address-table static 0000.0c12.3456 vlan 20 interface f01

will create an entry for interface f0/1 in vlan 20 for MAC 0000.0c12.3456

>Does each vlan on a switch have a unique MAC address per vlan or is it shared to the base mac address of the switch?

If you mean "vlan interface", then yes. On most Cisco platforms, each VLAN interface has a unique MAC address that is allocated from a pool of addresses on the switch.

>Is it possible to change that mac address as well(the vlan mac address)?

Yes. From (VLAN) interface config mode:
mac-address 0000.0c12.3456


 

0
 
PugglewuggleCommented:
That's all correct!
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now