Skip to main content

 路由器设置 > 新闻资讯 > 华为 >

华为MPLS VPV配置(2)

2013-11-12 01:07 浏览:
PE2配置

[PE2]displaycurrent-configuration
[V200R003C00]
#
sysnamePE2
#
snmp-agentlocal-engineid800007DB03000000000000
snmp-agent
#
clocktimezoneIndianStandardTimeminus05:13:20
clockdaylight-saving-timeDayLightSavingTimerepeating12:329-112:3211-2300:0020052005
#
dropillegal-macalarm
#
setcpu-usagethreshold80restore75
#
ipvpn-instancevpna
ipv4-family
route-distinguisher100:1
vpn-target100:3export-extcommunity
vpn-target100:3import-extcommunity
#
ipvpn-instancevpnb
ipv4-family
route-distinguisher100:2
vpn-target100:4export-extcommunity
vpn-target100:4import-extcommunity
#
mplslsr-id5.5.5.5
mpls
lsp-triggerall
#
mplsldp
#
#
aaa
authentication-schemedefault
authorization-schemedefault
accounting-schemedefault
domaindefault
domaindefault_admin
local-useradminpasswordcipher%$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
local-useradminservice-typehttp
#
firewallzoneLocal
priority15
#
interfaceGigabitEthernet0/0/0
ipaddress45.1.1.5255.255.255.0
mpls
mplsldp
#
interfaceGigabitEthernet0/0/1
ipbindingvpn-instancevpna
ipaddress76.1.1.6255.255.255.0
#
interfaceGigabitEthernet0/0/2
ipbindingvpn-instancevpnb
ipaddress86.1.1.6255.255.255.0
#
interfaceNULL0
#
interfaceLoopBack0
ipaddress5.5.5.5255.255.255.0
#
bgp100
peer3.3.3.3as-number100
peer3.3.3.3connect-interfaceLoopBack0
#
ipv4-familyunicast
undosynchronization
peer3.3.3.3enable
peer3.3.3.3next-hop-local
#
ipv4-familyvpnv4
policyvpn-target
peer3.3.3.3enable
#
ipv4-familyvpn-instancevpna
import-routerip1
#
ipv4-familyvpn-instancevpnb
import-routerip2
#
ospf1
area0.0.0.0
network5.5.5.00.0.0.255
network45.1.1.00.0.0.255
#
rip1vpn-instancevpna
undosummary
version2
network76.0.0.0
import-routebgp
#
rip2vpn-instancevpnb
undosummary
version2
network86.0.0.0
import-routebgp
#
user-interfacecon0
authentication-modepassword
user-interfacevty04
user-interfacevty1620
#
wlanac
#
return

P配置

[P]displaycurrent-configuration
[V200R003C00]
#
sysnameP
#
snmp-agentlocal-engineid800007DB03000000000000
snmp-agent
#
clocktimezoneIndianStandardTimeminus05:13:20
clockdaylight-saving-timeDayLightSavingTimerepeating12:329-112:3211-2300:0020052005
#
dropillegal-macalarm
#
setcpu-usagethreshold80restore75
#
mplslsr-id4.4.4.4
mpls
lsp-triggerall
#
mplsldp
#
#
aaa
authentication-schemedefault
authorization-schemedefault
accounting-schemedefault
domaindefault
domaindefault_admin
local-useradminpasswordcipher%$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
local-useradminservice-typehttp
#
firewallzoneLocal
priority15
#
interfaceGigabitEthernet0/0/0
ipaddress34.1.1.4255.255.255.0
mpls
mplsldp
#
interfaceGigabitEthernet0/0/1
ipaddress45.1.1.4255.255.255.0
mpls
mplsldp
#
interfaceGigabitEthernet0/0/2
#
interfaceNULL0
#
interfaceLoopBack0
ipaddress4.4.4.4255.255.255.0
#
ospf1
area0.0.0.0
network4.4.4.00.0.0.255
network34.1.1.00.0.0.255
network45.1.1.00.0.0.255
#
user-interfacecon0
authentication-modepassword
user-interfacevty04
user-interfacevty1620
#
wlanac
#
return

siteA1配置

[siteA-1]displaycurrent-configuration
[V200R003C00]
#
sysnamesiteA-1
#
snmp-agentlocal-engineid800007DB03000000000000
snmp-agent
#
clocktimezoneIndianStandardTimeminus05:13:20
clockdaylight-saving-timeDayLightSavingTimerepeating12:329-112:3211-2300:0020052005
#
dropillegal-macalarm
#
setcpu-usagethreshold80restore75
#
aaa
authentication-schemedefault
authorization-schemedefault
accounting-schemedefault
domaindefault
domaindefault_admin
local-useradminpasswordcipher%$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
local-useradminservice-typehttp
#
firewallzoneLocal
priority15
#
interfaceGigabitEthernet0/0/0
ipaddress13.1.1.1255.255.255.0
#
interfaceGigabitEthernet0/0/1
#
interfaceGigabitEthernet0/0/2
#
interfaceNULL0
#
interfaceLoopBack0
ipaddress1.1.1.1255.255.255.0
#
rip1
undosummary
version2
network1.0.0.0
network13.0.0.0
#
user-interfacecon0
authentication-modepassword
user-interfacevty04
user-interfacevty1620
#
wlanac
#
return

siteA2配置

[siteA-2]displaycurrent-configuration
[V200R003C00]
#
sysnamesiteA-2
#
snmp-agentlocal-engineid800007DB03000000000000
snmp-agent
#
clocktimezoneIndianStandardTimeminus05:13:20
clockdaylight-saving-timeDayLightSavingTimerepeating12:329-112:3211-2300:0020052005
#
dropillegal-macalarm
#
setcpu-usagethreshold80restore75
#
aaa
authentication-schemedefault
authorization-schemedefault
accounting-schemedefault
domaindefault
domaindefault_admin
local-useradminpasswordcipher%$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
local-useradminservice-typehttp
#
firewallzoneLocal
priority15
#
interfaceGigabitEthernet0/0/0
ipaddress76.1.1.7255.255.255.0
#
interfaceGigabitEthernet0/0/1
#
interfaceGigabitEthernet0/0/2
#
interfaceNULL0
#
interfaceLoopBack0
ipaddress6.6.6.6255.255.255.0
#
rip1
undosummary
version2
network6.0.0.0
network76.0.0.0
#
user-interfacecon0
authentication-modepassword
user-interfacevty04
user-interfacevty1620
#
wlanac
#
return

siteB1配置

[siteB-1]displaycurrent-configuration
[V200R003C00]
#
sysnamesiteB-1
#
snmp-agentlocal-engineid800007DB03000000000000
snmp-agent
#
clocktimezoneIndianStandardTimeminus05:13:20
clockdaylight-saving-timeDayLightSavingTimerepeating12:329-112:3211-2300:0020052005
#
dropillegal-macalarm
#
setcpu-usagethreshold80restore75
#
aaa
authentication-schemedefault
authorization-schemedefault
accounting-schemedefault
domaindefault
domaindefault_admin
local-useradminpasswordcipher%$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
local-useradminservice-typehttp
#
firewallzoneLocal
priority15
#
interfaceGigabitEthernet0/0/0
ipaddress23.1.1.2255.255.255.0
#
interfaceGigabitEthernet0/0/1
#
interfaceGigabitEthernet0/0/2
#
interfaceNULL0
#
interfaceLoopBack0
ipaddress2.2.2.2255.255.255.0
#
rip1
undosummary
version2
network2.0.0.0
network23.0.0.0
#
user-interfacecon0
authentication-modepassword
user-interfacevty04
user-interfacevty1620
#
wlanac
#
return

siteB2配置

[siteB-2]displaycurrent-configuration
[V200R003C00]
#
sysnamesiteB-2
#
snmp-agentlocal-engineid800007DB03000000000000
snmp-agent
#
clocktimezoneIndianStandardTimeminus05:13:20
clockdaylight-saving-timeDayLightSavingTimerepeating12:329-112:3211-2300:0020052005
#
dropillegal-macalarm
#
setcpu-usagethreshold80restore75
#
aaa
authentication-schemedefault
authorization-schemedefault
accounting-schemedefault
domaindefault
domaindefault_admin
local-useradminpasswordcipher%$%$K8m.Nt84DZ}e#<0`8bmE3Uw}%$%$
local-useradminservice-typehttp
#
firewallzoneLocal
priority15
#
interfaceGigabitEthernet0/0/0
ipaddress86.1.1.8255.255.255.0
#
interfaceGigabitEthernet0/0/1
#
interfaceGigabitEthernet0/0/2
#
interfaceNULL0
#
interfaceLoopBack0
ipaddress7.7.7.7255.255.255.0
#
rip1
undosummary
version2
network86.0.0.0
network7.0.0.0
#
user-interfacecon0
authentication-modepassword
user-interfacevty04
user-interfacevty1620
#
wlanac
#
return

 

本文出自 “ITdreamfly” 博客