0

I set up the IP for Cisco L3 switch, but why is the error only eth 1/2 even though there is an IP duplication as shown below?

SW(config)#
SW(config)# interface mgmt 0
SW(config-if)# ip address 192.168.1.1/24
SW(config-if)# no shutdown
SW(config-if)# exit
SW(config)#
SW(config)#
SW(config)# interface vlan 10
SW(config-if)# ip address 192.168.1.1/24
SW(config-if)# exit
SW(config)#
SW(config)#
SW(config)# int ethernet 1/1
SW(config-if)# no switchport
SW(config-if)# ip address 192.168.1.1/24
SW(config-if)# no shut
SW(config-if)#
SW(config-if)#
SW(config-if)# int ethernet 1/2
SW(config-if)# 
SW(config-if)# no switchport
SW(config-if)# ip address 192.168.1.1/24
% 192.168.1.1/24 overlaps with address configured on Ethernet1/1
SW(config-if)#
serverAdmin123
  • 230
  • 3
  • 18
dum0785
  • 5
  • 3

1 Answers1

0

I'm assuming this is a Nexus switch.

  1. The management port is in a separate VRF by default. So duplication is allowed.

  2. The Vlan interface is shutdown, so addresses aren't checked.

  3. You've enabled Eth 1/1, so the switch starts checking other addresses you enter against it.

Ron Trunk
  • 2,159
  • 1
  • 11
  • 19