扫一扫
分享文章到微信
扫一扫
关注官方公众号
至顶头条
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
如果您非常迫切的想了解IT领域最新产品与技术信息,那么订阅至顶网技术邮件将是您的最佳途径之一。
现场直击|2021世界人工智能大会
直击5G创新地带,就在2021MWC上海
5G已至 转型当时——服务提供商如何把握转型的绝佳时机
寻找自己的Flag
华为开发者大会2020(Cloud)- 科技行者