5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
160
Example
The following is an example of the CLI display output for the command.
(Routing) #show interface ethernet 0/1 switchport
Port: 0/1
VLAN Switchport mode:Private Vlan Host
Private VLAN configured Host association:10 20
Private VLAN configured Promiscuous VLANS:
Operational Private VLANS :
Display Parameters
Port
The interface ID of the switch.
VLAN switchport mode
Indicates the particular configuration mode.
Private-vlan host-
association
Indicates the VLAN association of the private-VLAN host ports.
Private-vlan mapping
Indicates the VLAN mapping of the private-VLAN promiscuous ports.
Operational private VLANS
Indicates the type of association to the interface.
5-25
show mac-addr-table
This command is used to show the forwarding database entries, which are utilized by the transparent
bridging function to decide how to forward a received frame.
Enter either the all parameter or the no parameter to show the entire table. To display the table entry for a
specific MAC address on the specified VLAN, enter that MAC Address and the VLAN ID. To view
summary information about the forwarding database table, enter the count parameter. To view MAC
addresses on a specific interface, use the interface {slot/port I lag Lag-id} parameter. To display
information about MAC addresses on a specified VLAN, use the vlan vlan_id parameter.
show mac-addr-table [{macaddr vlan_id | all | count | interface {slot/port | lag lag-id | vlan vlan_id} |
vlan vlan_id}]
Parameters
macaddr
Select a 6 byte MAC address.
vlan_id
Indicates a VLAN ID.
all
Select to indicate all interfaces.
count
Indicates the FDB count.
interface
Indicates the MAC address on the interface.
slot/port
Indicates the slot/port of the interface.
lag lag-id
Select to enter interface lag mode.