Temat: Netgear R7800, vlany i porty CPU
Cześć
Których portów CPU używać przy konfiguracji vlanów (0t czy 6t?) w r7800.
0t tylko przy konfiguracji portu fizycznego WAN?
6t przy konfiguracji portów fizycznych LAN?
Jest tak jak na diagramie?
Porty fizyczne (z tyłu od lewej)
| CPU dla WAN | LAN | WAN | CPU dla LAN |
| 0 | 1 2 3 4 | 5 | 6 |
Dlaczego poniższe polecenie pokazuje, że cpu jest tylko na porcie 0 (nigdzie nie ma portu 6)
root@R7800:~# swconfig dev switch0 help
switch0: gpio-0(Atheros AR8337), ports: 7 (cpu @ 0), vlans: 4096
--switch
Attribute 1 (int): enable_vlan (Enable VLAN mode)
Attribute 2 (none): reset_mibs (Reset all MIB counters)
Attribute 3 (int): ar8xxx_mib_poll_interval (MIB polling interval in msecs (0 to disable))
Attribute 4 (int): ar8xxx_mib_type (MIB type (0=basic 1=extended))
Attribute 5 (int): enable_mirror_rx (Enable mirroring of RX packets)
Attribute 6 (int): enable_mirror_tx (Enable mirroring of TX packets)
Attribute 7 (int): mirror_monitor_port (Mirror monitor port)
Attribute 8 (int): mirror_source_port (Mirror source port)
Attribute 9 (int): arl_age_time (ARL age time (secs))
Attribute 10 (string): arl_table (Get ARL table)
Attribute 11 (none): flush_arl_table (Flush ARL table)
Attribute 12 (int): igmp_snooping (Enable IGMP Snooping)
Attribute 13 (int): igmp_v3 (Enable IGMPv3 support)
Attribute 14 (none): apply (Activate changes in the hardware)
Attribute 15 (none): reset (Reset the switch)
--vlan
Attribute 1 (int): vid (VLAN ID (0-4094))
Attribute 2 (ports): ports (VLAN port mapping)
--port
Attribute 1 (none): reset_mib (Reset single port MIB counters)
Attribute 2 (string): mib (Get port's MIB counters)
Attribute 3 (int): enable_eee (Enable EEE PHY sleep mode)
Attribute 4 (none): flush_arl_table (Flush port's ARL table entries)
Attribute 5 (int): igmp_snooping (Enable port's IGMP Snooping)
Attribute 6 (int): vlan_prio (Port VLAN default priority (VLAN PCP) (0-7))
Attribute 7 (int): pvid (Primary VLAN ID)
Attribute 8 (unknown): link (Get port link information)root@R7800:~# swconfig dev switch0 show | grep link:
link: port:0 link:up speed:1000baseT full-duplex
link: port:1 link:up speed:1000baseT full-duplex auto
link: port:2 link:up speed:1000baseT full-duplex txflow rxflow auto
link: port:3 link:down
link: port:4 link:down
link: port:5 link:up speed:100baseT full-duplex auto
link: port:6 link:up speed:1000baseT full-duplexMichał