Woland84 Posted September 7, 2023 Posted September 7, 2023 Добрый день есть потребность физически завернуть траффик на порту данного коммутора. Схема следующая - от источника траффик идет в порт коммутатора (например в порт 29), далее прокидывается Vlan на порт 30, в котором установлен трансивер с физической петлей. На текущий момент не могу добиться прохождения трафика --------------------------------------------------------------------------- Port Description Intvl Rx Mbps Rx % Tx Mbps Tx % --------------------------------------------------------------------------- Ethernet1/29 N/A 30/30 49148.6 49.1% 0.0 0.0% Ethernet1/30 N/A 30/30 0.0 0.0% 0.0 0.0% в логах видно 2012 Aug 26 22:37:26 nexus %ETHPORT-5-IF_DUPLEX: Interface Ethernet1/29, operational duplex mode changed to Full 2012 Aug 26 22:37:26 nexus %ETHPORT-5-IF_RX_FLOW_CONTROL: Interface Ethernet1/29, operational Receive Flow Control state changed to on 2012 Aug 26 22:37:26 nexus %ETHPORT-5-IF_TX_FLOW_CONTROL: Interface Ethernet1/29, operational Transmit Flow Control state changed to off 2012 Aug 26 22:37:26 nexus %ETHPORT-5-IF_UP: Interface Ethernet1/29 is up in mode access 2012 Aug 26 22:37:29 nexus %ETHPORT-5-IF_DOWN_CFG_CHANGE: Interface Ethernet1/29 is down(Config change) 2012 Aug 26 22:37:30 nexus %ETHPORT-5-IF_DOWN_CFG_CHANGE: Interface Ethernet1/30 is down(Config change) 2012 Aug 26 22:37:37 nexus %ETHPORT-5-SPEED: Interface Ethernet1/30, operational speed changed to 100 Gbps 2012 Aug 26 22:37:37 nexus %ETHPORT-5-IF_DUPLEX: Interface Ethernet1/30, operational duplex mode changed to Full 2012 Aug 26 22:37:37 nexus %ETHPORT-5-IF_RX_FLOW_CONTROL: Interface Ethernet1/30, operational Receive Flow Control state changed to on 2012 Aug 26 22:37:37 nexus %ETHPORT-5-IF_TX_FLOW_CONTROL: Interface Ethernet1/30, operational Transmit Flow Control state changed to on 2012 Aug 26 22:37:37 nexus %ETHPORT-5-SPEED: Interface Ethernet1/29, operational speed changed to 100 Gbps 2012 Aug 26 22:37:37 nexus %ETHPORT-5-IF_DUPLEX: Interface Ethernet1/29, operational duplex mode changed to Full 2012 Aug 26 22:37:37 nexus %ETHPORT-5-IF_RX_FLOW_CONTROL: Interface Ethernet1/29, operational Receive Flow Control state changed to on 2012 Aug 26 22:37:37 nexus %ETHPORT-5-IF_TX_FLOW_CONTROL: Interface Ethernet1/29, operational Transmit Flow Control state changed to on 2012 Aug 26 22:37:37 nexus %ETHPORT-5-IF_UP: Interface Ethernet1/30 is up in mode access 2012 Aug 26 22:37:37 nexus %ETHPORT-5-IF_UP: Interface Ethernet1/29 is up in mode access 2012 Aug 26 22:37:43 nexus %L2FM-2-L2FM_MAC_FLAP_DISABLE_LEARN: Disabling learning in vlan 114 for 120s due to too many mac moves 2012 Aug 26 22:39:43 nexus %L2FM-2-L2FM_MAC_FLAP_RE_ENABLE_LEARN: Re-enabling learning in vlan 114 2012 Aug 26 22:43:02 nexus %ETHPORT-5-IF_DOWN_CFG_CHANGE: Interface Ethernet1/29 is down(Config change) 2012 Aug 26 22:43:02 nexus %ETHPORT-5-IF_DOWN_CFG_CHANGE: Interface Ethernet1/30 is down(Config change) 2012 Aug 26 22:43:15 nexus %ETHPORT-5-SPEED: Interface Ethernet1/30, operational speed changed to 100 Gbps 2012 Aug 26 22:43:15 nexus %ETHPORT-5-IF_DUPLEX: Interface Ethernet1/30, operational duplex mode changed to Full 2012 Aug 26 22:43:15 nexus %ETHPORT-5-IF_RX_FLOW_CONTROL: Interface Ethernet1/30, operational Receive Flow Control state changed to off 2012 Aug 26 22:43:15 nexus %ETHPORT-5-IF_TX_FLOW_CONTROL: Interface Ethernet1/30, operational Transmit Flow Control state changed to off 2012 Aug 26 22:43:15 nexus %ETHPORT-5-SPEED: Interface Ethernet1/29, operational speed changed to 100 Gbps 2012 Aug 26 22:43:15 nexus %ETHPORT-5-IF_DUPLEX: Interface Ethernet1/29, operational duplex mode changed to Full 2012 Aug 26 22:43:15 nexus %ETHPORT-5-IF_RX_FLOW_CONTROL: Interface Ethernet1/29, operational Receive Flow Control state changed to off 2012 Aug 26 22:43:15 nexus %ETHPORT-5-IF_TX_FLOW_CONTROL: Interface Ethernet1/29, operational Transmit Flow Control state changed to off 2012 Aug 26 22:43:15 nexus %ETHPORT-5-IF_UP: Interface Ethernet1/30 is up in mode access 2012 Aug 26 22:43:15 nexus %ETHPORT-5-IF_UP: Interface Ethernet1/29 is up in mode access отключить MAC-LEARN не получается nexus(config)# mac-learn disable config not supported on platform отключение mac address-table notification mac-move тоже не приводит к результату можно еще что то сделать? настройки коммутатора общие: !Command: show running-config !Running configuration last done at: Sun Aug 26 22:43:08 2012 !Time: Sun Aug 26 22:53:58 2012 version 9.2(4) Bios:version 07.66 switchname nexus class-map type network-qos j vdc nexus id 1 limit-resource vlan minimum 16 maximum 4094 limit-resource vrf minimum 2 maximum 4096 limit-resource port-channel minimum 0 maximum 511 limit-resource u4route-mem minimum 248 maximum 248 limit-resource u6route-mem minimum 96 maximum 96 limit-resource m4route-mem minimum 58 maximum 58 limit-resource m6route-mem minimum 8 maximum 8 ip domain-lookup system default switchport errdisable recovery interval 30 no errdisable detect cause link-flap no errdisable detect cause loopback interface breakout module 1 port 31 map 10g-4x interface breakout module 1 port 32 map 25g-4x copp profile strict rmon event 1 description FATAL(1) owner PMON@FATAL rmon event 2 description CRITICAL(2) owner PMON@CRITICAL rmon event 3 description ERROR(3) owner PMON@ERROR rmon event 4 description WARNING(4) owner PMON@WARNING rmon event 5 description INFORMATION(5) owner PMON@INFO snmp-server community public group network-operator vlan 1,100-200 spanning-tree port type edge bpdufilter default no spanning-tree bridge assurance no spanning-tree vlan 1-200 vrf context management ip route 0.0.0.0/0 10.0.10.1 настройки портов interface Ethernet1/29 switchport access vlan 114 spanning-tree port type edge spanning-tree guard none spanning-tree bpdufilter enable mtu 9216 interface Ethernet1/30 switchport access vlan 114 spanning-tree port type edge spanning-tree guard none spanning-tree bpdufilter enable mtu 9216 Вставить ник Quote
PumpIT Posted September 7, 2023 Posted September 7, 2023 Может я не правильно понял, но если про зеркало то у нас так: interface Ethernet1/46 switchport mode trunk switchport monitor switchport trunk allowed vlan none По крайней мере, изучение мак-адресов при мониторе отключается Вставить ник Quote
Woland84 Posted September 7, 2023 Author Posted September 7, 2023 при установке в монитор, изучение mac действительно, отключается, но траффик все равно не собирается. 2012 Aug 27 01:45:43 nexus %ETHPORT-5-IF_TX_FLOW_CONTROL: Interface Ethernet1/30, operational Transmit Flow Control state changed to off 2012 Aug 27 01:45:43 nexus %ETHPORT-5-IF_UP: Interface Ethernet1/30 is up in mode monitor 2012 Aug 27 01:47:17 nexus %ETHPORT-5-IF_DOWN_LINK_FAILURE: Interface Ethernet1/30 is down (Link failure) 2012 Aug 27 01:49:59 nexus %ETHPORT-5-SPEED: Interface Ethernet1/30, operational speed changed to 100 Gbps 2012 Aug 27 01:49:59 nexus %ETHPORT-5-IF_DUPLEX: Interface Ethernet1/30, operational duplex mode changed to Full 2012 Aug 27 01:49:59 nexus %ETHPORT-5-IF_RX_FLOW_CONTROL: Interface Ethernet1/30, operational Receive Flow Control state changed to off 2012 Aug 27 01:49:59 nexus %ETHPORT-5-IF_TX_FLOW_CONTROL: Interface Ethernet1/30, operational Transmit Flow Control state changed to off 2012 Aug 27 01:49:59 nexus %ETHPORT-5-IF_UP: Interface Ethernet1/30 is up in mode monitor 2012 Aug 27 01:50:38 nexus %ETHPORT-5-IF_DOWN_LINK_FAILURE: Interface Ethernet1/30 is down (Link failure) 2012 Aug 27 01:53:08 nexus %ETHPORT-5-SPEED: Interface Ethernet1/30, operational speed changed to 100 Gbps 2012 Aug 27 01:53:08 nexus %ETHPORT-5-IF_DUPLEX: Interface Ethernet1/30, operational duplex mode changed to Full 2012 Aug 27 01:53:08 nexus %ETHPORT-5-IF_RX_FLOW_CONTROL: Interface Ethernet1/30, operational Receive Flow Control state changed to off 2012 Aug 27 01:53:08 nexus %ETHPORT-5-IF_TX_FLOW_CONTROL: Interface Ethernet1/30, operational Transmit Flow Control state changed to off 2012 Aug 27 01:53:08 nexus %ETHPORT-5-IF_UP: Interface Ethernet1/30 is up in mode monitor 2012 Aug 27 01:54:08 nexus %ETHPORT-5-IF_DOWN_LINK_FAILURE: Interface Ethernet1/30 is down (Link failure) 2012 Aug 27 01:56:19 nexus %ETHPORT-5-SPEED: Interface Ethernet1/30, operational speed changed to 100 Gbps 2012 Aug 27 01:56:19 nexus %ETHPORT-5-IF_DUPLEX: Interface Ethernet1/30, operational duplex mode changed to Full 2012 Aug 27 01:56:19 nexus %ETHPORT-5-IF_RX_FLOW_CONTROL: Interface Ethernet1/30, operational Receive Flow Control state changed to off 2012 Aug 27 01:56:19 nexus %ETHPORT-5-IF_TX_FLOW_CONTROL: Interface Ethernet1/30, operational Transmit Flow Control state changed to off 2012 Aug 27 01:56:19 nexus %ETHPORT-5-IF_UP: Interface Ethernet1/30 is up in mode monitor Вставить ник Quote
PumpIT Posted September 7, 2023 Posted September 7, 2023 Так все же, это зеркало? Просто там нужно еще кой-чего поднастроить Вставить ник Quote
Woland84 Posted September 8, 2023 Author Posted September 8, 2023 нет, зеркало не нужно. нужна физическая петля на порту Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.