频道直达 - 专题 - 新闻 - 技巧 - 组网 - 开发 - 安全 - web编程 - 图像 - 操作系统 - 数据库 - 教育 - 旅游 - 健康 - 时尚 - 驱动 - 软件 - 游戏 - 多媒体 - ERP - 讨论组

Catalyst 4003 的三层配置举例

来源:ChinaITLab 作者: 出处:巧巧读书 2005-08-22 进入讨论组

  version 12.0
  
  no service pad
  
  service timestamps debug uptime
  
  service timestamps log uptime
  
  no service password-encryption
  
  !
  
  hostname bang-rp
  
  !
  
  !
  
  ip subnet-zero
  
  !
  
  !
  
  !
  
  interface Port-channel1
  
  !--- this interface is configured for dot1q routing with native vlan 1 to match supervisor configuration.
  
  no ip redirects
  
  no ip directed-broadcast
  
  hold-queue 300 in
  
  !
  
  interface Port-channel1.2
  
  encapsulation dot1Q 2
  
  ip address 2.2.2.2 255.255.255.0
  
  no ip redirects
  
  no ip directed-broadcast
  
  !
  
  interface Port-channel1.3
  
  encapsulation dot1Q 3
  
  ip address 1.1.1.2 255.255.255.0
  
  no ip redirects
  
  no ip directed-broadcast
  
  !
  
  interface FastEthernet1
  
  !--- this is the out of band interface that you can use for management
  
  no ip address
  
  no ip directed-broadcast
  
  shutdown
  
  !
  
  interface GigabitEthernet1
  
  ip address 3.3.3.2 255.255.255.0
  
  no ip directed-broadcast
  
  !
  
  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
  
  !--- both port gig 3 and gig 4 are part of the channel-group 1
  
  !
  
  interface GigabitEthernet4
  
  no ip address
  
  no ip directed-broadcast
  
  no negotiation auto
  
  channel-group 1
  
  !--- both port gig 3 and gig 4 are part of the channel group 1
  
  !
  
  router eigrp 1
  
  passive-interface FastEthernet1
  
  network 1.0.0.0
  
  network 2.0.0.0
  
  network 3.0.0.0
  
  !
  
  ip classless
  
  !
  
  arp 127.0.0.2 0050.732a.f300 ARPA
  
  !
  
  line con 0
  
  transport input none
  
  line aux 0
  
  line vty 0 4
  
  login
  
  !
  
  end
  
  bang-rp#sh cdp nei
  
  Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
  
  S - Switch, H - Host, I - IGMP, r - Repeater
  
  Device ID Local Intrfce Holdtme Capability
  
  Platform Port ID
  
  liki Gig 1
  
  160 T S
  
  WS-C3508G-Gig 0/1
  
  Liki is connected to gig 1 on the router. We only see liki from the router, we do not see it from the supervisor.
  
  JAB02380AYG(bang)Port-channel1 148 T S WS-C4003 3/2
  
  JAB02380AYG(bang)Port-channel1 147 T S WS-C4003 3/1收藏地址:http://www.qqread.com/cisco/p351310908.html 更多文章 更多内容请看电脑配置手册服务器配置专栏Cisco交换机配置专题,或进入讨论组讨论。
收藏此文】【 】【打印】【关闭
相关图文阅读
频道图文推荐
健 康 咨 询
时 尚 咨 询
巧巧读书宗旨
相关专题
讨论组问题推荐
站内各频道最新更新文档
站内最新制作专题
热门关键字导读
Photoshop教 程照片处理 照片制作 PS快捷键 抠图
计 算 机 故 障XP系统修复
艺 术 与 设 计设计 流媒体 设计欣赏 边框
计 算 机 安 全ARP
站内频道文章精选
巧巧电脑频道编辑信箱  告诉我们您想看的专题或文章