xiaui520 发表于 2018-7-10 10:10:17

基于Cisco技术的MPLS原理以及应用实现[一]

Current configuration : 1374 bytes  !
  version 12.3
  service timestamps debug datetime msec
  service timestamps log datetime msec
  no service password-encryption
  !
  hostname r2
  !
  boot-start-marker
  boot-end-marker
  !
  !
  no aaa new-model
  ip subnet-zero
  !
  !
  no ip domain lookup
  !
  ip cef
  mpls label range 200 299
  mpls label protocol ldp
  tag-switching tdp router-id Loopback0
  !
  !
  interface Loopback0
  ip address 2.2.2.2 255.255.255.255
  !
  interface FastEthernet0/0
  no ip address
  shutdown
  duplex half
  !
  interface Ethernet1/0
  ip address 172.16.2.2 255.255.0.0
  duplex half
  !
  interface Ethernet1/1
  ip address 10.2.2.2 255.255.255.0
  duplex half
  mpls label protocol ldp
  tag-switching ip
  !
  interface Ethernet1/2
  no ip address
  shutdown
  duplex half
  !
  interface Ethernet1/3
  no ip address
  shutdown
  duplex half
  !
  router ospf 2
  log-adjacency-changes
  network 2.2.2.2 0.0.0.0 area 0
  network 10.2.2.0 0.0.0.255 area 0
  network 172.16.0.0 0.0.255.255 area 0
  !
  router bgp 100
  no synchronization
  bgp router-id 20.20.20.20
  bgp log-neighbor-changes
  neighbor 5.5.5.5 remote-as 100
  neighbor 5.5.5.5 update-source Loopback0
  neighbor 172.16.1.1 remote-as 200
  no auto-summary
  !

  ip>  no ip http server
  no ip http secure-server
  !
  !
  gatekeeper
  shutdown
  !
  !
  line con 0
  exec-timeout 0 0
  logging synchronous
  stopbits 1
  line aux 0
  stopbits 1
  line vty 0 4
  login
  !
  !
  end
页: [1]
查看完整版本: 基于Cisco技术的MPLS原理以及应用实现[一]