网管联盟 | 网管论坛 | 网管u家 | 网管博客 | 网管软件 | 网管求职 | 小游戏 | 网管搜索 | 网管原创 | 网管聚合 | 网管读摘 | 网管焦点 | 世界素材 | 会员投稿 | 会员中心 
中国网管联盟
Windows Linux Cisco 网络技术 数据库 黑客攻防 DotNet Java PHP 认证 新闻资讯 服务器 存储资讯 网络设备 网管学堂 技术专题 焦点 网吧频道
 当前位置: > bitsCN.com > CISCO > 路由技术 > 路由配置 > 配置NetScreen 208+C3550 VLAN间路由  

配置NetScreen 208+C3550 VLAN间路由

2002-11-10  作者:BitsCN整理  来源:中国网管联盟  点评 投稿 收藏


  配置例子:
  
  C3550#show running-config
  Building configuration...
  
  Current configuration : 4143 bytes
  !
  version 12.1
  no service pad
  service timestamps debug uptime
  service timestamps log uptime
  no service password-encryption
  !
  hostname C3550
  !
  ip subnet-zero
  ip routing
  !
  cluster enable aaa 0
  !
  spanning-tree extend system-id
  !
  !
  !
  interface FastEthernet0/1
  description UpLink FW
  no switchport
  ip address 192.168.0.1 255.255.255.0
  !
  interface FastEthernet0/2
  no ip address
  !
  interface FastEthernet0/3
  switchport trunk encapsulation dot1q
  switchport mode trunk
  no ip address
  !
  interface FastEthernet0/4
  no ip address
  !
  interface FastEthernet0/5
  no ip address
  !
  interface FastEthernet0/6
网管u家u.bitsCN.com

  no ip address
  !
  interface FastEthernet0/7
  no ip address
  !
  interface FastEthernet0/8
  no ip address
  !
  interface FastEthernet0/9
  switchport access vlan 9
  switchport mode access
  no ip address
  !
  interface FastEthernet0/10
  no ip address
  !
  interface FastEthernet0/11
  no ip address
  !
  interface FastEthernet0/12
  no ip address
  !
  interface FastEthernet0/13
  description Test Port 13
  switchport access vlan 9
  no ip address
  !
  interface FastEthernet0/14
  description Test Port 14
  switchport trunk encapsulation dot1q
  switchport mode trunk
  no ip address
  !
  interface FastEthernet0/15
  no ip address
  !
  interface FastEthernet0/16
  no ip address
  !
  interface FastEthernet0/17
  no ip address
  !
  interface FastEthernet0/18

网管u家u.bitscn@com


  no ip address
  !
  interface FastEthernet0/19
  no ip address
  !
  interface FastEthernet0/20
  no ip address
  !
  interface FastEthernet0/21
  no ip address
  !
  interface FastEthernet0/22
  no ip address
  !
  interface FastEthernet0/23
  no ip address
  !
  interface FastEthernet0/24
  no ip address
  !
  interface GigabitEthernet0/1
  no ip address
  !
  interface GigabitEthernet0/2
  no ip address
  !
  interface Vlan1
  ip address 192.168.1.1 255.255.255.0
  no ip mroute-cache
  !
  interface Vlan2
  ip address 192.168.2.1 255.255.255.0
  !
  interface Vlan3
  ip address 192.168.3.1 255.255.255.0
  !
  interface Vlan4
  ip address 192.168.4.1 255.255.255.0
  !
  interface Vlan5
  ip address 192.168.5.1 255.255.255.0
  !
  interface Vlan6
  ip address 192.168.6.1 255.255.255.0
网管bitscn_com

  !
  interface Vlan7
  ip address 192.168.7.1 255.255.255.0
  !
  interface Vlan8
  ip address 192.168.8.1 255.255.255.0
  !
  interface Vlan9
  ip address 192.168.9.1 255.255.255.0
  !
  interface Vlan10
  ip address 192.168.10.1 255.255.255.0
  !
  interface Vlan11
  ip address 192.168.11.1 255.255.255.0
  !
  interface Vlan12
  ip address 192.168.12.1 255.255.255.0
  !
  interface Vlan13
  ip address 192.168.13.1 255.255.255.0
  !
  interface Vlan14
  ip address 192.168.14.1 255.255.255.0
  !
  interface Vlan15
  ip address 192.168.15.1 255.255.255.0
  !
  interface Vlan16
  ip address 192.168.16.1 255.255.255.0
  !
  interface Vlan17
  ip address 192.168.17.1 255.255.255.0
  !
  interface Vlan18
  ip address 192.168.18.1 255.255.255.0
  !
  interface Vlan19
  ip address 192.168.19.1 255.255.255.0
网管u家u.bitscn@com

  !
  interface Vlan20
  ip address 192.168.20.1 255.255.255.0
  !
  interface Vlan21
  ip address 192.168.21.1 255.255.255.0
  !
  interface Vlan22
  ip address 192.168.22.1 255.255.255.0
  !
  interface Vlan23
  ip address 192.168.23.1 255.255.255.0
  !
  interface Vlan24
  ip address 192.168.24.1 255.255.255.0
  !
  router rip
  version 2
  network 192.168.0.0
  network 192.168.1.0
  network 192.168.2.0
  network 192.168.3.0
  network 192.168.4.0
  network 192.168.5.0
  network 192.168.6.0
  network 192.168.7.0
  network 192.168.8.0
  network 192.168.9.0
  network 192.168.10.0
  network 192.168.11.0
  network 192.168.12.0
  network 192.168.13.0
  network 192.168.14.0
  network 192.168.15.0
  network 192.168.16.0
  network 192.168.17.0
  network 192.168.18.0
  network 192.168.19.0
  network 192.168.20.0
网管联盟bitsCN_com

  network 192.168.21.0
  network 192.168.22.0
  network 192.168.23.0
  network 192.168.24.0
  !
  ip default-gateway 192.168.1.252
  ip classless
  ip route 0.0.0.0 0.0.0.0 192.168.1.252
  ip http server
  !
  ip access-list extended CMP-NAT-ACL
  dynamic Cluster-HSRP deny ip any any
  dynamic Cluster-NAT permit ip any any
  !
  !
  snmp-server engineID local 800000090300000A8A9A5181
  snmp-server community public RO
  snmp-server community public@es0 RO
  !
  end
  
  

TAGs   路由   配置   ip   address   interface   no   255.255.255.0   network      
 上一篇:2500接入服务器配置   下一篇:3660_E1forR2配置
配置NetScreen 208+C3550 VLAN间路由 评论:
loading.. 评论加载中…
评论:请自觉遵守互联网相关政策法规,评论不得超过250字。

验证码: 注册用户
本类热门排行:
最新推荐文章:
网管论坛交流: