如果我想创建3个VLAN,我必须像这样一个一个地做。
conf t
vlan 2
vlan 3
vlan 4
删除也是如此。
conf t
no vlan 2
no vlan 3
no vlan 4
有没有办法在一行中做到这一点?大概是这样的
conf t
vlan 2 3 4
!or
conf t
no vlan 2 3 4
!or
conf t
vlan 2, 3, 4
!or
conf t
no vlan 2, 3, 4
!or
conf t
vlan 2-4
!or
conf t
no vlan 2-4
无论如何,我已经测试了这些,但没有奏效。基本上,就是这个想法。如果问题不清楚,请告诉我。