分享
 
 
 

Catalyst 2948G-L3配置样例(全设备配置之二)

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

实例2-多VLAN网络

本节中的全设备配置均针对实例2:2948G-L3 配置样例中的单VLAN 网络。

Catalyst 2948G-L3

Catalyst 3512XL

Catalyst 2924XL

Catalyst 3548XL

图2:实例2的网络图

Catalyst 2948G-L3 配置

2948G-L3#show running-config

Building configuration...

Current configuration:

!

! Last configuration change at 04:48:24 PST Thu Jun 22 2000

! NVRAM config last updated at 04:45:02 PST Thu Jun 22 2000

!

version 12.0

no service pad

service timestamps debug datetime msec localtime

service timestamps log datetime msec localtime

no service passWord-encryption

!

hostname 2948G-L3

!

no logging console

enable password verysecret

!

clock timezone PST -8

clock calendar-valid

ip subnet-zero

bridge irb

!

!

!

interface Port-channel1

no ip address

no ip directed-broadcast

hold-queue 300 in

!

interface Port-channel1.1

encapsulation isl 1

no ip redirects

no ip directed-broadcast

bridge-group 1

!

interface Port-channel1.100

encapsulation isl 100

ip address 10.100.100.1 255.255.255.0

no ip redirects

no ip directed-broadcast

!

interface Port-channel2

no ip address

no ip directed-broadcast

hold-queue 300 in

!

interface Port-channel2.1

encapsulation isl 1

no ip redirects

no ip directed-broadcast

bridge-group 1

!

interface Port-channel2.10

encapsulation isl 10

ip address 10.10.10.1 255.255.255.0

no ip redirects

no ip directed-broadcast

!

interface Port-channel2.20

encapsulation isl 20

ip address 10.20.20.1 255.255.255.0

no ip redirects

no ip directed-broadcast

!

interface FastEthernet1

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet2

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet3

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet4

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet5

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet6

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet7

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet8

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet9

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet10

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet11

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet12

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet13

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet14

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet15

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet16

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet17

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet18

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet19

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet20

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet21

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet22

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet23

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet24

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet25

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet26

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet27

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet28

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet29

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet30

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet31

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet32

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet33

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet34

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet35

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet36

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet37

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet38

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet39

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet40

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet41

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet42

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet43

no ip address

no ip directed-broadcast

bridge-group 200

bridge-group 200 spanning-disabled

!

interface FastEthernet44

no ip address

no ip directed-broadcast

!

interface FastEthernet44.1

encapsulation isl 1

no ip redirects

no ip directed-broadcast

bridge-group 1

!

interface FastEthernet44.30

encapsulation isl 30

ip address 10.30.30.1 255.255.255.0

no ip redirects

no ip directed-broadcast

!

interface FastEthernet45

no ip address

no ip directed-broadcast

channel-group 2

!

interface FastEthernet46

no ip address

no ip directed-broadcast

channel-group 2

!

interface FastEthernet47

no ip address

no ip directed-broadcast

channel-group 2

!

interface FastEthernet48

no ip address

no ip directed-broadcast

channel-group 2

!

interface GigabitEthernet49

no ip address

no ip directed-broadcast

no negotiation auto

channel-group 1

!

interface GigabitEthernet50

no ip address

no ip directed-broadcast

no negotiation auto

channel-group 1

!

interface BVI1

ip address 10.1.1.1 255.255.255.0

no ip directed-broadcast

no ip route-cache cef

!

interface BVI200

ip address 10.200.200.1 255.255.255.0

no ip directed-broadcast

no ip route-cache cef

!

ip classless

!

bridge 1 PRotocol ieee

bridge 1 route ip

bridge 200 protocol ieee

bridge 200 route ip

!

line con 0

transport input none

line aux 0

line vty 0 4

password secret

login

!

end

2948G-L3#

Catalyst 3512XL 配置

3512XL#show running-config

Building configuration...

Current configuration:

!

! Last configuration change at 12:52:31 PST Thu Jun 22 2000

! NVRAM config last updated at 12:52:32 PST Thu Jun 22 2000

!

version 12.0

no service pad

service timestamps debug datetime msec localtime

service timestamps log datetime msec localtime

no service password-encryption

!

hostname 3512XL

!

no logging console

enable password verysecret

!

!

!

!

!

clock timezone PST -8

!

ip subnet-zero

!

!

!

interface FastEthernet0/1

switchport access vlan 100

spanning-tree portfast

!

interface FastEthernet0/2

switchport access vlan 100

spanning-tree portfast

!

interface FastEthernet0/3

switchport access vlan 100

spanning-tree portfast

!

interface FastEthernet0/4

switchport access vlan 100

spanning-tree portfast

!

interface FastEthernet0/5

switchport access vlan 100

spanning-tree portfast

!

interface FastEthernet0/6

switchport access vlan 100

spanning-tree portfast

!

interface FastEthernet0/7

switchport access vlan 100

spanning-tree portfast

!

interface FastEthernet0/8

switchport access vlan 100

spanning-tree portfast

!

interface FastEthernet0/9

switchport access vlan 100

spanning-tree portfast

!

interface FastEthernet0/10

switchport access vlan 100

spanning-tree portfast

!

interface FastEthernet0/11

switchport access vlan 100

spanning-tree portfast

!

interface FastEthernet0/12

switchport access vlan 100

spanning-tree portfast

!

interface GigabitEthernet0/1

no negotiation auto

port group 1

switchport mode trunk

!

interface GigabitEthernet0/2

no negotiation auto

port group 1

switchport mode trunk

!

interface VLAN1

ip address 10.1.1.2 255.255.255.0

no ip directed-broadcast

no ip route-cache

!

ip default-gateway 10.1.1.1

!

line con 0

transport input none

stopbits 1

line vty 0 4

password secret

login

line vty 5 15

login

!

end

3512XL#

Catalyst 2924XL 配置

2924XL#show running-config

Building configuration...

Current configuration:

!

! Last configuration change at 12:58:30 PST Thu Jun 22 2000

! NVRAM config last updated at 12:58:40 PST Thu Jun 22 2000

!

version 12.0

no service pad

service timestamps debug datetime msec localtime

service timestamps log datetime msec localtime

no service password-encryption

!

hostname 2924XL

!

no logging console

enable password verysecret

!

!

!

!

!

clock timezone PST -8

!

ip subnet-zero

!

!

!

interface FastEthernet0/1

switchport access vlan 30

spanning-tree portfast

!

interface FastEthernet0/2

switchport access vlan 30

spanning-tree portfast

!

interface FastEthernet0/3

switchport access vlan 30

spanning-tree portfast

!

interface FastEthernet0/4

switchport access vlan 30

spanning-tree portfast

!

interface FastEthernet0/5

switchport access vlan 30

spanning-tree portfast

!

interface FastEthernet0/6

switchport access vlan 30

spanning-tree portfast

!

interface FastEthernet0/7

switchport access vlan 30

spanning-tree portfast

!

interface FastEthernet0/8

switchport access vlan 30

spanning-tree portfast

!

interface FastEthernet0/9

switchport access vlan 30

spanning-tree portfast

!

interface FastEthernet0/10

switchport access vlan 30

spanning-tree portfast

!

interface FastEthernet0/11

switchport access vlan 30

spanning-tree portfast

!

interface FastEthernet0/12

switchport access vlan 30

spanning-tree portfast

!

interface FastEthernet0/13

switchport access vlan 30

spanning-tree portfast

!

interface FastEthernet0/14

switchport access vlan 30

spanning-tree portfast

!

interface FastEthernet0/15

switchport access vlan 30

spanning-tree portfast

!

interface FastEthernet0/16

switchport access vlan 30

spanning-tree portfast

!

interface FastEthernet0/17

switchport access vlan 30

spanning-tree portfast

!

interface FastEthernet0/18

switchport access vlan 30

spanning-tree portfast

!

interface FastEthernet0/19

switchport access vlan 30

spanning-tree portfast

!

interface FastEthernet0/20

switchport access vlan 30

spanning-tree portfast

!

interface FastEthernet0/21

switchport access vlan 30

spanning-tree portfast

!

interface FastEthernet0/22

switchport access vlan 30

spanning-tree portfast

!

interface FastEthernet0/23

switchport access vlan 30

spanning-tree portfast

!

interface FastEthernet0/24

switchport mode trunk

!

interface VLAN1

ip address 10.1.1.4 255.255.255.0

no ip directed-broadcast

no ip route-cache

!

ip default-gateway 10.1.1.1

!

line con 0

transport input none

stopbits 1

line vty 0 4

password secret

login

line vty 5 15

login

!

end

2924XL#

Catalyst 3548XL 配置

3548XL#show running-config

Building configuration...

Current configuration:

!

! Last configuration change at 12:56:22 PST Thu Jun 22 2000

! NVRAM config last updated at 12:56:23 PST Thu Jun 22 2000

!

version 12.0

no service pad

service timestamps debug datetime msec localtime

service timestamps log datetime msec localtime

no service password-encryption

!

hostname 3548XL

!

no logging console

enable password verysecret

!

!

!

!

!

clock timezone PST -8

!

ip subnet-zero

!

!

!

interface FastEthernet0/1

switchport access vlan 10

spanning-tree portfast

!

interface FastEthernet0/2

switchport access vlan 10

spanning-tree portfast

!

interface FastEthernet0/3

switchport access vlan 10

spanning-tree portfast

!

interface FastEthernet0/4

switchport access vlan 10

spanning-tree portfast

!

interface FastEthernet0/5

switchport access vlan 10

spanning-tree portfast

!

interface FastEthernet0/6

switchport access vlan 10

spanning-tree portfast

!

interface FastEthernet0/7

switchport access vlan 10

spanning-tree portfast

!

interface FastEthernet0/8

switchport access vlan 10

spanning-tree portfast

!

interface FastEthernet0/9

switchport access vlan 10

spanning-tree portfast

!

interface FastEthernet0/10

switchport access vlan 10

spanning-tree portfast

!

interface FastEthernet0/11

switchport access vlan 10

spanning-tree portfast

!

interface FastEthernet0/12

switchport access vlan 10

spanning-tree portfast

!

interface FastEthernet0/13

switchport access vlan 10

spanning-tree portfast

!

interface FastEthernet0/14

switchport access vlan 10

spanning-tree portfast

!

interface FastEthernet0/15

switchport access vlan 10

spanning-tree portfast

!

interface FastEthernet0/16

switchport access vlan 10

spanning-tree portfast

!

interface FastEthernet0/17

switchport access vlan 10

spanning-tree portfast

!

interface FastEthernet0/18

switchport access vlan 10

spanning-tree portfast

!

interface FastEthernet0/19

switchport access vlan 10

spanning-tree portfast

!

interface FastEthernet0/20

switchport access vlan 10

spanning-tree portfast

!

interface FastEthernet0/21

switchport access vlan 10

spanning-tree portfast

!

interface FastEthernet0/22

switchport access vlan 10

spanning-tree portfast

!

interface FastEthernet0/23

switchport access vlan 10

spanning-tree portfast

!

interface FastEthernet0/24

switchport access vlan 10

spanning-tree portfast

!

interface FastEthernet0/25

switchport access vlan 20

spanning-tree portfast

!

interface FastEthernet0/26

switchport access vlan 20

spanning-tree portfast

!

interface FastEthernet0/27

switchport access vlan 20

spanning-tree portfast

!

interface FastEthernet0/28

switchport access vlan 20

spanning-tree portfast

!

interface FastEthernet0/29

switchport access vlan 20

spanning-tree portfast

!

interface FastEthernet0/30

switchport access vlan 20

spanning-tree portfast

!

interface FastEthernet0/31

switchport access vlan 20

spanning-tree portfast

!

interface FastEthernet0/32

switchport access vlan 20

spanning-tree portfast

!

interface FastEthernet0/33

switchport access vlan 20

spanning-tree portfast

!

interface FastEthernet0/34

switchport access vlan 20

spanning-tree portfast

!

interface FastEthernet0/35

switchport access vlan 20

spanning-tree portfast

!

interface FastEthernet0/36

switchport access vlan 20

spanning-tree portfast

!

interface FastEthernet0/37

switchport access vlan 20

spanning-tree portfast

!

interface FastEthernet0/38

switchport access vlan 20

spanning-tree portfast

!

interface FastEthernet0/39

switchport access vlan 20

spanning-tree portfast

!

interface FastEthernet0/40

switchport access vlan 20

spanning-tree portfast

!

interface FastEthernet0/41

switchport access vlan 20

spanning-tree portfast

!

interface FastEthernet0/42

switchport access vlan 20

spanning-tree portfast

!

interface FastEthernet0/43

switchport access vlan 20

spanning-tree portfast

!

interface FastEthernet0/44

switchport access vlan 20

spanning-tree portfast

!

interface FastEthernet0/45

port group 1

switchport mode trunk

!

interface FastEthernet0/46

port group 1

switchport mode trunk

!

interface FastEthernet0/47

port group 1

switchport mode trunk

!

interface FastEthernet0/48

port group 1

switchport mode trunk

!

interface GigabitEthernet0/1

!

interface GigabitEthernet0/2

!

interface VLAN1

ip address 10.1.1.3 255.255.255.0

no ip directed-broadcast

no ip route-cache

!

ip default-gateway 10.1.1.1

!

line con 0

transport input none

stopbits 1

line vty 0 4

password secret

login

line vty 5 15

login

!

end

3548XL#

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
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- 王朝網路 版權所有