您所在的位置:cisco专区 > 思科技术 > Catalyst 2948G-L3配置样例(全设备配置之一)

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

2006-06-26 10:08 Cisco.com 字号:T | T
一键收藏,随时查看,分享好友!

AD:

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

  • Catalyst 2948G-L3
  • Catalyst 3548XL

图1:实例1的网络图
29-30a.gif
Catalyst 2948G-L3 配置

2948G-L3#show running-config
Building configuration...
Current configuration:
!
! Last configuration change at 04:16:10 PST Thu Jun 22 2000
! NVRAM config last updated at 04:16:11 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
!
boot system flash bootflash:cat2948g-in-mz.120-7.W5.15d.bin
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
bridge-group 1
hold-queue 300 in
!
interface FastEthernet1
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet2
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet3
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet4
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet5
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet6
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet7
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet8
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet9
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet10
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet11
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet12
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet13
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet14
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet15
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet16
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet17
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet18
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet19
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet20
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet21
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet22
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet23
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet24
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet25
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet26
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet27
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet28
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet29
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet30
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet31
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet32
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet33
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet34
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet35
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet36
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet37
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet38
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet39
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet40
no ip address
no ip directed-broadcast
!
interface FastEthernet41
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet42
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet43
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet44
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet45
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet46
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet47
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
interface FastEthernet48
no ip address
no ip directed-broadcast
bridge-group 1
bridge-group 1 spanning-disabled
!
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
!
ip classless
!
bridge 1 protocol ieee
bridge 1 route ip
!
line con 0
transport input none
line aux 0
line vty 0 4
password secret
login
!
end
2948G-L3#

Catalyst 3548XL 配置

3548XL#show running-config
Building configuration...
Current configuration:
!
! Last configuration change at 04:09:54 PST Thu Jun 22 2000
! NVRAM config last updated at 04:01:04 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
spanning-tree portfast
!
interface FastEthernet0/2
spanning-tree portfast
!
interface FastEthernet0/3
spanning-tree portfast
!
interface FastEthernet0/4
spanning-tree portfast
!
interface FastEthernet0/5
spanning-tree portfast
!
interface FastEthernet0/6
spanning-tree portfast
!
interface FastEthernet0/7
spanning-tree portfast
!
interface FastEthernet0/8
spanning-tree portfast
!
interface FastEthernet0/9
spanning-tree portfast
!
interface FastEthernet0/10
spanning-tree portfast
!
interface FastEthernet0/11
spanning-tree portfast
!
interface FastEthernet0/12
spanning-tree portfast
!
interface FastEthernet0/13
spanning-tree portfast
!
interface FastEthernet0/14
spanning-tree portfast
!
interface FastEthernet0/15
spanning-tree portfast
!
interface FastEthernet0/16
spanning-tree portfast
!
interface FastEthernet0/17
spanning-tree portfast
!
interface FastEthernet0/18
spanning-tree portfast
!
interface FastEthernet0/19
spanning-tree portfast
!
interface FastEthernet0/20
spanning-tree portfast
!
interface FastEthernet0/21
spanning-tree portfast
!
interface FastEthernet0/22
spanning-tree portfast
!
interface FastEthernet0/23
spanning-tree portfast
!
interface FastEthernet0/24
spanning-tree portfast
!
interface FastEthernet0/25
spanning-tree portfast
!
interface FastEthernet0/26
spanning-tree portfast
!
interface FastEthernet0/27
spanning-tree portfast
!
interface FastEthernet0/28
spanning-tree portfast
!
interface FastEthernet0/29
spanning-tree portfast
!
interface FastEthernet0/30
spanning-tree portfast
!
interface FastEthernet0/31
spanning-tree portfast
!
interface FastEthernet0/32
spanning-tree portfast
!
interface FastEthernet0/33
spanning-tree portfast
!
interface FastEthernet0/34
spanning-tree portfast
!
interface FastEthernet0/35
spanning-tree portfast
!
interface FastEthernet0/36
spanning-tree portfast
!
interface FastEthernet0/37
spanning-tree portfast
!
interface FastEthernet0/38
spanning-tree portfast
!
interface FastEthernet0/39
spanning-tree portfast
!
interface FastEthernet0/40
spanning-tree portfast
!
interface FastEthernet0/41
spanning-tree portfast
!
interface FastEthernet0/42
spanning-tree portfast
!
interface FastEthernet0/43
spanning-tree portfast
!
interface FastEthernet0/44
spanning-tree portfast
!
interface FastEthernet0/45
spanning-tree portfast
!
interface FastEthernet0/46
spanning-tree portfast
!
interface FastEthernet0/47
spanning-tree portfast
!
interface FastEthernet0/48
spanning-tree portfast
!
interface GigabitEthernet0/1
no negotiation auto
port group 1
!
interface GigabitEthernet0/2
no negotiation auto
port group 1
!
interface VLAN1
ip address 10.1.1.2 255.255.255.0
no ip directed-broadcast
no ip route-cache
!
!
line con 0
transport input none
stopbits 1
line vty 0 4
password secret
login
line vty 5 15
login
!
end
3548XL#

    (责任编辑:城尘 68476636-8003)




分享到:

栏目热门

更多>>

热点职位

更多>>

热点专题

更多>>

读书

Java程序设计专家门诊
精选目前国内外最流行的程序设计语言——Java作为本书的选题,并以丰富的内容来解决读者学习该语言时可能遇到的各种问题。以专业

51CTO旗下网站

领先的IT技术网站 51CTO 领先的中文存储媒体 WatchStor 中国首个CIO网站 CIOage 中国首家数字医疗网站 HC3i 51CTO学院