ALCATEL - Show MAC Addresss

From Wiki.IT-Arts.net
Revision as of 15:10, 3 August 2024 by Admin (talk | contribs)


Some helpful commands to debug with ARP and MAC adresses on ALCALTEL.

Show MAC-Address-Table

Platforms Supported :
OmniSwitch 6400, 6850, 6855, 6850E, 9000E

Displays Source Learning MAC Address Table information.

show mac-address-table [permanent | learned | quarantined] [mac_address] [slot slot | slot/port] [link-
agg link_agg] [vid | vid1-vid2]


Syntax Definitions

  • permanent
    • Display static MAC addresses with a permanent status.
  • learned
    • Display dynamically learned MAC addresses.
  • quarantined
    • Display MAC addresses quarantined by the Quarantine Manager and Remediation (QMR) application.
  • mac_address
    • Enter a MAC Address (e.g., 00:00:39:59:f1:0c).
  • slot
    • Enter the slot number for a module to specify that the command should include all ports on that module (e.g., 6 specifies all ports on the module found in slot 6 of the switch chassis).
  • slot/port
    • Enter the slot number and the physical port number on that module (e.g., 3/1 specifies port 1 on slot 3).
  • link_agg
    • Enter a link aggregate ID number (0–31). See gation Commands."
  • vid
    • A single VLAN ID number (1–4094).
  • vid1-vid2
    • A range of VLAN IDs that you want to configure (e.g. 10-12 specifies VLANs 10, 11, and 12).


Defaults

By default, information is displayed for all MAC addresses contained in the table.


Usage Guidelines

  • Note that only one VLAN entry—a single VLAN ID or a range of VLAN IDs— is allowed with this

command. Multiple entries are not accepted.

  • If a static MAC address is configured on a port link that is down or disabled, an asterisk appears to the

right of the MAC address in the show mac-address-table command display. The asterisk indicates that this is an invalid MAC address. When the port link comes up, however, the MAC address is then considered valid and the asterisk no longer appears next to the address in the display.

Source : OmniSwitch CLI Reference Guide


Show ARP

Displays the ARP table. The ARP table contains a listing of IP addresses and their corresponding transla- tions to physical MAC addresses.

show arp [ip_address | hardware_address]


Syntax Definitions

  • ip_address
    • IP address of the entry you want to view.
  • hardware_address
    • MAC address of the entry you want to view.

Example :

> show arp

Total 4 arp entries
Flags (P=Proxy, A=Authentication, V=VRRP)

IP Addr Hardware Addr Type Flags Port Interface Name
-----------------+-------------------+----------+-------+--------+-----------+----------
172.16.21.1 24:be:05:2e:cd:00 DYNAMIC 1/47 vlan 221
172.16.21.45 e8:e7:32:52:38:34 DYNAMIC 0/12 vlan 221
172.16.21.59 e8:e7:32:33:eb:52 DYNAMIC 0/26 vlan 221
172.16.21.63 e8:e7:32:53:6d:78 STATIC UNKNOWN vlan 221


Output Definitions

  • IP Address
    • Device IP address.
  • Hardware Addr
    • MAC address of the device that corresponds to the IP address.
  • Type
    • Indicates whether the ARP cache entries are dynamic or static.
  • Flags Indicates the type of entry:
    • P = Proxy
    • A = Authentication (AVLAN)
    • V = VRRP


Show Bridge Address-Table

The show bridge address-table Privileged EXEC mode command displays all entries in the bridge-forwarding database.

Related Commands : 'show ports security addresses'


Syntax

show bridge address-table [vlan vlan] [ethernet interface | port-channel
port-channel-number]


Parameters

  • vlan
    • Specifies a valid VLAN, such as VLAN 1.
  • interface
    • A valid Ethernet port.
  • port-channel-number
    • A valid port-channel number.


Command Mode

Privileged EXEC mode.


Command Usage

    • Internal usage VLANs (VLANs that are automatically allocated on ports with a

defined Layer 3 interface) are presented in the VLAN column by a port number and not by a VLAN ID.

    • "Special" MAC addresses that were not statically defined or dynamically

learned are displayed in the MAC address table. This includes, for example, MAC addresses defined in ACLS.


show mac-learning

Platforms Supported : OmniSwitch 10K, 6900.

Displays Source Learning MAC Address Table information.

show mac-learning [summary] [multicast | static | dynamic] [vlan vlan_id [-vlan_id2]] [slot slot | port
slot/port] [linkagg linkagg] [mac-address mac_address]


Syntax Definitions

  • summary
    • Displays summary of all the parameters.
  • multicast
    • Display all the static multicast MAC addresses information contained in the MAC address table.
  • static
    • Display static MAC addresses with a permanent status.
  • dynamic
    • Display dynamically learned MAC addresses.
  • vlan_id [-vlan_id2]
    • A contiguous range of VLAN ID numbers (for example, 5-10).
  • slot
    • Enter the slot number for a module to specify that the command must include all ports on that module (for example, 6 specifies all ports on the module found in slot 6 of the switch chassis).
  • slot/port
    • Enter the slot number and the physical port number on that module (for example, 3/1 specifies port 1 on slot 3).
  • linkagg
    • Enter a link aggregate ID number. See Chapter 7, “Link Aggregation Commands.”
  • mac_address
    • Enter a MAC Address (for example, 00:00:39:59:f1:0c).


Defaults

By default, information is displayed for all MAC addresses contained in the table.


Usage Guidelines

• Note that only one VLAN entry - a single VLAN ID or a range of VLAN IDs is allowed with this command. Multiple VLAN entries are not accepted.

• If a static MAC address is configured on a port link that is down or disabled, an asterisk appears to the right of the MAC address in the show mac-learning command display. The asterisk indicates that this is an invalid MAC address. When the port link comes up, however, the MAC address is then considered valid and the asterisk no longer appears next to the address in the display


Example

Source Learning Commands show mac-learning
OmniSwitch CLI Reference Guide September 2011 page 3-13
Examples
-> show mac-learning summary
Mac Address Table Count:
Permanent Address Count = 0,
Dynamic Learned Address Count = 16,
Static Multicast Address Count = 0,
Total MAC Address In Use = 16
-> show mac-learning
Legend: Mac Address: * = address not valid
Vlan Mac Address Type Protocol Operation Interface
------+-------------------+--------------+-----------+------------+-----------
1 00:00:00:00:00:01 learned 0800 bridging 8/ 1
1 00:d0:95:6a:73:9a learned aaaa0003 bridging 10/23
Total number of Valid MAC addresses above = 2
-> show mac-learning vlan 10-15
Legend: Mac Address: * = address not valid
Vlan Mac Address Type Protocol Operation Interface
------+-------------------+--------------+-----------+------------+-----------
10 00:00:00:00:00:01 learned 0800 bridging 1/2
10 00:d0:95:6a:73:9a learned aaaa0003 bridging 1/2
11 00:d0:95:a3:e0:0d learned --- bridging 1/3
11 00:d0:95:a3:e5:09 learned --- bridging 1/3
11 00:d0:95:a3:e7:75 learned --- bridging 1/4
12 00:d0:95:a3:ed:f7 learned --- bridging 2/1
12 00:d0:95:a8:2a:b6 learned --- bridging 2/1
12 00:d0:95:ad:e3:cc learned --- bridging 2/1
13 00:d0:95:ae:3b:f6 learned --- bridging 2/8
13 00:d0:95:b2:3d:fa learned --- bridging 2/8
Total number of Valid MAC addresses above = 14


Usefull Links