Command Manual – Integrated Management
Quidway S8500 Series Routing Switches Chapter 1
HGMP V1 Configuration Commands
Huawei Technologies Proprietary
1-24
Description
Use the set mac command to set the MAC address of the management VLAN of an
Ethernet switch.
You need to configure the last six hexadecimal digits of the MAC address only. The first
six hexadecimal digits are fixed to 00-e0-fc.
Example
# Set the MAC address of the management VLAN of the Ethernet switch to
00e0-fc00-1111.
[Quidway-lanswitch3/1/6-/] set mac 00e0-fc00-1111
Waiting.........
Set Mac-address of LANSWITCH[6/0-/] successfully!
New MAC address : 00-e0-fc-00-11-11
1.2.5 set port
Syntax
set port port-list vlanid vlan-id-list [ tagged | untagged ]
View
lanswitch view
Parameter
port-list: List of ports to be set. Be sure to provide a valid port number if you want to
specify a single port. You can input a single number for the argument, which identifies
one object. You can input a character string in such format as 3-7, which identifies
objects 3 through 7. You can also use commas to connect single numbers and
character strings.
vlanid vlan-id-list [ tagged | untagged ]: Specifies a list of VLAN IDs to be assigned to
the ports specified by the port-list argument and whether or not these ports are tagged.
The value of a VLAN ID ranges from 0 to 4,095, of which value of 0 means the
corresponding port is not assigned a VLAN ID. As the VLAN IDs specified by the
vlan-id-list argument are one-to-one mapped to the port numbers specified by the
port-list argument, the number of the ports specified by the port-list argument must be
the same as that of the VLAN IDs specified by the vlan-id-list argument.
Description
Use the set port command to assign VLAN IDs to ports of an Ethernet switch and
specify whether or not these ports are tagged.
To avoid communication between a management device and the Ethernet switches
connected to it being unexpectedly terminated, the VLAN ID of an upstream port