华三交换机配置脚本
合集下载
相关主题
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/13
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/36
undo port trunk permit vlan 1
port-isolate enable
interface Ethernet0/0/14
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/15
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/37
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/2
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/3
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/4
undo port trunk permit vlan 1
port-isolate enable
interface Ethernet0/0/22
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/23
port-isolate enable
interface Ethernet0/0/38
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/39
port-isolate enable
interface Ethernet0/0/34
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/35
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/28
undo port trunk permit vlan 1
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/40
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/16
undo port trunk permit vlan 1
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/32
undo port trunk permit vlan 1
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/20
undo port trunk permit vlan 1
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/8
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/5
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
system-view
sysname yingli_1
vlan batch 10 100
ip address dhcp-alloc
interface Vlanif 10
ip address 10.2.212.10 255.255.254.0
quit
ip route-static 0.0.0.0 0.0.0.0 10.2.212.1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/33
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/9
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/21
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/29
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/26
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/27
port-isolate enable
interface Ethernetቤተ መጻሕፍቲ ባይዱ/0/30
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/31
local-user yingli_1
password simple yingli
service-type telnet
level 3
interface Ethernet0/0/1
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/12
undo port trunk permit vlan 1
port-isolate enable
interface Ethernet0/0/18
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/19
port-isolate enable
interface Ethernet0/0/10
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/11
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/17
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/25
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/24
undo port trunk permit vlan 1
port-isolate enable
interface Ethernet0/0/6
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/7
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/13
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/36
undo port trunk permit vlan 1
port-isolate enable
interface Ethernet0/0/14
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/15
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/37
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/2
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/3
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/4
undo port trunk permit vlan 1
port-isolate enable
interface Ethernet0/0/22
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/23
port-isolate enable
interface Ethernet0/0/38
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/39
port-isolate enable
interface Ethernet0/0/34
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/35
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/28
undo port trunk permit vlan 1
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/40
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/16
undo port trunk permit vlan 1
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/32
undo port trunk permit vlan 1
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/20
undo port trunk permit vlan 1
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/8
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/5
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
system-view
sysname yingli_1
vlan batch 10 100
ip address dhcp-alloc
interface Vlanif 10
ip address 10.2.212.10 255.255.254.0
quit
ip route-static 0.0.0.0 0.0.0.0 10.2.212.1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/33
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/9
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/21
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/29
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/26
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/27
port-isolate enable
interface Ethernetቤተ መጻሕፍቲ ባይዱ/0/30
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/31
local-user yingli_1
password simple yingli
service-type telnet
level 3
interface Ethernet0/0/1
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/12
undo port trunk permit vlan 1
port-isolate enable
interface Ethernet0/0/18
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/19
port-isolate enable
interface Ethernet0/0/10
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/11
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/17
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/25
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/24
undo port trunk permit vlan 1
port-isolate enable
interface Ethernet0/0/6
undo port trunk permit vlan 1
port link-type access
port default vlan 10 100
port-isolate enable
interface Ethernet0/0/7