ros多拨华为交换机vlan配置

发布时间:2018年08月21日 阅读:347 次

[Quidway]display current-configuration

#

!Software Version V100R005C01SPC100

 sysname Quidway

#

 vlan batch 10 20 30 40 50 60 70 80 90 100

 vlan batch 110 120 130 140 150 160 170 180 190 200

 vlan batch 210 220 230 240

#

 cluster enable

 ntdp enable

 ntdp hop 16

 ndp enable

#

 bpdu enable

#

 dhcp enable

#

 undo http server enable

#

aaa

 authentication-scheme default

 authorization-scheme default

 accounting-scheme default

 domain default

 domain default_admin

 local-user admin password simple admin

 local-user admin service-type http

#

interface Vlanif1

 ip address dhcp-alloc

#

interface Ethernet0/0/1

 port link-type access

 port default vlan 10

 ntdp enable

 ndp enable

#

interface Ethernet0/0/2

 port link-type access

 port default vlan 20

 ntdp enable

 ndp enable

#

interface Ethernet0/0/3

 port link-type access

 port default vlan 30

 ntdp enable

 ndp enable

#

interface Ethernet0/0/4

 port link-type access

 port default vlan 40

 ntdp enable

 ndp enable

#

interface Ethernet0/0/5

 port link-type access

 port default vlan 50

 ntdp enable

 ndp enable

#

interface Ethernet0/0/6

 port link-type access

 port default vlan 60

 ntdp enable

 ndp enable

#

interface Ethernet0/0/7

 port link-type access

 port default vlan 70

 ntdp enable

 ndp enable

#

interface Ethernet0/0/8

 port link-type access

 port default vlan 80

 ntdp enable

 ndp enable

#

interface Ethernet0/0/9

 port link-type access

 port default vlan 90

 ntdp enable

 ndp enable

#

interface Ethernet0/0/10

 port link-type access

 port default vlan 100

 ntdp enable

 ndp enable

#

interface Ethernet0/0/11

 port link-type access

 port default vlan 110

 ntdp enable

 ndp enable

#

interface Ethernet0/0/12

 port link-type access

 port default vlan 120

 ntdp enable

 ndp enable

#

interface Ethernet0/0/13

 port link-type access

 port default vlan 130

 ntdp enable

 ndp enable

#

interface Ethernet0/0/14

 port link-type access

 port default vlan 140

 ntdp enable

 ndp enable

#

interface Ethernet0/0/15

 port link-type access

 port default vlan 150

 ntdp enable

 ndp enable

#

interface Ethernet0/0/16

 port link-type access

 port default vlan 160

 ntdp enable

 ndp enable

#

interface Ethernet0/0/17

 port link-type access

 port default vlan 170

 ntdp enable

 ndp enable

#

interface Ethernet0/0/18

 port link-type access

 port default vlan 180

 ntdp enable

 ndp enable

#

interface Ethernet0/0/19

 port link-type access

 port default vlan 190

 ntdp enable

 ndp enable

#

interface Ethernet0/0/20

 port link-type access

 port default vlan 200

 ntdp enable

 ndp enable

#

interface Ethernet0/0/21

 port link-type access

 port default vlan 210

 ntdp enable

 ndp enable

#

interface Ethernet0/0/22

 port link-type access

 port default vlan 220

 ntdp enable

 ndp enable

#

interface Ethernet0/0/23

 port link-type access

 port default vlan 230

 ntdp enable

 ndp enable

#

interface Ethernet0/0/24

 port link-type access

 port default vlan 240

 ntdp enable

 ndp enable

#

interface GigabitEthernet0/0/1

 port link-type trunk

 port trunk allow-pass vlan 2 to 4094

 ntdp enable

 ndp enable

#

interface GigabitEthernet0/0/2

 ntdp enable

 ndp enable

#

interface NULL0

#

 snmp-agent

 snmp-agent local-engineid 000007DB7F0000010000189D

 snmp-agent sys-info version v3

#

user-interface con 0

 idle-timeout 0 0

user-interface vty 0 4

#

port-group ethernet

#

port-group link-type

#

return


Tag:vlan 交换机
相关文章