Всем привет!
Возникает периодически очень интиресная ситуация с цисками.
Опишу проблему:
Периодически пропадает коннект с портов, то есть пользователи друг друга не видят, и интернета сооствественно нет. Пользователи разделены между друг другом посредством VLAN на цисках. вилан 9 одни пользователи, где dhcp - это адслный модем, вилан 10 также отдельный ,где дхцп также адсл модем... так же вилан 8 с теми же параметрами...
Засада еще в том что цисок 4 штуки, разбросаны по трем этажам и соеденены с помощью SFP модулями. Вроде бы ничего не предвещает беды, настраивай порты и вперед, но тем не менее периодически проадают сигналы на портах.
Буду рад любой помощи. Мне необходимы только VLAN 8,9,10 причем 8 должен работать в рамках одной циски, которая с первого этажа (стековая), а вот виланы 9 и 10 они разбегаются по разным этажам. на остальные виланы можете не обращать вимания
Пример конфигурирования сетевого интерфейса fastEthernet
Вариант 1
interface FastEthernet2/0/15
switchport access vlan 9
switchport mode access
speed 100
spanning-tree portfast
Вариант 2
interface FastEthernet2/0/18
switchport access vlan 9
switchport mode access
switchport port-security
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
macro description cisco-desktop
spanning-tree portfast
spanning-tree bpduguard enableИ пример GigabitEthernet
interface GigabitEthernet2/0/1
switchport trunk encapsulation dot1q
switchport trunk native vlan 10
switchport trunk allowed vlan 1,2,9,10
switchport mode trunk
macro description cisco-switch
auto qos voip trust
spanning-tree link-type point-to-point
Конфига 2х цисок - ниже
Циска на 1м этаже:
Current configuration : 8748 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname router_cisco2
!
enable secret 5 $1$YAEw$OsPcsC.lcsfDQVTXOckG20
!
no aaa new-model
clock timezone UTC 6
switch 1 provision ws-c3750-24ts
switch 2 provision ws-c3750-48ts
system mtu routing 1500
ip subnet-zero
ip routing
!
!
!
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface FastEthernet1/0/1
switchport trunk encapsulation dot1q
switchport trunk native vlan 10
switchport mode trunk
macro description cisco-switch
auto qos voip trust
spanning-tree link-type point-to-point
!
interface FastEthernet1/0/2
switchport access vlan 10
switchport mode access
switchport port-security
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
macro description cisco-desktop
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet1/0/3
!
interface FastEthernet1/0/4
!
interface FastEthernet1/0/5
!
interface FastEthernet1/0/6
!
interface FastEthernet1/0/7
switchport access vlan 2
switchport trunk native vlan 2
!
interface FastEthernet1/0/8
switchport access vlan 2
switchport trunk native vlan 2
!
interface FastEthernet1/0/9
switchport access vlan 2
switchport trunk native vlan 2
!
interface FastEthernet1/0/10
switchport access vlan 2
switchport trunk native vlan 2
!
interface FastEthernet1/0/11
switchport access vlan 2
switchport trunk native vlan 2
!
interface FastEthernet1/0/12
switchport access vlan 2
switchport trunk native vlan 2
!
interface FastEthernet1/0/13
switchport access vlan 2
switchport trunk native vlan 2
!
interface FastEthernet1/0/14
switchport access vlan 2
switchport trunk native vlan 2
!
interface FastEthernet1/0/15
switchport access vlan 2
switchport trunk native vlan 2
!
interface FastEthernet1/0/16
switchport access vlan 2
switchport trunk native vlan 2
!
interface FastEthernet1/0/17
switchport access vlan 2
switchport trunk native vlan 2
!
interface FastEthernet1/0/18
switchport access vlan 2
switchport trunk native vlan 2
!
interface FastEthernet1/0/19
switchport access vlan 2
switchport trunk native vlan 2
!
interface FastEthernet1/0/20
switchport access vlan 2
switchport trunk native vlan 2
!
interface FastEthernet1/0/21
switchport access vlan 2
switchport trunk native vlan 2
!
interface FastEthernet1/0/22
switchport access vlan 2
switchport trunk native vlan 2
!
interface FastEthernet1/0/23
switchport access vlan 2
switchport trunk native vlan 2
!
interface FastEthernet1/0/24
switchport trunk encapsulation dot1q
switchport trunk native vlan 9
switchport mode trunk
speed 100
duplex full
macro description cisco-switch
auto qos voip trust
spanning-tree link-type point-to-point
!
interface GigabitEthernet1/0/1
switchport trunk encapsulation dot1q
switchport trunk native vlan 10
switchport mode trunk
macro description cisco-switch
auto qos voip trust
spanning-tree link-type point-to-point
!
interface GigabitEthernet1/0/2
switchport access vlan 2
switchport trunk native vlan 2
!
interface FastEthernet2/0/1
switchport trunk encapsulation dot1q
switchport trunk native vlan 9
switchport trunk allowed vlan 2,9
switchport mode trunk
speed 100
macro description cisco-switch
auto qos voip trust
spanning-tree link-type point-to-point
!
interface FastEthernet2/0/2
!
interface FastEthernet2/0/3
switchport access vlan 9
switchport mode access
spanning-tree portfast
!
interface FastEthernet2/0/4
!
interface FastEthernet2/0/5
!
interface FastEthernet2/0/6
!
interface FastEthernet2/0/7
!
interface FastEthernet2/0/8
!
interface FastEthernet2/0/9
!
interface FastEthernet2/0/10
!
interface FastEthernet2/0/11
!
interface FastEthernet2/0/12
!
interface FastEthernet2/0/13
switchport access vlan 9
switchport mode access
switchport port-security
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
macro description cisco-desktop
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet2/0/14
!
interface FastEthernet2/0/15
switchport access vlan 9
switchport mode access
switchport port-security
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
macro description cisco-desktop
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet2/0/16
switchport trunk encapsulation dot1q
switchport trunk native vlan 9
switchport mode trunk
speed 100
macro description cisco-switch
auto qos voip trust
spanning-tree link-type point-to-point
!
interface FastEthernet2/0/17
!
interface FastEthernet2/0/18
switchport trunk encapsulation dot1q
switchport trunk native vlan 8
switchport mode trunk
macro description cisco-switch
auto qos voip trust
spanning-tree link-type point-to-point
!
interface FastEthernet2/0/19
!
interface FastEthernet2/0/20
!
interface FastEthernet2/0/21
!
interface FastEthernet2/0/22
!
interface FastEthernet2/0/23
!
interface FastEthernet2/0/24
!
interface FastEthernet2/0/25
!
interface FastEthernet2/0/26
!
interface FastEthernet2/0/27
!
interface FastEthernet2/0/28
no switchport
no ip address
!
interface FastEthernet2/0/29
!
interface FastEthernet2/0/30
!
interface FastEthernet2/0/31
!
interface FastEthernet2/0/32
!
interface FastEthernet2/0/33
switchport access vlan 9
switchport mode access
speed 100
spanning-tree portfast
!
interface FastEthernet2/0/34
switchport access vlan 9
switchport mode access
speed 100
spanning-tree portfast
!
interface FastEthernet2/0/35
switchport access vlan 9
switchport mode access
speed 100
spanning-tree portfast
!
interface FastEthernet2/0/36
switchport access vlan 9
switchport mode access
speed 100
spanning-tree portfast
!
interface FastEthernet2/0/37
switchport access vlan 9
switchport mode access
speed 100
spanning-tree portfast
!
interface FastEthernet2/0/38
switchport access vlan 9
switchport mode access
speed 100
spanning-tree portfast
!
interface FastEthernet2/0/39
switchport access vlan 9
switchport mode access
speed 100
spanning-tree portfast
!
interface FastEthernet2/0/40
switchport access vlan 9
switchport mode access
speed 100
spanning-tree portfast
!
interface FastEthernet2/0/41
switchport access vlan 9
switchport mode access
speed 100
spanning-tree portfast
!
interface FastEthernet2/0/42
switchport mode access
speed 100
auto qos voip trust
spanning-tree portfast
spanning-tree link-type point-to-point
!
interface FastEthernet2/0/43
switchport access vlan 9
switchport mode access
speed 100
spanning-tree portfast
!
interface FastEthernet2/0/44
switchport access vlan 9
switchport mode access
speed 100
spanning-tree portfast
!
interface FastEthernet2/0/45
switchport access vlan 9
switchport mode access
speed 100
spanning-tree portfast
!
interface FastEthernet2/0/46
switchport access vlan 9
switchport mode access
speed 100
spanning-tree portfast
!
interface FastEthernet2/0/47
switchport access vlan 9
switchport mode access
speed 100
spanning-tree portfast
!
interface FastEthernet2/0/48
switchport trunk encapsulation dot1q
switchport trunk native vlan 9
switchport trunk allowed vlan 1-3,9,10
switchport mode trunk
auto qos voip trust
spanning-tree link-type point-to-point
!
interface GigabitEthernet2/0/1
switchport trunk encapsulation dot1q
switchport trunk native vlan 10
switchport trunk allowed vlan 1-3,9,10
switchport mode trunk
spanning-tree link-type point-to-point
!
interface GigabitEthernet2/0/2
switchport trunk encapsulation dot1q
switchport trunk native vlan 9
switchport trunk allowed vlan 1-3,9,10
switchport mode trunk
macro description cisco-switch
auto qos voip trust
spanning-tree link-type point-to-point
!
interface GigabitEthernet2/0/3
!
interface GigabitEthernet2/0/4
switchport trunk encapsulation dot1q
switchport trunk native vlan 10
switchport trunk allowed vlan 1-3,9,10
switchport mode trunk
macro description cisco-switch
auto qos voip trust
spanning-tree link-type point-to-point
!
interface Vlan1
no ip address
!
interface Vlan2
no ip address
!
interface Vlan3
ip address 10.241.8.11 255.255.255.0
!
interface Vlan8
no ip address
!
interface Vlan9
ip address 192.168.1.253 255.255.255.0
ip helper-address 192.168.1.1
!
interface Vlan10
no ip address
!
ip default-gateway 192.168.1.1
ip classless
ip http server
!
!
control-plane
!
!
line con 0
line vty 0 4
password 1234561
login
length 0
line vty 5 15
password 1234561
login
length 0
!
end
Циска на втором:
Building configuration...
Current configuration : 6673 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch
!
enable secret 5 $1$DAAo$Ia3gjhhw9IKfjUUg19lSb/
!
no aaa new-model
clock timezone UTC 6
switch 2 provision ws-c3750-48ts
system mtu routing 1500
ip subnet-zero
ip routing
!
!
!
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface FastEthernet2/0/1
!
interface FastEthernet2/0/2
switchport trunk encapsulation dot1q
switchport trunk native vlan 9
switchport trunk allowed vlan 1,2,9,10
switchport mode trunk
macro description cisco-switch
auto qos voip trust
spanning-tree link-type point-to-point
!
interface FastEthernet2/0/3
switchport access vlan 9
switchport mode access
switchport port-security
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
macro description cisco-desktop
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet2/0/4
switchport access vlan 9
switchport mode access
switchport port-security
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
macro description cisco-desktop
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet2/0/5
switchport access vlan 9
switchport mode access
switchport port-security
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
macro description cisco-desktop
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet2/0/6
switchport access vlan 9
switchport mode access
switchport port-security
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
macro description cisco-desktop
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet2/0/7
!
interface FastEthernet2/0/8
!
interface FastEthernet2/0/9
!
interface FastEthernet2/0/10
!
interface FastEthernet2/0/11
switchport access vlan 9
switchport mode access
speed 100
spanning-tree portfast
!
interface FastEthernet2/0/12
switchport access vlan 9
switchport mode access
speed 100
spanning-tree portfast
!
interface FastEthernet2/0/13
switchport access vlan 9
switchport mode access
speed 100
duplex full
spanning-tree portfast
!
interface FastEthernet2/0/14
switchport access vlan 9
switchport mode access
speed 100
duplex full
spanning-tree portfast
!
interface FastEthernet2/0/15
switchport access vlan 9
switchport mode access
speed 100
spanning-tree portfast
!
interface FastEthernet2/0/16
switchport access vlan 9
switchport mode access
speed 100
duplex full
spanning-tree portfast
!
interface FastEthernet2/0/17
switchport trunk encapsulation dot1q
switchport trunk native vlan 9
switchport trunk allowed vlan 1,2,9,10
switchport mode trunk
macro description cisco-switch
auto qos voip trust
spanning-tree link-type point-to-point
!
interface FastEthernet2/0/18
switchport access vlan 9
switchport mode access
switchport port-security
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
macro description cisco-desktop
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet2/0/19
switchport access vlan 9
switchport mode access
switchport port-security
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
macro description cisco-desktop
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet2/0/20
switchport access vlan 9
switchport mode access
switchport port-security
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
macro description cisco-desktop
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet2/0/21
switchport access vlan 655
speed 100
duplex full
!
interface FastEthernet2/0/22
switchport access vlan 655
speed 100
duplex full
!
interface FastEthernet2/0/23
!
interface FastEthernet2/0/24
!
interface FastEthernet2/0/25
switchport access vlan 10
switchport mode access
macro description cisco-desktop
!
interface FastEthernet2/0/26
switchport access vlan 10
switchport mode access
macro description cisco-desktop
!
interface FastEthernet2/0/27
switchport access vlan 10
switchport mode access
macro description cisco-desktop
!
interface FastEthernet2/0/28
switchport access vlan 10
switchport mode access
switchport port-security
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
macro description cisco-desktop
spanning-tree portfast
spanning-tree bpduguard enable
!
interface FastEthernet2/0/29
!
interface FastEthernet2/0/30
!
interface FastEthernet2/0/31
!
interface FastEthernet2/0/32
!
interface FastEthernet2/0/33
!
interface FastEthernet2/0/34
!
interface FastEthernet2/0/35
!
interface FastEthernet2/0/36
!
interface FastEthernet2/0/37
!
interface FastEthernet2/0/38
!
interface FastEthernet2/0/39
!
interface FastEthernet2/0/40
!
interface FastEthernet2/0/41
!
interface FastEthernet2/0/42
!
interface FastEthernet2/0/43
!
interface FastEthernet2/0/44
!
interface FastEthernet2/0/45
!
interface FastEthernet2/0/46
!
interface FastEthernet2/0/47
!
interface FastEthernet2/0/48
switchport access vlan 3
switchport mode access
speed 100
!
interface GigabitEthernet2/0/1
switchport trunk encapsulation dot1q
switchport trunk native vlan 10
switchport trunk allowed vlan 1,2,9,10
switchport mode trunk
macro description cisco-switch
auto qos voip trust
spanning-tree link-type point-to-point
!
interface GigabitEthernet2/0/2
switchport trunk encapsulation dot1q
switchport trunk native vlan 10
switchport mode trunk
macro description cisco-switch
auto qos voip trust
spanning-tree link-type point-to-point
!
interface GigabitEthernet2/0/3
!
interface GigabitEthernet2/0/4
!
interface Vlan1
no ip address
!
interface Vlan3
ip address 10.241.8.2 255.255.255.0
!
interface Vlan9
ip address 192.168.1.251 255.255.255.0
ip helper-address 192.168.1.1
!
interface Vlan10
no ip address
!
ip default-gateway 192.168.1.1
ip classless
ip http server
!
!
control-plane
!
!
line con 0
line vty 0 4
password 1234561
login
length 0
line vty 5 15
password 1234561
login
length 0
!
end