其它文章
CISCO交换机VLAN配置思路
VLAN的无线接入
架设基于IP地址的VLAN
实战手记之Native Vlan与IVR
2900XL VLAN config
VLAN如何在内网上进行划分
CatOS下定义VLAN
VLAN技术入门
华为3COM标准访问控制列表初识(图)
理论探究:宽带电话安全技术研究
Cisco技术 / 技术专题 / 路由与交换 / 经典配置Vlan篇

经典配置Vlan篇

作者:     http://cisco.ccxx.net

Catalyst 5000 参数

源码:

实验命令

clear ip permit

clear ip route

clear vlan

clear vtp

debug ip packet

ing

et interface sc0

et ip permit

et ip route

et vlan

et vtp

how cam

how config

how flash

how interface

how ip permit

how ip route

how log

how mac

how module

how port

how system

how users

how version

how vlan

how vtp

telnet

配置说明

1.R1

2.R2

3.R3

4.R4

5.R5

6.R6

7.CAT5K

R1

Current configuration:

!

version 11.2

o service password-encryption

!

hostname r1

!

enable password cisco

!

!

!

interface Ethernet0

ip address 130.10.7.1 255.255.255.0

o ip directed-broadcast

o ip mroute-cache

!

interface Serial0

ip address 130.10.1.1 255.255.255.0

encapsulation frame-relay

ip ospf network point-to-multipoint

!

interface Serial1

ip address 130.10.4.1 255.255.255.0

clockrate 2000000

!

terface BRI0

o ip address

o ip directed-broadcast

o ip mroute-cache

hutdown

!

router ospf 10

redistribute connected subnets

etwork 130.10.1.0 0.0.0.255 area 0

etwork 130.10.4.0 0.0.0.255 area 1

etwork 130.10.7.0 0.0.0.255 area 2

!

o ip classless

!

!

line con 0

ine aux 0

line vty 0 4

assword cisco

login

!

end

R2

Current configuration:

!

version 11.2

o service password-encryption

o service udp-small-servers

o service tcp-small-servers

!

hostname R2

!

enable password cisco

!

!

!

interface Serial0

ip address 130.10.4.2 255.255.255.0

o fair-queue

!

interface Serial1

o ip address

hutdown

!

interface TokenRing0

ip address 130.10.5.2 255.255.255.0

ring-speed 16

!

router ospf 20

etwork 130.10.5.0 0.0.0.255 area 1

etwork 130.10.4.0 0.0.0.255 area 1

!

o ip classless

!

!

line con 0

line aux 0

line vty 0 4

assword cisco

login

!

end



R3

Current configuration:

!

version 11.2

o service password-encryption

o service udp-small-servers

o service tcp-small-servers

!

hostname R3

!

enable password cisco

!

!

!

interface Serial0

o ip address

hutdown

o fair-queue

!

interface Serial1

o ip address

hutdown

!

interface TokenRing0

ip address 130.10.5.3 255.255.255.0

ring-speed 16

!

interface TokenRing1

ip address 130.10.6.3 255.255.255.0

ring-speed 16

!

router ospf 30

redistribute connected subnets

etwork 130.10.5.0 0.0.0.255 area 1

!

o ip classless

!

!

line con 0

line aux 0

line vty 0 4

assword cisco

login

!

end

R5

Current configuration:

!

version 11.2

o service password-encryption

o service udp-small-servers

o service tcp-small-servers

!

hostname R5

!

enable password cisco

!

!

!

interface Ethernet0

ip address 130.10.3.5 255.255.255.0

o ip directed-broadcast

o ip route-cache

o ip mroute-cache

o mop enabled

!

interface Serial0

ip address 130.10.1.5 255.255.255.0

encapsulation frame-relay

ip ospf network point-to-multipoint

frame-relay map ip 130.10.1.1 100 broadcast

frame-relay map ip 130.10.1.6 100 broadcast

!

interface Serial1

o ip address

hutdown

!

router ospf 50

redistribute connected subnets

etwork 130.10.1.0 0.0.0.255 area 0

etwork 130.10.3.0 0.0.0.255 area 2

!

o ip classless

!

!

line con 0

line aux 0

line vty 0 4

assword cisco

login

!

end

R6

Current configuration:

!

version 11.2

o service password-encryption

!

hostname R6

!

enable password cisco

!

!

!

interface Serial0

ip address 130.10.1.6 255.255.255.0

encapsulation frame-relay

ip ospf network point-to-multipoint

frame-relay map ip 130.10.1.1 110 broadcast

frame-relay map ip 130.10.1.5 110 broadcast

!

interface Serial1

o ip address

o ip mroute-cache

hutdown

!

interface TokenRing0

ip address 130.10.2.6 255.255.255.0

ring-speed 16

!

interface BRI0

o ip address

hutdown

!

router ospf 60

redistribute connected subnets

etwork 130.10.1.0 0.0.0.255 area 0

!

o ip classless

!

!

line con 0

line aux 0

line vty 0 4

assword cisco

login

!

end

收藏本页

共 0 人推荐文章 经典配置Vlan篇

Copyright © 2006 cisco.ccxx.net 版权所有.提供Cisco技术,Cisco培训,CCNA,CCNP,CCIE培训,Cisco论坛CCIE实验室
上海地区Cisco培训、CCNA培训、CCNP培训、CCIE培训