[practical information] cisco H3C huawei switches configure ports in batches
When I started to engage in the Internet, I learned all about cisco. So the cisco complex is so deep that there are very few devices that come into contact with cisco at work.
About bulk configuration of the same port
# Cisco:
Interface range g1AGUP x to g1AGUP y # in English, a set of port ranges today.
Switchport mode access
Switchport access vlan 300
# do you have Huawei or Hua3? Some people will tell you no after sale, and some manuals will not be found.
In fact, there are Huawei and Hua3. But it's called:
Port-group X group-member interface g1amp 0ram x to g1qqqqr y # older switches may need to define groups first
Port link-type access
Port access vlan 300
-
In fact, Huawei and Hua3 have simpler ways to add ports to the same VLAN ID. (the above method:
It is to make up for why cisco has, and other manufacturers Huawei and Hua3 have no similar defects. It doesn't make much sense)
It is necessary to install A.)
There is an easier way to add ports to VLAN in batches.
Vlan 300
Port g1/0/x to g1/0/y
Quit
# is it much faster than cisco, much faster than port-gropu.