某市级银行数据中心广域网接入区技术规划及配置——配置脚本(6)

某市级银行数据中心广域网接入区技术规划及配置——配置脚本(6)

LSW5

sysname LSW5
#
vlan batch 10 20
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
diffserv domain default
#
drop-profile default
#
aaa
 authentication-scheme default
 authorization-scheme default
 accounting-scheme default
 domain default
 domain default_admin
 local-user admin password simple admin
 local-user admin service-type http
#
interface Vlanif1
#
interface Vlanif10
 ip address 20.0.56.1 255.255.255.252
 ospf network-type p2p
#
interface Vlanif20
 ip address 20.0.58.1 255.255.255.252
 ospf network-type p2p
#
interface MEth0/0/1
#
interface GigabitEthernet0/0/1
 port link-type access
 port default vlan 10
#
interface GigabitEthernet0/0/2
 port link-type access
 port default vlan 20
#
interface GigabitEthernet0/0/3
#
interface GigabitEthernet0/0/4
#
interface GigabitEthernet0/0/5
#
interface GigabitEthernet0/0/6
#
interface GigabitEthernet0/0/7
#
interface GigabitEthernet0/0/8
#
interface GigabitEthernet0/0/9
#
interface GigabitEthernet0/0/10
#
interface GigabitEthernet0/0/11
#
interface GigabitEthernet0/0/12
#
interface GigabitEthernet0/0/13
#
interface GigabitEthernet0/0/14
#
interface GigabitEthernet0/0/15
#
interface GigabitEthernet0/0/16
#
interface GigabitEthernet0/0/17
#
interface GigabitEthernet0/0/18
#
interface GigabitEthernet0/0/19
#
interface GigabitEthernet0/0/20
#
interface GigabitEthernet0/0/21
#
interface GigabitEthernet0/0/22
#
interface GigabitEthernet0/0/23
#
interface GigabitEthernet0/0/24
#
interface NULL0
#
interface LoopBack1
 ip address 220.201.5.50 255.255.255.255
#
interface LoopBack2
 ip address 220.201.5.51 255.255.255.255
#
interface LoopBack3
 ip address 220.201.5.52 255.255.255.255
#
interface LoopBack4
 ip address 220.201.5.53 255.255.255.255
#
interface LoopBack5
 ip address 220.201.5.54 255.255.255.255
#
interface LoopBack6
 ip address 220.201.5.55 255.255.255.255
#
interface LoopBack7
 ip address 220.201.5.56 255.255.255.255
#
interface LoopBack8
 ip address 220.201.5.57 255.255.255.255
#
interface LoopBack9
 ip address 220.201.5.58 255.255.255.255
#
interface LoopBack10
 ip address 220.201.5.59 255.255.255.255
#
ospf 1 router-id 20.5.5.5
 import-route direct type 1 route-policy yinru
 area 0.0.0.1
  network 20.0.56.0 0.0.0.3
  network 20.0.58.0 0.0.0.3
#
route-policy yinru permit node 10
 if-match ip-prefix yinru
#
ip ip-prefix yinru index 10 permit 220.201.5.0 24 greater-equal 32 less-equal 32

#
user-interface con 0
user-interface vty 0 4
#
return

LSW6

sysname LSW6
#
vlan batch 10 20
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
diffserv domain default
#
drop-profile default
#
aaa
 authentication-scheme default
 authorization-scheme default
 accounting-scheme default
 domain default
 domain default_admin
 local-user admin password simple admin
 local-user admin service-type http
#
interface Vlanif1
#
interface Vlanif10
 ip address 20.0.66.1 255.255.255.252
 ospf network-type p2p
#
interface Vlanif20
 ip address 20.0.68.1 255.255.255.252
 ospf network-type p2p
#
interface MEth0/0/1
#
interface GigabitEthernet0/0/1
 port link-type access
 port default vlan 10
#
interface GigabitEthernet0/0/2
 port link-type access
 port default vlan 20
#
interface GigabitEthernet0/0/3
#
interface GigabitEthernet0/0/4
#
interface GigabitEthernet0/0/5
#
interface GigabitEthernet0/0/6
#
interface GigabitEthernet0/0/7
#
interface GigabitEthernet0/0/8
#
interface GigabitEthernet0/0/9
#
interface GigabitEthernet0/0/10
#
interface GigabitEthernet0/0/11
#
interface GigabitEthernet0/0/12
#
interface GigabitEthernet0/0/13
#
interface GigabitEthernet0/0/14
#
interface GigabitEthernet0/0/15
#
interface GigabitEthernet0/0/16
#
interface GigabitEthernet0/0/17
#
interface GigabitEthernet0/0/18
#
interface GigabitEthernet0/0/19
#
interface GigabitEthernet0/0/20
#
interface GigabitEthernet0/0/21
#
interface GigabitEthernet0/0/22
#
interface GigabitEthernet0/0/23
#
interface GigabitEthernet0/0/24
#
interface NULL0
#
interface LoopBack1
 ip address 220.201.6.60 255.255.255.255
#
interface LoopBack2
 ip address 220.201.6.61 255.255.255.255
#
interface LoopBack3
 ip address 220.201.6.62 255.255.255.255
#
interface LoopBack4
 ip address 220.201.6.63 255.255.255.255
#
interface LoopBack5
 ip address 220.201.6.64 255.255.255.255
#
interface LoopBack6
 ip address 220.201.6.65 255.255.255.255
#
interface LoopBack7
 ip address 220.201.6.66 255.255.255.255
#
interface LoopBack8
 ip address 220.201.6.67 255.255.255.255
#
interface LoopBack9
 ip address 220.201.6.68 255.255.255.255
#
interface LoopBack10
 ip address 220.201.6.69 255.255.255.255
#
ospf 1 router-id 20.6.6.6
 import-route direct type 1 route-policy yinru
 area 0.0.0.1
  network 20.0.66.0 0.0.0.3
  network 20.0.68.0 0.0.0.3
#
route-policy yinru permit node 10
 if-match ip-prefix yinru
#
ip ip-prefix yinru index 10 permit 220.201.6.0 24 greater-equal 32 less-equal 32
#
user-interface con 0
user-interface vty 0 4
#
return

LSW7

sysname LSW7
#
vlan batch 10 20
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
diffserv domain default
#
drop-profile default
#
aaa
 authentication-scheme default
 authorization-scheme default
 accounting-scheme default
 domain default
 domain default_admin
 local-user admin password simple admin
 local-user admin service-type http
#
interface Vlanif1
#
interface Vlanif10
 ip address 20.0.107.1 255.255.255.252
 ospf network-type p2p
#
interface Vlanif20
 ip address 20.0.127.1 255.255.255.252
 ospf network-type p2p
#
interface MEth0/0/1
#
interface GigabitEthernet0/0/1
 port link-type access
 port default vlan 10
#
interface GigabitEthernet0/0/2
 port link-type access
 port default vlan 20
#
interface GigabitEthernet0/0/3
#
interface GigabitEthernet0/0/4
#
interface GigabitEthernet0/0/5
#
interface GigabitEthernet0/0/6
#
interface GigabitEthernet0/0/7
#
interface GigabitEthernet0/0/8
#
interface GigabitEthernet0/0/9
#
interface GigabitEthernet0/0/10
#
interface GigabitEthernet0/0/11
#
interface GigabitEthernet0/0/12
#
interface GigabitEthernet0/0/13
#
interface GigabitEthernet0/0/14
#
interface GigabitEthernet0/0/15
#
interface GigabitEthernet0/0/16
#
interface GigabitEthernet0/0/17
#
interface GigabitEthernet0/0/18
#
interface GigabitEthernet0/0/19
#
interface GigabitEthernet0/0/20
#
interface GigabitEthernet0/0/21
#
interface GigabitEthernet0/0/22
#
interface GigabitEthernet0/0/23
#
interface GigabitEthernet0/0/24
#
interface NULL0
#
interface LoopBack1
 ip address 220.202.7.70 255.255.255.255
#
interface LoopBack2
 ip address 220.202.7.71 255.255.255.255
#
interface LoopBack3
 ip address 220.202.7.72 255.255.255.255
#
interface LoopBack4
 ip address 220.202.7.73 255.255.255.255
#
interface LoopBack5
 ip address 220.202.7.74 255.255.255.255
#
interface LoopBack6
 ip address 220.202.7.75 255.255.255.255
#
interface LoopBack7
 ip address 220.202.7.76 255.255.255.255
#
interface LoopBack8
 ip address 220.202.7.77 255.255.255.255
#
interface LoopBack9
 ip address 220.202.7.78 255.255.255.255
#
interface LoopBack10
 ip address 220.202.7.79 255.255.255.255
#
ospf 1 router-id 20.7.7.7
 import-route direct route-policy yinru
 area 0.0.0.1
  network 20.0.107.0 0.0.0.3
  network 20.0.127.0 0.0.0.3
#
route-policy yinru permit node 10
 if-match ip-prefix yinru
#
ip ip-prefix yinru index 10 permit 220.202.7.0 24 greater-equal 32 less-equal 32

#
user-interface con 0
user-interface vty 0 4
#
return

LSW8

sysname LSW8
#
vlan batch 10 20
#
cluster enable
ntdp enable
ndp enable
#
drop illegal-mac alarm
#
diffserv domain default
#
drop-profile default
#
aaa
 authentication-scheme default
 authorization-scheme default
 accounting-scheme default
 domain default
 domain default_admin
 local-user admin password simple admin
 local-user admin service-type http
#
interface Vlanif1
#
interface Vlanif10
 ip address 20.0.108.1 255.255.255.252
 ospf network-type p2p
#
interface Vlanif20
 ip address 20.0.128.1 255.255.255.252
 ospf network-type p2p
#
interface MEth0/0/1
#
interface GigabitEthernet0/0/1
 port link-type access
 port default vlan 10
#
interface GigabitEthernet0/0/2
 port link-type access
 port default vlan 20
#
interface GigabitEthernet0/0/3
#
interface GigabitEthernet0/0/4
#
interface GigabitEthernet0/0/5
#
interface GigabitEthernet0/0/6
#
interface GigabitEthernet0/0/7
#
interface GigabitEthernet0/0/8
#
interface GigabitEthernet0/0/9
#
interface GigabitEthernet0/0/10
#
interface GigabitEthernet0/0/11
#
interface GigabitEthernet0/0/12
#
interface GigabitEthernet0/0/13
#
interface GigabitEthernet0/0/14
#
interface GigabitEthernet0/0/15
#
interface GigabitEthernet0/0/16
#
interface GigabitEthernet0/0/17
#
interface GigabitEthernet0/0/18
#
interface GigabitEthernet0/0/19
#
interface GigabitEthernet0/0/20
#
interface GigabitEthernet0/0/21
#
interface GigabitEthernet0/0/22
#
interface GigabitEthernet0/0/23
#
interface GigabitEthernet0/0/24
#
interface NULL0
#
interface LoopBack1
 ip address 220.202.8.80 255.255.255.255
#
interface LoopBack2
 ip address 220.202.8.81 255.255.255.255
#
interface LoopBack3
 ip address 220.202.8.82 255.255.255.255
#
interface LoopBack4
 ip address 220.202.8.83 255.255.255.255
#
interface LoopBack5
 ip address 220.202.8.84 255.255.255.255
#
interface LoopBack6
 ip address 220.202.8.85 255.255.255.255
#
interface LoopBack7
 ip address 220.202.8.86 255.255.255.255
#
interface LoopBack8
 ip address 220.202.8.87 255.255.255.255
#
interface LoopBack9
 ip address 220.202.8.88 255.255.255.255
#
interface LoopBack10
 ip address 220.202.8.89 255.255.255.255
#
ospf 1 router-id 20.8.8.8
 import-route direct type 1 route-policy yinru
 area 0.0.0.1
  network 20.0.108.0 0.0.0.3
  network 20.0.128.0 0.0.0.3
#
route-policy yinru permit node 10
 if-match ip-prefix yinru
#
ip ip-prefix yinru index 10 permit 220.202.8.0 24 greater-equal 32 less-equal 32

#
user-interface con 0
user-interface vty 0 4
#
return

完结 =v=

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值