Professional Documents
Culture Documents
Huawei Enterprise Support Community User Guide |
| Language
|
Community Forums Groups Blog & Collections Rewards FAQ Top Members Subscribe
Community
Forums
Routing & Switching
HUAWEI SWITCH BASIC CONFI...
An access port belongs to and carries the traffic of only one VLAN within 2-layer switch. Traffic is both received and sent in 337 3.6K
native formats with no VLAN tagging whatsoever. Anything arriving on an access port is simply assumed to belong to the
VLAN assigned to the port.
To configure port in vlan 10: Follow
<HUAWEI> system-view
Post
[HUAWEI] interface GigabitEthernet 0/0/15
A trunk interface often connects to a switch, router, AP, or voice terminal that can receive and send tagged and 2 IP Technology Sharing | LLDP
untagged frames simultaneously. It allows tagged frames from multiple VLANs and untagged frames from only
one VLAN called native vlan.
3 What Interfaces support LLD
To configure ethernet port as a trunk port and allow to pass all vlans:
<HUAWEI> system-view
[HUAWEI-GigabitEthernet 0/0/13]quit
5 LLDP Implementation & Net
Virtual Local Area Network (VLAN) technology divides a physical LAN into multiple broadcast domains, each of which is
called a VLAN. Hosts within a VLAN can communicate with each other but cannot communicate directly with hosts in other
VLANs. Consequently, broadcast packets are confined to within a single VLAN.
To create vlan:
<Huawei> system-view
[RouterA-Ethernet2/0/1] quit
LACP configuration:
Static LACP mode:
Devices that are directly connected through an Eth-Trunk can support LACP, by running the mode lacp-
static command you can configure the Eth-Trunk to work in static LACP mode. This mode can implement both
load balancing and redundancy.
https://forum.huawei.com/enterprise/en/huawei-switch-basic-configurations-with-example-5-examples/thread/789445-861 1/4
11/9/22, 5:49 PM HUAWEI SWITCH BASIC CONFIGURATIONS WITH EXAMPLE(5 Examples) - Huawei Enterprise Support Community
<HUAWEI> system-view
[HUAWEI] interface Eth-Trunk 1Community Forums Groups Blog & Collections Rewards FAQ Top Members Subscribe
LACP Dynamic mode:
When a server is connected to a file server over the device that has an Eth-Trunk configured, one is able to run
the mode lacp-dynamic command on the device to configure its Eth-Trunk to work in dynamic mode.
<HUAWEI> system-view
The Link Layer Discovery Protocol (LLDP) is a standard Layer 2 topology discovery protocol defined in IEEE 802.1ab. LLDP
allows a device to send local management information such as management IP address, device ID, and port ID to neighbors.
LLDP provides a standard link-layer discovery method. Layer 2 information obtained through LLDP allows the NMS (Network
Management System) to detect the topology of neighboring devices. Details, such as device capabilities or device identity can
be advertised using this protocol.
<Switch>system-view
[Switch]lldp enable
Interval for sending LLDP packets- When the LLDP status of a device keeps unchanged, the device sends LLDP packets to its
neighbors at a certain interval. The value of interval ranges from 5 to 32768. Increasing the value of interval is not restricted by
the value of delay.
Delay in sending LLDP packets- If the device status changes frequently, a delay is required before the device sends an LLDP
packet to its neighbors. The value of delay ranges from 1 to 8192. Decreasing the value of delay is not restricted by the value
of interval.
Hold time multiplier of device information on neighbors- The hold time multiplier is used to calculate the Time to Live (TTL),
which determines how long device information can be saved on the neighbors. You can specify the hold time of device
information on the neighbors. After receiving an LLDP packet, a neighbor updates the aging time of the device information
from the sender based on the TTL.
The storage time calculation formula is: TTL = Min (65535, (interval x hold)).
https://forum.huawei.com/enterprise/en/huawei-switch-basic-configurations-with-example-5-examples/thread/789445-861 2/4
11/9/22, 5:49 PM HUAWEI SWITCH BASIC CONFIGURATIONS WITH EXAMPLE(5 Examples) - Huawei Enterprise Support Community
Config verification:
Community Forums Groups Blog
Run the display lldp local[ interface interface-type interface-number ] & Collections
command to viewRewards
LLDP localFAQ Top Members
information on Subscribe
a specified interface or all interfaces.
Run the display lldp neighbor[ interface interface-type interface-number ] command to view neighbor information
in the system or on an interface.
Run the display lldp neighbor brief command to view brief information about neighbors.
In routine maintenance, you can run the following commands in any view to check the LLDP status.
Run the display lldp statistics[ interface interface-type interface-number ] command to view statistics about sent and
received LLDP packets in the system or on an interface.
Run the display cdp statistics[ interface interface-type interface-number ] command to view statistics about sent and
received CDP packets in the system or on an interface.
routing and switching
lldp
vlan
access
trunk
Like
(12)
Dislike
(0) Favorite(0) Share Report
hemin88
Moderator
Author
Created Nov 10, 2021 06:11:03
(1)
(0)
2#
IndianKid
Created Nov 10, 2021 06:33:37
(0)
(0)
Thanks
taha_29four
Created Nov 10, 2021 06:39:00
(1)
(0)
3#
IndianKid
Created Nov 10, 2021 06:45:14
(1)
(0)
Thanks dear for support
Vijji
Created Nov 11, 2021 05:48:31
(1)
(0)
4#
Useful one
https://forum.huawei.com/enterprise/en/huawei-switch-basic-configurations-with-example-5-examples/thread/789445-861 3/4
11/9/22, 5:49 PM HUAWEI SWITCH BASIC CONFIGURATIONS WITH EXAMPLE(5 Examples) - Huawei Enterprise Support Community
Community Forums Groups Blog & Collections Rewards FAQ Top Members Subscribe
Serges_armel
Created Nov 11, 2021 13:47:51
(1)
(0)
5#
Very interesting
faysalji
Moderator
Author
Created Nov 14, 2021 09:58:08
(0)
(0)
6#
Comment
Advanced Comment
Attachment: +Add ?
Security code
Change
Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content
that may bring legal risks to all parties, including but are not limited to the following:
Politically sensitive content
Content concerning pornography, gambling, and drug abuse
Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks,
copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as
your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."
Huawei Website
| Support
| About Huawei
| Privacy
| User Agreement
| Terms of Use
|
Huawei Enterprise
| Huawei Carrier Forum
Contact Us: e_online@huawei.com Copyright © 2022 Huawei Technologie
https://forum.huawei.com/enterprise/en/huawei-switch-basic-configurations-with-example-5-examples/thread/789445-861 4/4