您现在的位置: 天下网吧 >> 网吧焦点 >> 网吧技术 >> 网吧路由 >> 正文

4006划分vlan

[作者:中国IT实验室收集整… 来源:不详 时间:2012-11-15我来说两句

  交换机部分:
  begin
  !
  # ***** NON-DEFAULT CONFIGURATION *****
  !
  !
  #time: Thu Nov 1 2001, 00:00:10
  !
  #version 6.3(2)
  !
  !
  #system web interface version(s)
  set enablepass $2$nINM$ofyLjkYbN74lrHCw4/dhE0
  !
  #test
  !
  #frame distribution method
  set port channel all distribution mac both
  !
  #vtp
  set vtp domain anyang
  set vtp v2 enable
  set vlan 1 name default type ethernet mtu 1500 said 100001 state active
  set vlan 9 name admin type ethernet mtu 1500 said 100009 state active
  set vlan 1002 name fddi-default type fddi mtu 1500 said 101002 state active
  set vlan 1004 name fddinet-default type fddinet mtu 1500 said 101004 state active bridge 0x0 stp IEee
  set vlan 1005 name trbrf-default type trbrf mtu 4472 said 101005 state active bridge 0xf stp ibm
  set vlan 2-8
  set vlan 1003 name trcrf-default type trcrf mtu 4472 said 101003 state active parent 1005 ring 0xccc mode srb aremaxhop 7 stemaxhop 7 backupcrf off
  !
  #ip
  set interface SC0 8 192.168.0.251/255.255.255.0 192.168.0.255
  
  set interface sl0 down
  set interface me1 192.168.0.2 255.255.255.0 192.168.0.255
  
  set interface me1 down
  set ip route 0.0.0.0/0.0.0.0 192.168.0.254
  !
  #syslog
  set logging lEVEl cops 2 default
  !
  #set boot command
  set boot config-register 0x2
  set boot system flash bootflash:cat4000.6-3-2.bin
  !
  #port channel
  set port channel 1/1-2 6
  set port channel 2/3-4 36
  set port channel 2/5-8 39
  set port channel 2/9-12 40
  set port channel 2/13-16 41
  set port channel 2/17-20 42
  set port channel 2/21-24 43
  set port channel 2/25-28 44
  set port channel 2/29-32 45
  set port channel 2/33-34 46
  set port channel 2/1-2 47
  !
  #http configuration
  set ip http server enable
  !
  #module 1 : 2-port 1000BaseX Supervisor
  set trunk 1/1 on dot1q 1-1005
  set trunk 1/2 on dot1q 1-1005
  set port channel 1/1-2 mode off
  !
  #module 2 : 34-port Router Switch Card
  set vlan 7 2/3-13
  set vlan 8 2/14-34
  set trunk 2/1 on dot1q 1-1005
  set trunk 2/2 on dot1q 1-1005
  set trunk 2/3 on dot1q 1-1005
  set port channel 2/1-2 mode on
  set port channel 2/3-34 mode off
  !
  #module 3 empty
  !
  #module 4 empty
  !
  #module 5 empty
  !
  #module 6 empty
  end
  
  
  三层模块部分:
  
  
  !
  version 12.0
  no service pad
  service timestamps debug uptime
  service timestamps log uptime
  no service password-encryption
  !
  hostname Router
  !
  !
  ip subnet-zero
  !
  !
  !
  interface Port-channel1
  no ip address
  no ip directed-broadcast
  hold-queue 300 in
  !
  interface Port-channel1.1
  encapsulation dot1Q 1 native
  ip address 192.168.1.254 255.255.255.0
  no ip redirects
  no ip directed-broadcast
  !
  interface Port-channel1.2
  encapsulation dot1Q 2
  ip address 192.168.2.254 255.255.255.0
  no ip directed-broadcast
  !
  interface Port-channel1.3
  encapsulation dot1Q 3
  ip address 192.168.3.254 255.255.255.0
  no ip directed-broadcast
  !
  interface Port-channel1.4
  encapsulation dot1Q 4
  ip address 192.168.4.254 255.255.255.0
  no ip directed-broadcast
  !
  interface Port-channel1.5
  encapsulation dot1Q 5
  ip address 192.168.5.254 255.255.255.0
  no ip directed-broadcast
  !
  interface Port-channel1.6
  encapsulation dot1Q 6
  ip address 192.168.6.254 255.255.255.0
  no ip directed-broadcast
  !
  interface Port-channel1.7
  encapsulation dot1Q 7
  ip address 192.168.7.254 255.255.255.0
  no ip directed-broadcast
  !
  interface Port-channel1.8
  encapsulation dot1Q 8
  ip address 192.168.0.254 255.255.255.0
  no ip directed-broadcast
  !
  interface Port-channel1.9
  encapsulation dot1Q 9
  ip address 192.168.9.254 255.255.255.0
  no ip directed-broadcast
  !
  interface Port-channel1.100
  no ip redirects
  no ip directed-broadcast
  shutdown
  !
  interface Port-channel27
  no ip address
  no ip directed-broadcast
  hold-queue 300 in
  !
  interface FastEthernet1
  no ip address
  no ip directed-broadcast
  !
  interface GigabitEthernet1
  no ip address
  no ip directed-broadcast
  shutdown
  !
  interface GigabitEthernet2
  no ip address
  no ip directed-broadcast
  shutdown
  !
  interface GigabitEthernet3
  no ip address
  no ip directed-broadcast
  no negotiation auto
  channel-group 1
  !
  interface GigabitEthernet4
  no ip address
  no ip directed-broadcast
  no negotiation auto
  channel-group 1
  !
  ip default-gateway 192.168.0.254
  ip classless
  !
  !
  line con 0
  transport input none
  line aux 0
  line vty 0 4
  login
  !
  end
  
  :em07:
  
我来说两句(请遵守法律法规)
 网吧精品   网络布线   热门专题   推荐配置   网络安全   路由专题   网吧游戏更新   网吧QQ关   网吧注册表   网管初学   网吧优化   网吧无盘优化   网吧系统优化   迅闪2008   网吧三层更新   无盘服务器   MaxDos   Win2008   网吧虚拟磁盘   星际争霸II   锐起无盘   网维大师   网吧游戏菜单   网吧活动   迅闪2009   网吧母盘   万象   网吧真实生活   迅闪2010   信佑2010   Windows8   信佑   迅闪   易游   顺网无盘   连锁网吧   黑网吧   2011网吧新闻   网吧闲聊   网吧游戏   互联网类软件   增值联盟   网吧广告联盟   有道搜索联盟   淘123联盟   网吧广告   深度无盘   信佑无盘   网众无盘   MZD无盘   网吧软件故障解决   网吧硬件故障大全   海蜘蛛   ROS   磁盘缓存   网吧GHOST   快吧无盘   快吧教程   网吧防盗   2011网吧政策   绿色网吧   网吧禁烟   万象2004   雪花病毒   网吧电影   网吧达人   QQ网吧   SuperCache|SuperSpeed   CCDISK   网吧远程控制   2011网吧配置   万象密码   迅闪无盘   网吧系统下载   网吧管理系统   网吧键盘   网吧鼠标   win8,Windows 8教程,Windows 8下载   网吧最新新闻   网吧路由   锐起无盘补丁   WayOs   网吧显示器   液晶   万能包   网吧消防   显卡   SSD   网卡   网吧源码   主板   云海   I8无盘   网卡汇聚   网吧DDOS

更多专题

声明
本文来源地址:http://cisco.chinaitlab.com/List_137.html
声明:本站所发表的文章、评论及图片仅代表作者本人观点,与本站立场无关。若文章侵犯了您的相关权益,请及时与我们联系,我们会及时处理,感谢您对本站的支持!联系邮箱:support@txwb.com.
天下网吧·网吧天下
  • 本周热门
  • 本月热门
  • 阅读排行
网吧,网吧系统,网吧资讯,网吧软件,网吧技术,网吧无盘,网吧经营,网吧管理,网吧联盟。