Page 1 of 1

Show mac address of vlan interface

Posted: 12 Mar 2012 00:25
by kent2612
Hi,

Any idea how can we see the vlan interface mac address on the switch itself? I am trying to see the mac address of VLAN 10 below. Thanks in advanced.
ip interface "vlan10" address 192.168.1.2 mask 255.255.255.0 vlan 10 ifindex 1

Re: Show mac address of vlan interface

Posted: 13 Mar 2012 12:14
by one6f
Hi,

Router MAC is the same on all ip interfaces, you get this with:

Code: Select all

show ip interface vlan10

Re: Show mac address of vlan interface

Posted: 13 Mar 2012 22:45
by kent2612
Sorry I don't quite understand what you mean by 'Router MAC is the same on all ip interfaces'?

From What I see,
show ip interface - do not show any MAC address
show interfaces - shows the Slot/Port MAC Addresses but not the vlan interface MAC Address

When I ping to the vlan 10 interface ip address 192.168.1.2 from another system (eg Windows Workstation), I am able to see the MAC Address from that Windows system with arp -a command, I am trying to find the same MAC address on the switch itself.

Thanks

Re: Show mac address of vlan interface

Posted: 14 Mar 2012 02:05
by one6f
Hi,
you have simply forgotten the name of interface that you have configured - vlan10:
show ip interface vlan10

Re: Show mac address of vlan interface

Posted: 15 Mar 2012 11:57
by ydeschoe
The system is working with a single mac-address setup for all the vlan's

This comes out of the Network configuration guide

""""""""""
What is Single MAC Router Mode?
The switch operates only in single MAC router mode. In this mode, each router VLAN is assigned the
same MAC address, which is the base chassis MAC address for the switch. This eliminates the need to
allocate additional MAC addresses if more than 32 router VLANs are defined. The number of router
VLANs allowed then is based on the IP interface configuration. See “Configuring VLAN Router Interfaces”
on page 4-12 for more information.
To determine the total number of VLANs configured on the switch, and the number of VLANs with IP
router interfaces configured, use the show vlan router mac status command. For more information about
this command, see the OmniSwitch CLI Reference Guide.
"""""""""""""

to see the mac address use the following command

show mac-range alloc

outcome

Range Mac Address Application Id
-----+-----------------+--------------------+---
01 00:e0:b1:a0:3b:ec CHASSIS 0
01 00:e0:b1:a0:3b:ed 802.1X 0