BGP聚合实验(2)

前端之家收集整理的这篇文章主要介绍了BGP聚合实验(2)前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

接上文BGP聚合实验(1)

<R1>dis cu

#

version 5.20,Alpha 1011

#

sysname R1

#

password-control login-attempt 3 exceed lock-time 120

#

undo voice vlan mac-address 00e0-bb00-0000

#

ipsec cpu-backup enable

#

undo cryptoengine enable

#

domain default enable system

#

vlan 1

#

domain system

access-limit disable

state active

idle-cut disable

self-service-url disable

#

interface Serial0/6/0

link-protocol ppp

ip address 10.1.3.1 255.255.255.0

#

interface Serial0/6/1

link-protocol ppp

ip address 10.1.2.2 255.255.255.0

#

interface Serial0/6/2

link-protocol ppp

#

interface Serial0/6/3

link-protocol ppp

#

interface NULL0

#

interface Ethernet0/4/0

port link-mode bridge

#

interface Ethernet0/4/1

port link-mode bridge

#

interface Ethernet0/4/2

port link-mode bridge

#

interface Ethernet0/4/3

port link-mode bridge

#

interface Ethernet0/4/4

port link-mode bridge

#

interface Ethernet0/4/5

port link-mode bridge

#

interface Ethernet0/4/6

port link-mode bridge

#

interface Ethernet0/4/7

port link-mode bridge

#

bgp 100

import-route direct

import-route ospf 1

undo synchronization

peer 10.1.3.2 as-number 200

group ex external

peer 10.1.3.2 group ex

#

ospf 1

default-route-advertise always

area 0.0.0.0

network 10.1.2.0 0.0.0.255

#

load xml-configuration

#

user-interface con 0

user-interface vty 0 4

#

return

<R2>
%Feb 21 23:25:33:297 2013 R2 SHELL/4/LOGIN: Console login from con0dis cu
#
version 5.20,Alpha 1011
#
sysname R2
#
password-control login-attempt 3 exceed lock-time 120
#
undo voice vlan mac-address 00e0-bb00-0000
#
ipsec cpu-backup enable
#
undo cryptoengine enable
#
domain default enable system
#
vlan 1
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
interface Serial0/6/0
link-protocol ppp
ip address 10.1.3.2 255.255.255.0
#
interface Serial0/6/1
link-protocol ppp
#
interface Serial0/6/2
link-protocol ppp
#
interface Serial0/6/3
link-protocol ppp
#
interface NULL0
#
interface LoopBack0
ip address 11.1.1.1 255.255.255.255
#
interface LoopBack1
ip address 11.1.2.1 255.255.255.255
#
interface LoopBack2
ip address 11.1.3.1 255.255.255.255
#
interface Ethernet0/4/0
port link-mode bridge
#
interface Ethernet0/4/1
port link-mode bridge
#
interface Ethernet0/4/2
port link-mode bridge
#
interface Ethernet0/4/3
port link-mode bridge
#
interface Ethernet0/4/4
port link-mode bridge
#
interface Ethernet0/4/5
port link-mode bridge
#
interface Ethernet0/4/6
port link-mode bridge
#
interface Ethernet0/4/7
port link-mode bridge
#
bgp 200
import-route direct
undo synchronization
peer 10.1.3.1 as-number 100
group ex external
peer 10.1.3.1 group ex
#
load xml-configuration
#
user-interface con 0
user-interface vty 0 4
#
return
<R3>dis cu
#
version 5.20,Alpha 1011
#
sysname R3
#
password-control login-attempt 3 exceed lock-time 120
#
undo voice vlan mac-address 00e0-bb00-0000
#
ipsec cpu-backup enable
#
undo cryptoengine enable
#
domain default enable system
#
vlan 1
#
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
interface Serial0/6/0
link-protocol ppp
#
interface Serial0/6/1
link-protocol ppp
ip address 10.1.2.1 255.255.255.0
#
interface Serial0/6/2
link-protocol ppp
#
interface Serial0/6/3
link-protocol ppp
#
interface NULL0
#
interface LoopBack0
ip address 10.1.1.1 255.255.255.255
#
interface Ethernet0/4/0
port link-mode bridge
#
interface Ethernet0/4/1
port link-mode bridge
#
interface Ethernet0/4/2
port link-mode bridge
#
interface Ethernet0/4/3
port link-mode bridge
#
interface Ethernet0/4/4
port link-mode bridge
#
interface Ethernet0/4/5
port link-mode bridge
#
interface Ethernet0/4/6
port link-mode bridge
#
interface Ethernet0/4/7
port link-mode bridge
#
ospf 1
area 0.0.0.0
network 10.1.1.1 0.0.0.0
network 10.1.2.0 0.0.0.255
#
load xml-configuration
#
user-interface con 0
user-interface vty 0 4
#
return

猜你在找的设计模式相关文章