Catalyst 4003 的三层配置举例

发布者:上海IT外包来源:http://www.lanmon.net点击数:5358

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
1998年,蓝色学苑www.bluestudy.net创立了,我们翻译了大量路由交换的资料和调试案例,启蒙了大批网络技术爱好者。我们的创始人也在1999年通过CCIE认证,成为国内为数不多的老牌CCIE之一。2002年,蓝色学苑骨干成员成立蓝盟www.lanmon.com 专注于网络维护、网管外包、电脑维护、服务器升级、网络改造、系统集成、网络咨询、服务管理、运维咨询、ITIL培训、ITSS咨询等一站式IT外包服务。我们拥有近200名工程师,正在为近500家客户提供“一站式” 的IT外包服务。网址:www.lanmon.net 官方微博:http://weibo.com/lanmon2012 咨询电话:4008200159
版权声明:本站文章90%以上为蓝盟原创,转载请注明出处:www.lanmon.com。如有版权疑问随时致电:021-51693198-226,我们将第一时间给予答复。
IT外包
>
400-635-8089
立即
咨询
电话咨询
服务热线
400-635-8089
微信咨询
微信咨询
微信咨询
公众号
公众号
公众号
返回顶部