加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

BGP聚合实验(2)

发布时间:2020-12-13 19:57:30 所属栏目:百科 来源:网络整理
导读:接上文BGP聚合实验(1) R1dis 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

接上文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

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读