NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

triela's avatar
triela
Aspirant
Jan 23, 2024

M4300でのVLANについて。

一般的なVLAN設定についてですが、設定方法によって異なるので混乱しております。
show runから情報からですが、まずvlanの設定方法は以下のような設定になる事があると思います。

(*設定例なのでポート事異なる運用でなく、Switchmodeの設定とPVID設定が混在する事が望ましくないことは確認しました。)

 

まず・・

Q1:

一般的にというのか、どの設定が正しいものでしょうか?

1/0/1はGUIで設定した場合の結果となり、

1/0/2は"auto 1"を"exclude 1"とCLIで変更し、

1/03はswithport mode accessで設定しております。

基本、結果的にはvlan10に所属していることは

"show vlan 10"からしたら同じで、

"show vlan 1"からみれば、1/0/3のみ Configuredが"Autodetect"でなく、"Exclude"となっているだけです。


interface 1/0/1
vlan pvid 10
vlan participation auto 1
vlan participation include 10
exit


interface 1/0/2
vlan pvid 10
vlan participation exclude 1
vlan participation include 10
exit

interface 1/0/3
switchport mode access
switchport access vlan 10
exit

上記の設定からもう少し気になる点も踏まえてご教示ください。

Q2:

autodetect(≒vlan participation auto 1)であること、excludeとして設定していることにおける差異/問題はありますでしょうか?

Q3:

次に"switchport mode access"で設定すると、Ingress Filteringが有効となります。その他の設定の場合は無効となります。”Ingress Filtering”の設定は同じVLAN10という設定の手順の中でも異なったので、どちら望ましいといえるものでしょうか。

Q4:

"vlan participation exclude 1"とした場合、Forbidden VLANが1となります。他はNoneです。
Forbidden VLANは何を意味しているのかご教示ください。

 

 

 

1 Reply

  • Re-described in English

    I am confused about the general VLAN configuration, as it depends on how it is configured.
    From the information in the show run, I think that the vlan configuration method can be as follows.

    (*I have confirmed that it is not desirable to mix switchmode settings and PVID settings, not to operate different ports, since this is a configuration example).

     

    First...

    Q1: What is the general situation?

    In general, which settings are correct?

    1/0/1 is the result of the GUI setting,

    1/0/2 is the result of setting "auto 1" as "exclude 1" in the CLI,

    1/03 is configured in swithport mode access.

    Basically, as a result, the fact that it belongs to vlan 10 is

    The result is the same from "show vlan 10",

    From "show vlan 1", only 1/0/3 is configured as "Exclude" instead of "Autodetect".


    interface 1/0/1
    vlan pvid 10
    vlan participation auto 1
    vlan participation include 10
    Exit


    interface 1/0/2
    vlan pvid 10
    vlan participation exclude 1
    vlan participation include 10
    interface 1/0/3

    interface 1/0/3
    switchport mode access
    switchport access vlan 10
    exit

    Please let me know if you have any further concerns from the above configuration.

    Q2: What is the problem with the

    Is there any difference/problem in being autodetect (≈vlan participation auto 1) and setting it as exclude?

    Q3: Next, what is the difference between "switchport" and "vlan participation auto 1"?

    Q3: Next, when configured with "switchport mode access", Ingress Filtering is enabled. Other settings will disable it."
    Q4: What is the difference/issue with the "switchport mode access" setting and the "switchport mode access" setting?

    Q4:.

    When I set "vlan participation exclude 1", Forbidden VLAN is set to 1. The others are None.
    What does Forbidden VLAN mean?

NETGEAR Academy

Netgearアカデミーでスキルを向上 - トレーニングを受け、認定を取得し、最新のNetgear技術で周囲と差をつけよう!

参加はこちらから!

ProSupport for Business

ネットワーク稼働時間を最大に、ビジネスの安心感を与える包括的なサポートプラン。

 

詳細はこちら