Methods for Adding VLANs to Huawei Switches in Batches

Created: Dec 26, 2018 15:15:52Latest reply: Dec 27, 2018 16:42:45 1011 2 9 0

Generally, the batch port configuration command is seldom used.


However, on a large campus network, a large number of duplicate port configurations exist on the switch.

If the configuration scripts of the ports are written one by one, the configuration script takes a long time.


Therefore, the two batch configuration commands are useful.


1. Adding Ports to an Eth-Trunk in Batches.

interface Eth-Trunk 0
 trunkport XGigabitethernet 0/0/3 0/0/4


2.Modifying Port Configurations in Batches.

port-group group-member gigabitethernet 0/0/1 to 0/0/8 gigabitethernet 0/0/13 to 0/0/28
 port link-type access
 port default vlan 2010

  • x
  • convention:

yiyi0519  Visitor   Created Dec 26, 2018 17:08:28 Helpful(0) Helpful(0)

For a large number of switch configuration deployments we can batch through the command line. Also we can set the port type is the hybrid , access or trunk.
  • x
  • convention:

user_2915719     Created Dec 27, 2018 16:42:45 Helpful(0) Helpful(0)

Configure surely saves a lot of work while commissioning, although that need to be planed before commissioning.
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

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 " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top