display port-mac
Syntax
display port-mac
View
Any view
Parameters
None
Description
Use the display port-mac command to display the configured start port MAC address for the Ethernet
ports on the switch, that is, the MAC address of Ethernet 1/0/1.
Related commands: port-mac.
Examples
# Display the start port MAC address.
<Sysname> display port-mac
Port MAC start address : 000f-e200-0001
mac-address
Syntax
In system view:
mac-address { static | dynamic | blackhole } mac-address interface interface-type interface-number
vlan vlan-id
undo mac-address [ mac-address-attribute ]
In Ethernet port view:
mac-address { static | dynamic | blackhole } mac-address vlan vlan-id
undo mac-address { static | dynamic | blackhole } mac-address vlan vlan-id
View
System view, Ethernet port view
Parameters
static: Specifies a static MAC address entry.
dynamic: Specifies a dynamic MAC address entry.
blackhole: Specifies a blackhole MAC address entry.
mac-address: Specifies a MAC address, in the form of H-H-H. When entering the MAC address, you
can omit the leading 0s in each segment. For example, you can input f-e2-1 for 000f-00e2-0001.
interface-type interface-number: Specifies the outgoing port by its type and number for the MAC
address. All traffic destined for the MAC address will be sent out the port.
vlan-id: Specifies a VLAN ID, in the range of 1 to 4094. The VLAN must already exist.
1-4
Need help?
Do you have a question about the s3600 series and is the answer not in the manual?
Questions and answers