H3C bridge端口脚本

H3C Comware Version5.20 是不支持一次选择多个端口的(已通过H3C 400电话确认)一个个敲太麻烦我们可以通过复制脚本的方式快速将接口配置为bridge


interfaceGigabitEthernet 1/0/1

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/2

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/3

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/4

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/5

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/6

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/7

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/8

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/9

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/10

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/11

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/12

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/13

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/14

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/15

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/16

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/17

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/18

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/19

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/20

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/21

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/22

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/23

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/24

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/25

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/26

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/27

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/28

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/29

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/30

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/31

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/32

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/33

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/34

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/35

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/36

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/37

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/38

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/39

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/40

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/41

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/42

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/43

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/44

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/45

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/46

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/47

port link-typeaccess

port bridge enable

quit

interfaceGigabitEthernet 1/0/48

port link-typeaccess

port bridge enable

quit


你可能感兴趣的:(H3C,R&S)