频道直达 - 专题 - 新闻 - 技巧 - 组网 - 开发 - 安全 - web编程 - 图像 - 操作系统 - 数据库 - 教育 - 旅游 - 健康 - 时尚 - 驱动 - 软件 - 游戏 - 多媒体 - ERP - 讨论组

BGPMED选择

来源: 作者: 出处:巧巧读书 2006-09-21 进入讨论组

  Building configuration...
  
  Current configuration : 1324 bytes
  !
  version 12.1
  service timestamps debug uptime
  service timestamps log uptime
  no service password-encryption
  !
  hostname R5
  !
  enable secret 5 $1$Tt7g$lxycoveEsDshCXdA2Ii5Z1
  !
  !
  !
  !
  !
  ip subnet-zero
  no ip finger
  no ip domain-lookup
  ip host R1 2001 1.1.1.1
  ip host R2 2002 1.1.1.1
  ip host R3 2003 1.1.1.1
  ip host R4 2004 1.1.1.1
  ip host R6 2005 1.1.1.1
  ip host Cat 2006 1.1.1.1
  ip host Fe 2007 1.1.1.1
  ip host R8 2008 1.1.1.1
  !
  !
  !
  !
  interface Loopback0
  ip address 1.1.1.1 255.255.255.0
  !
  interface Loopback1
  ip address 2.2.2.2 255.255.255.0
  !
  interface Ethernet0
  ip address 192.168.0.2 255.255.255.0
  !
  interface Serial0
  ip address 193.1.1.1 255.255.255.0
  !
  interface Serial1
  ip address 192.1.1.1 255.255.255.0
  !
  router bgp 100
  bgp log-neighbor-changes
  network 1.0.0.0
  network 2.0.0.0
  neighbor 192.1.1.2 remote-as 200
  neighbor 192.1.1.2 route-map lab out
  neighbor 193.1.1.2 remote-as 200
  neighbor 193.1.1.2 route-map Alan out
  !
  ip classless
  ip http server
  !
  access-list 1 permit 1.0.0.0 0.255.255.255
  route-map Alan permit 10
  match ip address 1
  set metric 50
  !
  route-map Alan permit 20
  !
  route-map lab permit 10
  match ip address 1
  set metric 100
  !
  route-map lab permit 20
  !
  !
  line con 0
  transport input none
  line 1 8
  no exec
  transport input all
  line 9 16
  line aux 0
  line vty 0 4
  password cisco
  login
  !
  end
  
  R5#cle ip bgp *
  R5#
  01:10:16: %BGP-5-ADJCHANGE: neighbor 192.1.1.2 Down User reset
  01:10:16: %BGP-5-ADJCHANGE: neighbor 193.1.1.2 Down User resetx
  % Ambiguous command: "x"
  R5#1
  [Resuming connection 1 to r3 ... ]
  
  R3#cle ip bgp *
  R3#
  01:10:58: %BGP-5-ADJCHANGE: neighbor 193.1.1.2 Up
  01:11:01: %BGP-5-ADJCHANGE: neighbor 192.1.1.2 Up sh ip bgp
  BGP table version is 4, local router ID is 194.1.1.2
  Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
  Origin codes: i - IGP, e - EGP, ? - incomplete
  
  Network Next Hop Metric LocPrf Weight Path
  * 1.0.0.0 192.1.1.1 100 0 100 i
  *>i 193.1.1.1 50 100 0 100 i
  *> 2.0.0.0 192.1.1.1 0 0 100 i
  * i 193.1.1.1 0 100 0 100 ihttp://www.qqread.com/net-protocol/o261837.html进入讨论组讨论。
收藏此文】【 】【打印】【关闭
相关图文阅读
频道图文推荐
健 康 咨 询
时 尚 咨 询
巧巧读书宗旨
相关专题
最新论坛文章
站内各频道最新更新文档
站内最新制作专题
热门关键字导读
Photoshop教 程照片处理 照片制作 PS快捷键 抠图
计 算 机 故 障XP系统修复
艺 术 与 设 计设计 流媒体 设计欣赏 边框
计 算 机 安 全ARP
站内频道文章精选
巧巧电脑频道编辑信箱  告诉我们您想看的专题或文章