华为eNSP实验指南Word格式.docx
《华为eNSP实验指南Word格式.docx》由会员分享,可在线阅读,更多相关《华为eNSP实验指南Word格式.docx(62页珍藏版)》请在冰豆网上搜索。
clusterenable
ntdpenable
ndpenable
dropillegal-macalarm
diffservdomaindefault
drop-profiledefault
aaa
authentication-schemedefault
authorization-schemedefault
accounting-schemedefault
domaindefault
domaindefault_admin
local-useradminpasswordsimpleadmin
local-useradminservice-typehttp
interfaceVlanif1
interfaceMEth0/0/1
interfaceEthernet0/0/1
portlink-typeaccess
portdefaultvlan2
interfaceEthernet0/0/2
portdefaultvlan3
interfaceEthernet0/0/3
interfaceEthernet0/0/4
interfaceEthernet0/0/5
interfaceEthernet0/0/6
interfaceEthernet0/0/7
interfaceEthernet0/0/8
interfaceEthernet0/0/9
interfaceEthernet0/0/10
interfaceEthernet0/0/11
interfaceEthernet0/0/12
interfaceEthernet0/0/13
interfaceEthernet0/0/14
interfaceEthernet0/0/15
interfaceEthernet0/0/16
interfaceEthernet0/0/17
interfaceEthernet0/0/18
interfaceEthernet0/0/19
interfaceEthernet0/0/20
interfaceEthernet0/0/21
interfaceEthernet0/0/22
portlink-typetrunk
porttrunkallow-passvlan3
interfaceGigabitEthernet0/0/1
interfaceGigabitEthernet0/0/2
interfaceNULL0
user-interfacecon0
user-interfacevty04
Return
[SW2]dicu
sysnameSW2
port-grouplink-type
return
VLAN间路由
注:
在pc1和pc2上面配置好ip地址和网关
interfaceVlanif2
ipaddress192.168.2.254255.255.255.0
interfaceVlanif3
ipaddress192.168.3.254255.255.255.0
[R1]dicu
sysnameR1
local-useradminpasswordcipherOOCM4m($F4ajUn1vMEIBNUw#
firewallzoneLocal
priority16
interfaceEthernet0/0/0
interfaceEthernet0/0/0.1
vlan-typedot1q2
interfaceEthernet0/0/0.3
vlan-typedot1q3
interfaceSerial0/0/0
link-protocolppp
interfaceSerial0/0/1
interfaceSerial0/0/2
interfaceSerial0/0/3
interfaceGigabitEthernet0/0/0
interfaceGigabitEthernet0/0/3
wlan
user-interfacevty1620
[SW1]dicu
porttrunkallow-passvlan2to4094
vlanbatch3
静态路由
ipaddress12.1.1.1255.255.255.0
interfaceLoopBack0
iproute-static23.1.1.0255.255.255.012.1.1.2
[R2]dicu
sysnameR2
ipaddress12.1.1.2255.255.255.0
ipaddress23.1.1.1255.255.255.0
interfaceSerial0/