BGPMED选择

王朝other·作者佚名  2008-05-19
窄屏简体版  字體: |||超大  

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 i

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航