分享
 
 
 

经典配置 Vlan篇

王朝other·作者佚名  2008-05-31
窄屏简体版  字體: |||超大  

Catalyst 5000 参数

源码:

实验命令

clear ip permit

clear ip route

clear vlan

clear vtp

debug ip packet

ping

set interface sc0

set ip permit

set ip route

set vlan

set vtp

show cam

show config

show Flash

show interface

show ip permit

show ip route

show log

show mac

show module

show port

show system

show users

show version

show vlan

show vtp

telnet

配置说明

1.R1

2.R2

3.R3

4.R4

5.R5

6.R6

7.CAT5K

R1

Current configuration:

!

version 11.2

no service passWord-encryption

!

hostname r1

!

enable password cisco

!

!

!

interface Ethernet0

ip address 130.10.7.1 255.255.255.0

no ip directed-broadcast

no 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

!

interface BRI0

no ip address

no ip directed-broadcast

no ip mroute-cache

shutdown

!

router ospf 10

redistribute connected subnets

network 130.10.1.0 0.0.0.255 area 0

network 130.10.4.0 0.0.0.255 area 1

network 130.10.7.0 0.0.0.255 area 2

!

no ip classless

!

!

line con 0

line aux 0

line vty 0 4

password cisco

login

!

end

R2

Current configuration:

!

version 11.2

no service password-encryption

no service udp-small-servers

no service tcp-small-servers

!

hostname R2

!

enable password cisco

!

!

!

interface Serial0

ip address 130.10.4.2 255.255.255.0

no fair-queue

!

interface Serial1

no ip address

shutdown

!

interface TokenRing0

ip address 130.10.5.2 255.255.255.0

ring-speed 16

!

router ospf 20

network 130.10.5.0 0.0.0.255 area 1

network 130.10.4.0 0.0.0.255 area 1

!

no ip classless

!

!

line con 0

line aux 0

line vty 0 4

password cisco

login

!

end

R3

Current configuration:

!

version 11.2

no service password-encryption

no service udp-small-servers

no service tcp-small-servers

!

hostname R3

!

enable password cisco

!

!

!

interface Serial0

no ip address

shutdown

no fair-queue

!

interface Serial1

no ip address

shutdown

!

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

network 130.10.5.0 0.0.0.255 area 1

!

no ip classless

!

!

line con 0

line aux 0

line vty 0 4

password cisco

login

!

end

R5

Current configuration:

!

version 11.2

no service password-encryption

no service udp-small-servers

no service tcp-small-servers

!

hostname R5

!

enable password cisco

!

!

!

interface Ethernet0

ip address 130.10.3.5 255.255.255.0

no ip directed-broadcast

no ip route-cache

no ip mroute-cache

no 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

no ip address

shutdown

!

router ospf 50

redistribute connected subnets

network 130.10.1.0 0.0.0.255 area 0

network 130.10.3.0 0.0.0.255 area 2

!

no ip classless

!

!

line con 0

line aux 0

line vty 0 4

password cisco

login

!

end

R6

Current configuration:

!

version 11.2

no 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

no ip address

no ip mroute-cache

shutdown

!

interface TokenRing0

ip address 130.10.2.6 255.255.255.0

ring-speed 16

!

interface BRI0

no ip address

shutdown

!

router ospf 60

redistribute connected subnets

network 130.10.1.0 0.0.0.255 area 0

!

no ip classless

!

!

line con 0

line aux 0

line vty 0 4

password cisco

login

!

end

CAT5K

begin

set password $1$0o8Z$GDCVUXu2Kn3mgBDKwF00h1

set enablepass $1$0o8Z$GDCVUXu2Kn3mgBDKwF00h1

set prompt Cat5k

set length 24 default

set logout 20

set banner motd ^C^C

!

#system

set system baud 9600

set system modem disable

set system name

set system location

set system contact

!

#snmp

set snmp community read-only public

set snmp community read-write PRivate

set snmp community read-write-all secret

set snmp rmon disable

set snmp trap disable module

set snmp trap disable chassis

set snmp trap disable bridge

set snmp trap disable repeater

set snmp trap disable vtp

set snmp trap disable auth

set snmp trap disable ippermit

set snmp trap disable vmps

set snmp trap disable entity

set snmp trap disable config

set snmp trap disable stpx

!

#ip

set interface sc0 2 130.10.7.100 255.255.255.0 130.10.7.255

set interface sc0 up

set interface sl0 0.0.0.0 0.0.0.0

set interface sl0 up

set arp agingtime 1200

set ip redirect enable

set ip unreachable enable

set ip fragmentation enable

set ip route 0.0.0.0 130.10.7.1 1

set ip alias default 0.0.0.0

!

#Command alias

!

#vmps

set vmps server retry 3

set vmps server reconfirminterval 60

set vmps tFTPserver 0.0.0.0 vmps-config-database.1

set vmps state disable

!

#dns

set ip dns disable

!

#tacacs+

set tacacs attempts 3

set tacacs directedrequest disable

set tacacs timeout 5

set authentication login tacacs disable

set authentication login local enable

set authentication enable tacacs disable

set authentication enable local enable

!

#bridge

set bridge ipx snaptoether 8023raw

set bridge ipx 8022toether 8023

set bridge ipx 8023rawtof

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有