专注于互联网--专注于架构

最新标签
网站地图
文章索引
Rss订阅

首页 »网络技术 » 思科路由器配置实例:思科 Catalyst 8500 配置例子一 »正文

思科路由器配置实例:思科 Catalyst 8500 配置例子一

来源: 发布时间:星期四, 2009年2月12日 浏览:60次 评论:0



  设备是Catalyst8540 CSR
  
  配置了ISL.VLAN.BVI,并且采用了HSRP
  
  这些例子中是用是IP地址保留地址在拥护网络中使用时要更换成你们自己想要合法IP地址
  
  例子:
  
  涉及到技术有: ISL VLAN GEC IRB 技术 ISL技术润许将任何
  
  快速以太口配置成中继端口生成树可以在中继端口上探测到并打破环路
  
  具体情况如下:
  
  快速以太口0/0/0划分了端口然后在子端口上封状了ISL而快速以太端口
  
  0/0/0作为中继端口它上面每个子端口连接到个VLAN在千兆以太端口上
  
  使用了GEC端口绑定技术和桥接技术并在目标端口GEC1/0/0上配置了端口探测
  
  具体配置单如下:
  
  version 12.0
  no service pad
  service timestamps debug datetime msec localtime show-timezone
  service timestamps log datetime msec localtime show-timezone
  service password-encryption
  !
  hostname Cat8540_Chinamobile
  !
  logging buffered 4096 debugging
  enable password 7 0833595e08
  !
  facility-alarm core-temperature major 53
  facility-alarm core-temperature minor 45
  clock timezone pst -8
  clock summer-time pdt recurring
  redundancy
  -cpu
  sync config startup
  sync config running
  ip subnet-zero
  no ip do-lookup
  ip name-server 172.19.2.132
  ip name-server 172.20.30.32
  ip multicast-routing
  ip dvmrp route-limit 20000
  bridge irb
  !
  erface port-channel9
  ip address 172.20.1.2 255.255.255.0
  no ip directed-broadcast
  ip pim dense-mode
  hold-queue 300 in
  !
  erface FastEthernet0/0/0
  no ip address
  no ip directed-broadcast
  no keepalive
  
  !
  erface FastEthernet0/0/0.128
  ip address 172.18.16.10 255.255.255.0
  ip helper-address 172.18.16.15
  no ip redirects
  no ip directed-broadcast
  ip pim dense-mode
  ip multicast ttl-threshold 1
  encapsulation isl 128
  ipx encapsulation ARPA
  ipx network 96A44fff
  
  !
  erface FastEthernet0/0/0.199
  ip address 172.18.17.15 255.255.255.0
  ip helper-address 172.18.16.16
  ip helper-address 172.18.16.17
  ip helper-address 172.18.16.18
  no ip redirects
  no ip directed-broadcast
  ip pim dense-mode
  ip multicast ttl-threshold 1
  encapsulation isl 199
  
  !
  erface FastEthernet0/0/0.201
  ip address 172.18.18.10 255.255.255.0
  ip helper-address 172.18.16.16
  ip helper-address 172.18.16.17
  ip helper-address 172.18.16.18
  no ip redirects
  no ip directe-broadcast
  ip pim dense-mode
  ip multicast ttl-threshold 1
  encapsulation isl 201
  
  !
  erface FastEthernet0/0/1
  no ip address
  no ip directed-broadcast
  no keepalive
  shutdown
  
  !
  erface FastEthernet0/0/2
  no ip address
  no ip directed-broadcast
  no keepalive
  shutdown
  
  !
  erface FastEthernet0/0/3
  no ip address
  no ip directed-broadcast
  no keepalive
  shutdown
  
  !
  erface FastEthernet0/0/4
  no ip address
  no ip directed-broadcast
  no keepalive
  shutdown
  
  !
  erface FastEthernet0/0/5
  no ip address
  no ip directed-broadcast
  no keepalive
  shutdown
  
  !
  erface FastEthernet0/0/6
  no ip address
  no ip directed-broadcast
  no keepalive
  shutdown
  
  !
  erface FastEthernet0/0/7
  no ip address
  no ip directed-broadcast
  no keepalive
  shutdown
  
  !
  erface FastEthernet0/0/8
  ip address 172.18.19.10 255.255.255.0
  ip helper-address 172.18.16.16
  ip helper-address 172.18.16.17
  ip helper-address 172.18.16.18
  no ip redirects
  no ip directe-broadcast
  ip pim dense-mode
  ip multicast ttl-threshold 1
  ip sdr listen
  no keepalive
  ipx network 95B12FFF
  
  !
  erface FastEthernet0/0/9
  no ip address
  no ip directed-broadcast
  no keepalive
  shutdown
  
  !
  erface FastEthernet0/0/12
  no ip address
  no ip directed-broadcast
  no keepalive
  shutdown
  
  !
  erface FastEthernet0/0/11
  no ip address
  no ip directed-broadcast
  no keepalive
  shutdown
  
  !
  erface FastEthernet0/0/12
  no ip address
  no ip directed-broadcast
  no keepalive
  shutdown
  
  !
  erface FastEthernet0/0/13
  no ip address
  no ip directed-broadcast
  no keepalive
  shutdown
  
  !
  erface FastEthernet0/0/14
  no ip address
  no ip directed-broadcast
  no keepalive
  shutdown
  
  !
  erface FastEthernet0/0/15
  no ip address
  no ip directed-broadcast
  no keepalive
  shutdown
  
  !
  erface GigabitEthernet1/0/0
  snoop erface FastEthernet0/0/3 direction both
  snoop erface FastEthernet0/0/4 direction both
  snoop erface FastEthernet0/0/5 direction both
  ip address 172.18.21.10 255.255.255.0
  ip helper-address 172.18.16.19
  ip helper-address 172.18.16.20
  ip helper-address 172.18.16.21
  
  !
  erface GigabitEthernet1/0/1
  no ip address
  no ip directed-broadcast
  no keepalive
  
  erface GigabitEthernet2/0/0
  ip address 172.18.1.1 255.255.255.0
  no ip directed-broadcast
  ip pim sparse-dense-mode
  
  !
  erface GigabitEthernet2/0/1
  ip address 172.19.1.1 255.255.255.0
  no ip directed-broadcast
  ip pim sparse-dense-mode
  
  !
  erface GigabitEthernet3/0/0
  no ip address
  no ip directed-broadcast
  channel-group 9
  
  
  !
  erface GigabitEthernet3/0/1
  no ip address
  no ip directed-broadcast
  channel-group 9
  
  
  !
  erface GigabitEthernet3/0/2
  no ip address
  no ip directed-broadcast
  channel-group 9
  
  
  !
  erface GigabitEthernet3/0/3
  no ip address
  no ip directed-broadcast
  channel-group 9
  
  !
  erface GigabitEthernet3/0/4
  no ip address
  no ip directed-broadcast
  channel-group 9
  
  !
  erface GigabitEthernet3/0/5
  no ip address
  no ip directed-broadcast
  channel-group 9
  
  !
  erface GigabitEthernet3/0/6
  no ip address
  no ip directed-broadcast
  channel-group 9
  
  !
  erface GigabitEthernet3/0/7
  no ip address
  no ip directed-broadcast
  channel-group 9
  
  !
  erface BVI1
  ip address 172.20.1.2 255.255.255.0
  no ip directed-broadcast
  no ip route-cache cef
  
  !
  erface Ethernet0
  ip address 172.18.20.10 255.255.255.0
  no ip directed-broadcast
  
  !
  router eigrp 170
  network 172.20.0.0
  network 172.21.0.0
  network 172.18.0.0
  network 172.19.0.0
  no auto-summary
  
  !
  router bgp 180
  network 172.18.1.0
  network 172.19.1.0
  no auto-summary
  !
  ip less
  !
  bridge 1 protocol ieee
  bridge 1 route ip
  bridge 1 route ipx
  !
  !
  ip http server
  !
  line con 0
  line aux 0
  line vtp 0 4
  login
0

相关文章

读者评论

发表评论

  • 昵称:
  • 内容: