国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 網絡通信 > 正文

Two PE-Three CE Configuration BGP-connected CE

2019-11-04 20:50:01
字體:
來源:轉載
供稿:網友

  Two PE-Three CE Configuration BGP-connected CE
  CE1 Configuration
  This is an example of the CE1 configuration.
  
  hostname CE1
  !
  interface Ethernet0
  ip address 172.16.1.1 255.255.255.0
  no ip directed-broadcast
  !
  interface Serial0
  no ip address
  encapsulation frame-relay
  service module t1 clock source line
  !
  interface Serial0.1 point-to-point
  frame-relay interface-dlci 123
  ip address 10.101.1.2 255.255.255.252
  no ip directed-broadcast
  !
  router ospf 100
  redistribute bgp 101
  network 172.16.0.0 0.0.255.255 area 100
  !
  router bgp 101
  redistribute ospf 100
  no synchronization
  network 172.16.0.0
  neighbor 10.101.1.1 remote-as 100
  !
  
  CE2 Configuration
  This is an example of the CE2 configuration.
  
  hostname CE2
  !
  interface Ethernet0
  ip address 172.16.1.2 255.255.255.0
  no ip directed-broadcast
  !
  interface Serial0
  no ip address
  encapsulation frame-relay
  service module t1 clock source line
  !
  interface Serial0.1 point-to-point
  frame-relay interface-dlci 123
  
  ip address 10.101.2.2 255.255.255.252
  no ip directed-broadcast
  !
  router ospf 100
  redistribute bgp 101
  network 172.16.0.0 0.0.255.255 area 100
  !
  router bgp 101
  redistribute ospf 100
  no synchronization
  network 172.16.0.0
  neighbor 10.101.2.1 remote-as 100
  !
  
  CE3 Configuration
  This is an example of the CE3 configuration.
  
  hostname CE3
  !
  interface Ethernet0
  ip address 172.16.3.1 255.255.255.0
  no ip directed-broadcast
  !
  interface Serial0
  no ip address
  encapsulation frame-relay
  service module t1 clock source line
  !
  interface Serial0.1 point-to-point
  frame-relay interface-dlci 123
  
  ip address 10.101.3.2 255.255.255.252
  no ip directed-broadcast
  !
  router ospf 100
  redistribute bgp 101
  network 172.16.0.0 0.0.255.255 area 100
  !
  router bgp 101
  no synchronization
  redistribute ospf 100
  network 172.16.0.0
  neighbor 10.101.3.1 remote-as 100
  !
  
  PE1 Configuration
  This is an example of the PE1 configuration.
  
  hostname RPM1
  !
  ip vrf vpn1 ! Define a VRF for VPN 1
  rd 100:1
  route-target eXPort 100:1
  route-target import 100:1
  !
  ip cef
  !
  interface loopback0
  ip address 10.1.1.1 255.255.255.255
  !
  interface Switch1
  no ip address
  !
  interface Switch1.1 tag-switching
  ip unnumbered Loopback0
  atm pvc 50 50 0 aal5snap vbr-nrt 10000 10000 64000
  tag-switching atm vp-tunnel 50
  tag-switching ip
  !
  router ospf 1
  network 10.1.0.0 0.0.255.255 area 0
  interface Switch1.101
  ip address 10.101.1.1 255.255.255.252
  pvc 0/101
  encap aal5snap
  vbr-nrt 1500 1500 64000
  ip vrf forwarding vpn1
  !
  interface Switch1.102
  ip address 10.101.2.1 255.255.255.252
  pvc 0/102
  encap aal5snap
  vbr-nrt 1500 1500 64000
  ip vrf forwarding vpn1
  !
  router bgp 100
  no synchronization
  no bgp default ipv4-unicast
  neighbor 212.212.212.2 remote-as 100 !define BGP connection to PE2 for IPv4
  neighbor 212.212.212.2 update-source Loopback0
  !
  address-family vpnv4 !define BGP connection to PE2 for VPN routes
  neighbor 212.212.212.2 activate
  neighbor 212.212.212.2 send-community extended
  exit-address-family
  !
  address-family ipv4 vrf vpn1 ! Define BGP PE-CE sessions for vpn1
  neighbor 10.101.1.2 remote-as 101
  neighbor 10.101.1.2 activate
  neighbor 10.101.2.2 remote-as 101
  neighbor 10.101.2.2 activate
  no auto-summary
  no synchronization
  exit-address-family
  !
  rpmrscPRtn par 100 100 1 100 10 4000 3800
  addconn vpc switch 1/1.1 50 rslot 0 1 50 master local
  addcon vcc Switch1.101 101 rslot 18 1 0 123 master local
  addcon vcc Switch1.102 102 rslot 18 2 0 123 master local
  !
  
  PE2 Configuration
  This is an example of the PE2 configuration.
  
  hostname RPM1
  !
  ip vrf vpn1 ! Define a VRF for VPN 1
  rd 100:1
  route-target export 100:1
  route-target import 100:1
  !
  ip cef
  !
  interface loopback0
  ip address 10.1.1.1 255.255.255.255
  !
  interface Switch1
  no ip address
  !
  interface Switch1.1 tag-switching
  ip unnumbered Loopback0
  atm pvc 50 50 0 aal5snap vbr-nrt 10000 10000 64000
  tag-switching atm vp-tunnel 50
  tag-switching ip
  !
  router ospf 1
  network 10.1.0.0 0.0.255.255 area 0
  
  interface Switch1.101
  ip address 10.101.3.1 255.255.255.252
  pvc 0/101
  encap aal5snap
  vbr-nrt 1500 1500 64000
  ip vrf forwarding vpn1
  !
  router bgp 100
  no synchronization
  no bgp default ipv4-unicast
  neighbor 212.212.212.1 remote-as 100 !define BGP connection to PE1 for IPv4
  neighbor 212.212.212.1 update-source Loopback0
  !
  address-family vpnv4 !define BGP connection to PE1 for VPN routes
  neighbor 212.212.212.1 activate
  neighbor 212.212.212.1 send-community extended
  exit-address-family
  !
  address-family ipv4 vrf vpn1 ! Define BGP PE-CE3 session for vpn1
  neighbor 10.101.3.2 remote-as 101
  neighbor 10.101.3.2 activate
  no auto-summary
  no synchronization
  exit-address-family
  !
  rpmrscprtn par 100 100 1 100 10 4000 3800
  addconn vpc switch 1/1.1 50 rslot 0 1 50 master local
  addcon vcc Switch1.101 101 rslot 18 1 0 123 master local
  !
  
  Two PE-Three CE Configuration, RIP-connected CE Routers
  This is similar to the previous examples except that RIP is used between CE and PE routers. The use of RIP is not recommended when there are "back-door" routes between customer sites, for example, links between CEs, except through the VPN network.
  
  CE1 Configuration
  This is an example of the CE1 configuration.
  
  hostname CE1
  !
  interface Ethernet0
  ip address 172.16.1.1 255.255.255.0
  no ip directed-broadcast
  !
  interface Serial0
  no ip address
  encapsulation frame-relay
  service module t1 clock source line
  !
  interface Serial0.1 point-to-point
  frame-relay interface-dlci 123
  
  ip address 10.101.1.2 255.255.255.252
  no ip directed-broadcast
  !
  router rip
  version 2
  network 10.0.0.0
  network 172.16.0.0
  no auto-summary
  !
  
  CE2 Configuration
  This is an example of the CE2 configuration.
  
  hostname CE2
  !
  interface Ethernet0
  ip address 172.16.2.1 255.255.255.0
  no ip directed-broadcast
  !
  interface Serial0
  no ip address
  encapsulation frame-relay
  service module t1 clock source line
  !
  interface Serial0.1 point-to-point
  frame-relay interface-dlci 123
  
  ip address 10.101.2.2 255.255.255.252
  no ip directed-broadcast
  !
  router rip
  version 2


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 剑川县| 桐梓县| 土默特左旗| 定日县| 永胜县| 临桂县| 曲靖市| 遂宁市| 昌邑市| 云龙县| 讷河市| 普宁市| 澄城县| 黑河市| 锡林郭勒盟| 沽源县| 榆林市| 泌阳县| 高州市| 莱西市| 平安县| 柘荣县| 乌鲁木齐市| 马公市| 宁陕县| 文成县| 毕节市| 离岛区| 梨树县| 江华| 滨海县| 柏乡县| 齐齐哈尔市| 凭祥市| 越西县| 西安市| 九江市| 资源县| 泸州市| 讷河市| 溧阳市|