比较复杂,还没太明白
boot config running-configuration
boot system erx_3-4-1b0-6.rel
no boot backup
no boot subsystem
no boot backup subsystem
no boot force-backup
no boot slot
!
! Note: The following commands are here to ensure that all virtual routers and
! vrfs are created before other commands that may need to reference them.
! These commands will be repeated further on as each virtual router and vrf
! has its configuration presented.
!
virtual-router default
virtual-router CORE
virtual-router EDGE
!
!
hostname ERX
exception protocol ftp anonymous null
!
line console 0
line vty 0 4
no login
!
log engineering
log verbosity low
no log severity *
no log engineering
log fields timestamp instance no-calling-task
!
bandwidth oversubscription
profile COREPROF
ip unnumbered loopback 0
!
profile EDGEPROF
ip unnumbered loopback 1
!
profile default
!
virtual-router default
aaa authentication ppp default radius
aaa accounting ppp default radius
!
ip address-pool local
interface null 0
!
interface fastEthernet 0/0
ip address 192.168.1.110 255.255.255.0
!
interface gigabitEthernet 4/0
!
interface fastEthernet 2/0
mtu 1526
!
interface fastEthernet 2/1
mtu 1526
!
interface fastEthernet 2/2
mtu 1526
!
interface fastEthernet 2/3
mtu 1526
!
interface fastEthernet 2/4
mtu 1526
!
interface fastEthernet 2/5
mtu 1526
!
interface fastEthernet 2/6
mtu 1526
!
interface fastEthernet 2/7
mtu 1526
!
interface fastEthernet 3/0
!
interface fastEthernet 3/1
mtu 1526
!
interface fastEthernet 3/2
!
interface fastEthernet 3/3
!
interface fastEthernet 3/4
mtu 1526
!
interface fastEthernet 3/5
mtu 1526
!
interface fastEthernet 3/7
!
interface gigabitEthernet 5/0
!
snmp-server
!
! ==============================================================================
virtual-router CORE
aaa authentication ppp default radius
aaa accounting ppp default radius
!
ip address-pool local
mpls
!
mpls rsvp interface profile default
!
mpls ldp interface profile default
!
interface null 0
interface loopback 0
ip address 10.0.0.10 255.255.255.255
!
interface fastEthernet 2/0
mtu 1526
ip address 10.102.110.2 255.255.255.0
ip mtu 1500
ip proxy-arp
mpls
mpls rsvp profile default
ip rsvp bandwidth 75000
!
interface fastEthernet 2/2
mtu 1526
ip address 10.105.110.2 255.255.255.0
ip mtu 1496
ip proxy-arp
mpls
mpls rsvp profile default
ip rsvp bandwidth 75000
!
interface fastEthernet 2/3
mtu 1526
ip address 10.106.110.2 255.255.255.0
ip mtu 1500
ip proxy-arp
mpls
mpls rsvp profile default
ip rsvp bandwidth 75000
!
interface fastEthernet 2/4
mtu 1526
ip address 10.107.110.2 255.255.255.0
ip proxy-arp
mpls
mpls rsvp profile default
ip rsvp bandwidth 75000
!
interface fastEthernet 2/5
mtu 1526
ip address 10.108.110.2 255.255.255.0
ip mtu 1496
ip proxy-arp
mpls
mpls rsvp profile default
ip rsvp bandwidth 75000
!
interface fastEthernet 2/6
mtu 1526
ip address 10.109.110.2 255.255.255.0
ip proxy-arp
mpls
mpls rsvp profile default
ip rsvp bandwidth 75000
!
interface fastEthernet 2/7
mtu 1526
ip address 10.110.111.1 255.255.255.0
ip proxy-arp
mpls
mpls rsvp profile default
ip rsvp bandwidth 75000
!
interface fastEthernet 3/0
ip address 10.110.120.1 255.255.255.0
ip proxy-arp
mpls
mpls rsvp profile default
ip rsvp bandwidth 75000
!
interface fastEthernet 3/1
mtu 1526
ip address 10.101.110.2 255.255.255.0
ip mtu 1500
ip proxy-arp
mpls
mpls rsvp profile default
ip rsvp bandwidth 75000
!
interface fastEthernet 3/4
mtu 1526
ip address 10.2.10.1 255.255.255.0
ip proxy-arp
mpls
mpls rsvp profile default
ip rsvp bandwidth 75000
!
ip route 10.2.10.2 255.255.255.255 10.2.10.2
ip router-id 10.0.0.10
ip bgp-community new-format
no ip source-route
!
router ospf 1
! Area 0.0.0.0
mpls traffic-eng area 0.0.0.0
network 10.0.0.10 0.0.0.0 area 0.0.0.0
network 10.101.110.0 0.0.0.255 area 0.0.0.0
network 10.102.110.0 0.0.0.255 area 0.0.0.0
network 10.104.110.0 0.0.0.255 area 0.0.0.0
network 10.105.110.0 0.0.0.255 area 0.0.0.0
network 10.106.110.0 0.0.0.255 area 0.0.0.0
network 10.107.110.0 0.0.0.255 area 0.0.0.0
network 10.108.110.0 0.0.0.255 area 0.0.0.0
network 10.109.110.0 0.0.0.255 area 0.0.0.0
network 10.110.111.0 0.0.0.255 area 0.0.0.0
network 10.110.120.0 0.0.0.255 area 0.0.0.0
!
redistribute static
!
snmp-server
!
! ==============================================================================
virtual-router EDGE
aaa authentication ppp default radius
aaa accounting ppp default radius
!
ip address-pool local
mpls
!
no mpls ip propagate-ttl
!
mpls rsvp interface profile default
!
mpls ldp interface profile default
!
ip explicit-path name MYPATH enable
index 1 next-address 10.2.10.1
!
interface null 0
interface loopback 1
ip address 10.0.2.10 255.255.255.0
!
interface fastEthernet 3/5
mtu 1526
ip address 10.2.10.2 255.255.255.0
ip proxy-arp
mpls
mpls rsvp profile default
ip rsvp bandwidth 75000
!
interface fastEthernet 3/6
mtu 1500
ip address 192.168.110.1 255.255.255.0
ip proxy-arp
!
interface tunnel mpls:Cisco
tunnel mpls label-dist rsvp-te
tunnel mpls bandwidth 1
tunnel mpls path-option 1 explicit name MYPATH hop-by-hop
tunnel destination 10.2.1.2 mask 255.255.255.255
description Unis-Cisco
ip unnumbered loopback 1
!
interface tunnel mpls:Juniper
tunnel mpls label-dist rsvp-te
tunnel mpls bandwidth 1
tunnel mpls path-option 1 explicit name MYPATH hop-by-hop
tunnel destination 10.2.2.2 mask 255.255.255.255
description Unis-Juniper
ip unnumbered loopback 1
!
interface tunnel mpls:Foundry
tunnel mpls label-dist rsvp-te
tunnel mpls bandwidth 1
no tunnel mpls ip propagate-ttl
tunnel mpls path-option 1 explicit name MYPATH hop-by-hop
tunnel destination 10.2.3.2 mask 255.255.255.255
description Unis-Foundry
ip unnumbered loopback 1
!
interface tunnel mpls:Hitachi
tunnel mpls label-dist rsvp-te
tunnel mpls ban