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进入讨论组讨论。
相关图文阅读
频道图文推荐
健 康 咨 询
时 尚 咨 询
相关专题
- Sniffer使用简介(上) (14016次浏览)
- 网络监听攻击技术 (728次浏览)
- 教你配置OSPF动态路由协议的身份验证 (625次浏览)
- 控制路由协议 节省网络带宽 (577次浏览)
- TCP/IP原理、基础以及在Linux上的实现 (480次浏览)
- Sniffer Portable看不见的网管专家 (464次浏览)
- 什么是网络协议? (445次浏览)
- ATM应用技术及展望 (379次浏览)
- TCP/IP协议详解卷1学习笔记-IP校验和与ICMP (373次浏览)
- 路由选择原理笔记之协议比较 (341次浏览)



