meteor5288 发表于 2011-11-3 16:58

想知道三层交换机这些设置的意思,哪位大虾帮帮忙!

想知道三层交换机这些设置的意思,哪位大虾帮帮忙! 本人对于三层交换机完全不懂。





waiwanghexin_A#sh ru
Building configuration...


Current configuration:
!
!version 2.0.1K
service times**ps log date
service times**ps debug date
!
hostname waiwanghexin_A
mac access-list 1lou2lou
permit host 0015.58d9.993d any
permit host 0025.11e9.21b5 any
permit host 90fb.a60b.aa4a any
permit host 001b.7886.a1b6 any
permit host 001b.b9aa.6913 any
!
mac access-list mac-ww
permit host 000f.fe81.b0c4 any
deny host 0021.7085.0114 any
!
mirror session 1 destination interface f0/22
mirror session 1 source interface f0/24 both
!
!
ip exf
!
!
!         
!
!
!
!
!
aaa authentication login default local enable
aaa authentication enable default enable
!
username bdcom password 0 bdcom
enable password 0 bdcom level 15
!
interface FastEthernet0/1
switchport pvid 2
switchport port-security block arp 192.168.2.1

!
interface FastEthernet0/2
switchport pvid 2
switchport port-security block arp 192.168.2.1

!
interface FastEthernet0/3
switchport pvid 3
switchport port-security block arp 192.168.3.1

!
interface FastEthernet0/4
switchport pvid 4
switchport port-security block arp 192.168.4.1

!
interface FastEthernet0/5
switchport pvid 5
switchport port-security block arp 192.168.5.1

!
interface FastEthernet0/6
switchport pvid 6
switchport port-security block arp 192.168.6.1

!
interface FastEthernet0/7
switchport pvid 7
switchport port-security block arp 192.168.7.1

!
interface FastEthernet0/8
switchport pvid 8
switchport port-security bind ip 192.168.8.5 mac 0026.c727.c7ce
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
switchport pvid 8
switchport port-security block arp 192.168.8.1

!
interface FastEthernet0/19
switchport pvid 8
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
switchport mode trunk
spanning-tree portfast
!         
interface FastEthernet0/24
switchport mode trunk
switchport pvid 100
spanning-tree portfast
!
interface VLAN1
ip address 192.168.1.253 255.255.255.0
no ip directed-broadcast
vrrp 1 associate 192.168.1.251 255.255.255.0
vrrp 1 priority 120
!
interface VLAN2
description to12floor
ip address 192.168.2.1 255.255.255.0
no ip directed-broadcast
!
interface VLAN3
description to3floor
ip address 192.168.3.1 255.255.255.0
no ip directed-broadcast
!
interface VLAN4
description to4floor
ip address 192.168.4.1 255.255.255.0
no ip directed-broadcast
!
interface VLAN5
description to5floor
ip address 192.168.5.1 255.255.255.0
no ip directed-broadcast
!
interface VLAN6
description to6floor
ip address 192.168.6.1 255.255.255.0
no ip directed-broadcast
!
interface VLAN7
description to7floor
ip address 192.168.7.1 255.255.255.0
no ip directed-broadcast
!
interface VLAN8
description to8floor
ip address 192.168.8.1 255.255.255.0
no ip directed-broadcast
!         
interface VLAN100
description tofirewall
ip address 192.168.0.1 255.255.255.0
no ip directed-broadcast
!
vlan 1-8,100
!
!
!
ip dhcpd pool bdcom
network 192.168.1.0 255.255.255.0
range 192.168.1.2 192.168.1.250
default-router 192.168.1.1
dns-server 202.103.224.68 202.103.225.68
!
ip dhcpd enable
!
!
!
!
ip route default 192.168.0.2

meteor5288 发表于 2011-11-3 17:01

由于路由器上面无法看到路由表,所以想弄清楚这个三层交换机里面的配置

interface VLAN100
description tofirewall
ip address 192.168.0.1 255.255.255.0
no ip directed-broadcast

这段是不是表示 无法接收其它IP段的广播?

zxg9155 发表于 2011-11-7 16:44

菜鸟路过也想学习学习

guoyulong 发表于 2011-11-8 09:51

谢谢分享    学洗一下

jxc62 发表于 2011-11-8 21:51

我也想学习学习~

moontree 发表于 2011-11-9 10:00

找本三层交换的书看看,就明白了。就是一般带VLAN的交换机配置。

凌霄子 发表于 2011-11-11 09:51

原来这是三层交换啊,单位的就跟这一样,可是一直不敢动,不懂

沙漠之影 发表于 2011-11-13 16:57

详见http://www.51zxw.net/study.asp?vip=814396

fuzhenxing 发表于 2011-11-14 10:23

三层的{:144_333:},菜鸟进来学习

meteor5288 发表于 2011-11-15 01:16

唉唉 ,看不懂
页: [1]
查看完整版本: 想知道三层交换机这些设置的意思,哪位大虾帮帮忙!