奇怪的瞻博网络开关行为

网络工程 杜松 联网 瞻博网络
2022-02-17 16:04:30

奇怪的瞻博网络交换机行为我在 ebay 上购买了 EX4300 和 SRX300 来研究它并开始阅读文档。

一段时间后,我想测试我的知识并将其配置为在家进行测试。

我已经设法将 SRX300 设置为路由器,将 ge-0/0/[0-3] 端口配置为未标记的每个端口中都有不同的子网,并且 SRX 作为时钟工作没有任何问题。

但是当我连接 SRX 和 EX 时,我发现了一些意想不到的行为。

配置说明:

 SRX           subnetwork                     EX
ge-0/0/0         mgmt                        ge-0/0/0
ge-0/0/1         home                        ge-0/0/2
ge-0/0/2         pbx                         ge-0/0/4
ge-0/0/3         video                       ge-0/0/6

当我将 SRX ge-0/0/1 的跳线连接到 EX ge-0/0/2(两个接口都配置为家庭子网)时,一切正常,但是当我从 SRX ge-0/0/ 连接第二根跳线时0 到 EX ge-0/0/0(两个接口都配置为 mgmt 子网)家庭子网上的所有设备停止在该子网中发现默认网关。

其他子网也有同样的情况,当我只连接 pbx 子网跳线时一切正常,直到我连接家庭子网跳线。

如果我连接视频和 pbx 子网,则只有 pbx 可以工作。

如果我连接所有这些,则只有 mgmt 有效。

所有其他配置,除了这 4 个端口上都有未标记的网络外,它们都可以正常工作。

我不明白,什么可能导致这种行为,有人可以向我解释吗?

EX4300配置:

root> show configuration
## Last commit: 2019-04-16 10:40:12 EEST by root
version 20190319.203446_builder.r1013243;
groups {
    global {
        system {
            login {
                ....
            }
        }
    }
}
apply-groups global;
system {
    login {
        user root {
            ....
        }
    }
    root-authentication {
        ....
    }
    services {
        ssh {
            root-login deny;
            protocol-version v2;
            port 22;
        }
        web-management {
            http {
                interface me0.0;
            }
            https {
                system-generated-certificate;
            }
        }
    }
    auto-snapshot;
    time-zone Europe/Kiev;
    name-server {
        8.8.8.8;
        8.8.4.4;
        1.0.0.1;
        1.1.1.1;
    }
    syslog {
        user * {
            any emergency;
        }
        file messages {
            any notice;
            authorization info;
        }
        file interactive-commands {
            interactive-commands any;
        }
    }
    processes {
        dhcp-service {
            traceoptions {
                file dhcp_logfile size 10m;
                level all;
                flag all;
            }
        }
    }
}
interfaces {
    ge-0/0/0 {
        unit 0 {
            family ethernet-switching {
                vlan {
                    members mgmt;
                }
            }
        }
    }
    ge-0/0/2 {
        unit 0 {
            family ethernet-switching {
                vlan {
                    members home;
                }
            }
        }
    }
    ge-0/0/4 {
        native-vlan-id 22;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ pbx home ];
                }
            }
        }
    }
    ge-0/0/6 {
        unit 0 {
            family ethernet-switching {
                vlan {
                    members video;
                }
            }
        }
    }
    ge-0/0/8 {
        unit 0 {
            family ethernet-switching {
                vlan {
                    members guest;
                }
            }
        }
    }
    ge-0/0/9 {
        unit 0 {
            family ethernet-switching {
                vlan {
                    members home;
                }
            }
        }
    }
    ge-0/0/10 {
        unit 0 {
            family ethernet-switching;
        }
    }
    ge-0/0/11 {
        unit 0 {
            family ethernet-switching {
                vlan {
                    members home;
                }
            }
        }
    }
    ge-0/0/12 {
        unit 0 {
            family ethernet-switching {
                vlan {
                    members video;
                }
            }
        }
    }
    ge-0/0/13 {
        unit 0 {
            family ethernet-switching {
                vlan {
                    members mgmt;
                }
            }
        }
    }
    ge-0/0/14 {
        unit 0 {
            family ethernet-switching {
                vlan {
                    members video;
                }
            }
        }
    }
    ge-0/0/15 {
        unit 0 {
            family ethernet-switching {
                vlan {
                    members mgmt;
                }
            }
        }
    }
    ge-0/0/16 {
        unit 0 {
            family ethernet-switching {
                vlan {
                    members pbx;
                }
            }
        }
    }
    ge-0/0/17 {
        unit 0 {
            family ethernet-switching {
                vlan {
                    members pbx;
                }
            }
        }
    }
    ge-0/0/18 {
        unit 0 {
            family ethernet-switching {
                vlan {
                    members pbx;
                }
            }
        }
    }
    ge-0/0/19 {
        unit 0 {
            family ethernet-switching {
                vlan {
                    members pbx;
                }
            }
        }
    }
    ge-0/0/20 {
        native-vlan-id 5;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ mgmt home guest ];
                }
            }
        }
    }
    ge-0/0/21 {
        unit 0 {
            family ethernet-switching {
                vlan {
                    members video;
                }
            }
        }
    }
    ge-0/0/22 {
        native-vlan-id 5;
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ mgmt guest home ];
                }
            }
        }
    }
    ge-0/0/23 {
        unit 0 {
            family ethernet-switching {
                interface-mode trunk;
                vlan {
                    members [ home pbx video guest mgmt ];
                }
            }
        }
    }
    ge-0/2/0 {
        unit 0 {
            family ethernet-switching {
                storm-control default;
            }
        }
    }
    xe-0/2/0 {
        unit 0 {
            family ethernet-switching {
                storm-control default;
            }
        }
    }
    ge-0/2/1 {
        unit 0 {
            family ethernet-switching {
                storm-control default;
            }
        }
    }
    xe-0/2/1 {
        unit 0 {
            family ethernet-switching {
                storm-control default;
            }
        }
    }
    ge-0/2/2 {
        unit 0 {
            family ethernet-switching {
                storm-control default;
            }
        }
    }
    xe-0/2/2 {
        unit 0 {
            family ethernet-switching {
                storm-control default;
            }
        }
    }
    ge-0/2/3 {
        unit 0 {
            family ethernet-switching {
                storm-control default;
            }
        }
    }
    xe-0/2/3 {
        unit 0 {
            family ethernet-switching {
                storm-control default;
            }
        }
    }
    irb {
        unit 5 {
            family inet {
                address 10.5.5.43/24;
            }
        }
        unit 11 {
            family inet {
                address 10.33.11.43/24;
            }
        }
        unit 12 {
            family inet;
        }
        unit 22 {
            family inet {
                address 10.41.22.43/32;
            }
        }
        unit 23 {
            family inet;
        }
    }
    me0 {
        unit 0 {
            family inet {
                address 172.16.27.43/24;
            }
        }
    }
}
forwarding-options {
    storm-control-profiles default {
        all;
    }
    dhcp-relay {
        server-group {
            home-dhcp {
                10.33.11.1;
            }
            pbx-dhcp {
                10.41.22.1;
            }
        }
        group all {
            interface irb.11;
            interface irb.22;
        }
    }
}
protocols {
    lldp {
        interface all;
    }
    lldp-med {
        interface all;
    }
    igmp-snooping {
        vlan default;
    }
    rstp {
        interface all;
    }
}
poe {
    interface all;
}
vlans {
    home {
        vlan-id 11;
        l3-interface irb.11;
    }
    guest {
        vlan-id 12;
        l3-interface irb.12;
    }
    mgmt {
        vlan-id 5;
        l3-interface irb.5;
    }
    pbx {
        vlan-id 22;
        l3-interface irb.22;
    }
    video {
        vlan-id 23;
        l3-interface irb.23;
    }
}

{master:0}
1个回答

至少在交换机上,RSTP 是活动的。很可能,您在 SRX 上有一个交换机组,而 STP 会阻止所谓的冗余接口。

如果您无法弄清楚,请检查日志并添加经过清理的 SRX 配置。