cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2574
Views
0
Helpful
3
Replies

Change mac address on SVI on Nexus 5600

evanweston
Level 1
Level 1

Hi all,

 

I have a design where I need to change the mac address on an SVI interface on a Nexus 5600 switch. As you can see below, it is possible on the Nexus 9K but not the 5K. Anyone know why and if there is another way to do it?

 

 

!!! Nexus 9k Switch - code 7.0(3)I4(1)

Nexus9k(config)# feature interface-vlan
Nexus9k(config)# int vlan 1
Nexus9k(config-if)# mac-address ?
  E.E.E              MAC address (Option 1)
  EE-EE-EE-EE-EE-EE  MAC address (Option 2)
  EE:EE:EE:EE:EE:EE  MAC address (Option 3)
  EEEE.EEEE.EEEE     MAC address (Option 4)

!!! Nexus 5600 Switch - code 7.1(4)N1(1)

Nexus5k(config)# int vlan 1
Nexus5k(config-if)# ?
  bandwidth       Set bandwidth informational parameter
  carrier-delay   Specify delay for interface transitions
  default         Undo a command
  delay           Specify interface throughput delay
  description     Interface specific description
  hsrp            HSRP interface configuration commands
  inherit         Inherit a port-profile
  ip              Configure IP features
  ipv6            Configure IPv6 features
  management      Allow in-band management access to VLAN Interface IP address
  mtu             Set the interface Maximum Transmission Unit (MTU)
  no              Negate a command or set its defaults
  rate-limit      Set packet per second rate limit
  shutdown        Enable/disable an interface
  site-of-origin  Site of Origin
  snmp            Modify SNMP interface parameters
  vrf             Configure VRF parameters
  end             Go to exec mode
  exit            Exit from command interpreter
  pop             Pop mode from stack or restore from name
  push            Push current mode to stack or save it under name
  where           Shows the cli context you are in

3 Replies 3

Hi  @evanweston

Did you run the command creature-interface vlan on 5k to see if this option also appear?

But anyway you can use mac-address-table static mac_address vlan vlan-id 

 

-If I helped you somehow, please, rate it as useful.-

Hi Flavio,

 

Yes, I have the feature for SVI interfaces turned on. You can't even type "interface vlan X" without that.

 

The command you suggest makes a static binding for that VLAN but I can't see how you can change the mac address for the SVI with that.

 

This is the MAC address I want to change:

 

NX5K# sh int vlan 707
Vlan707 is up, line protocol is up
  Hardware is EtherSVI, address is  00de.fb65.3d7c
  Internet Address is 192.168.253.161/29
  MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec

hakan.topcu
Level 1
Level 1

Did you, or someone else find a solution for that problem?

Currenty I have the same problem, when interconnecting two VRFs on the same chassis, both sides of the transferlink have the same MAC address, and therefore communication between those VRFs is not possible.

 

Ethernet1/25.128 is up
Dedicated Interface
Hardware: 1000/10000 Ethernet, address: 8c60.4f96.25fc (bia 8c60.4f96.25c0)
Internet Address is 10.115.1.1/30
MTU 1500 bytes, BW 10000000 Kbit, DLY 10 usec
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation 802.1Q Virtual LAN, Vlan ID 128, medium is broadcast
EtherType is 0x8100

 

Vlan128 is up, line protocol is up
Hardware is EtherSVI, address is 8c60.4f96.25fc
Internet Address is 10.115.1.2/30
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: