Ciscoswitchfrågor , tagged? PVID? General eller access?

Permalänk
Medlem

Ciscoswitchfrågor , tagged? PVID? General eller access?

Nån som är bra på Ciscos prylar?

Jag är ny på detta och ju mer jag googlar ju knäppare blir jag, men mycket har också blivit klarare.

Några frågor jag har kvar:
Hur får jag fram konfigurationen på ett lätt sätt på en Ciscoswitch?

Vad menar Cisco med taggad?
Om jag förstår det rätt är taggad för en HP switch detsamma som trunkning på en cisco...men vad är då tagged och untagged på en cisco?

Ska man sätta PVID, är det detsamma som VLANID?

Sen detta med general och access, hittade detta men förstår inte om det är bra om tex access bara acceppterar otaggat.
■General—The port can be a member of one or more tagged or untagged VLANs. This mode allows the full capabilities specified in the IEEE 802.1Q specification, "VLAN Tagging."
■Access—The port can accept only untagged frames. An access port can be a member of only one VLAN and it uses the VLAN ID as its port VLAN ID (PVID). Access ports are typically used to connect hosts, which become members of the VLAN by virtue of being physically connected to the port.

Permalänk

Vad är det för modell du har?

För att se konfigurationen på en Catalyst switch kan du köra telnet/ssh/console och skriva:

enable
show running-config

Permalänk
Medlem
Skrivet av banankontakt:

Vad är det för modell du har?

För att se konfigurationen på en Catalyst switch kan du köra telnet/ssh/console och skriva:

enable
show running-config

Tackar, det är en cisco small buisness SG 200-08

Permalänk
Medlem

Acces portarna kan bara bindas till en och samma VLAN. Trunk portar däremot är raka motsatsen med stöd för flera VLANS.

Permalänk
Medlem
Skrivet av EkrJkr:

Acces portarna kan bara bindas till en och samma VLAN. Trunk portar däremot är raka motsatsen med stöd för flera VLANS.

Vad är då General?
Den stod på det default men när man googlar tycker folk man ska ha access.

Permalänk
Medlem
Skrivet av Kitty:

Vad är då General?
Den stod på det default men när man googlar tycker folk man ska ha access.

Trunk har jag på porten som går ut mot nästa switch.

Permalänk
Medlem
Skrivet av Kitty:

Nån som är bra på Ciscos prylar?

Jag är ny på detta och ju mer jag googlar ju knäppare blir jag, men mycket har också blivit klarare.

Några frågor jag har kvar:
Hur får jag fram konfigurationen på ett lätt sätt på en Ciscoswitch?

Vad menar Cisco med taggad?
Om jag förstår det rätt är taggad för en HP switch detsamma som trunkning på en cisco...men vad är då tagged och untagged på en cisco?

Ska man sätta PVID, är det detsamma som VLANID?

Sen detta med general och access, hittade detta men förstår inte om det är bra om tex access bara acceppterar otaggat.
■General—The port can be a member of one or more tagged or untagged VLANs. This mode allows the full capabilities specified in the IEEE 802.1Q specification, "VLAN Tagging."
■Access—The port can accept only untagged frames. An access port can be a member of only one VLAN and it uses the VLAN ID as its port VLAN ID (PVID). Access ports are typically used to connect hosts, which become members of the VLAN by virtue of being physically connected to the port.

Nu har jag aldrig grejat med en small business ciscoswitch tidigare men det låter i princip som att "General" är det samma som trunking på en "vanlig" ciscoswitch. Default så taggas all trafik på en trunklänk förutom det VLAN som är native (Default VLAN1) på ciscoswitchar, kanske är något liknande på denna? Notera att jag inte är säker utan spekulerar mest.

Visa signatur

AMD R7 5800X | MSI MPG B550 GAMING PLUS | HyperX Fury Black RGB 32GB | EVGA GeForce RTX 3080 FTW3 ULTRA | Corsair RM750X V2 | Corsair iCUE 4000X RGB | Asus Rog Swift PG279Q | Windows 10

Permalänk

Har tyvärr ingen erfarenhet av small business switcharna. Kör den enbart webbaserad management eller?

Permalänk
Medlem
Skrivet av Luffie:

Nu har jag aldrig grejat med en small business ciscoswitch tidigare men det låter i princip som att "General" är det samma som trunking på en "vanlig" ciscoswitch. Default så taggas all trafik på en trunklänk förutom det VLAN som är native (Default VLAN1) på ciscoswitchar, kanske är något liknande på denna? Notera att jag inte är säker utan spekulerar mest.

Hmm, men vad är då skillanden mellan trunk och general.

Mitt egentliga problem är att när jag sätter utgången på HPswitchen (som ciscon sitter i) som tagged så får jag ingen kontakt med Ciscon.

jag tänkte om jag förstår mer av Cisco kanske det klarnar.

Det är en jungel

Permalänk
Medlem
Skrivet av banankontakt:

Har tyvärr ingen erfarenhet av small business switcharna. Kör den enbart webbaserad management eller?

Ja jag tror det.

Permalänk
Medlem

Du har en Linksys, inte en Cisco ;).

På en cisco har du access och trunkportar. Accessportar tillhör ett vlan och trafiken går otaggad. Trunkportar kan ha flera taggade vlan och ett native vlan, native vlanet är otaggat.

I ditt fall så är nog general detsamma som en trunk.

Visa signatur

CCNP

Permalänk
Medlem
Skrivet av maniak:

Du har en Linksys, inte en Cisco ;).

På en cisco har du access och trunkportar. Accessportar tillhör ett vlan och trafiken går otaggad. Trunkportar kan ha flera taggade vlan och ett native vlan, native vlanet är otaggat.

I ditt fall så är nog general detsamma som en trunk.

Oj nu blev det mycket på en gång

Vad är det för skillnad på en linksys och en cisco?
Jag trodde allt cisco var cisco

Jag kan välja mellan access, general och trunk.
Trunken har jag ju då på en port, men dom andra har fortfarande inte riktigt kläm på om det ska vara general eller access...
Om general är samma som trunk varför finns general?
Det låter som om jag ska välja access men det funkar inte ändå.

Tack för ditt svar även om jag inte har koll ännu

Permalänk
Medlem

3:e tråden med samma fråga...

Har du läst länken du fick tidigare? (http://homecommunity.cisco.com/t5/Switches/access-general-or-...)

Specifikt:

Generally, do not use General mode. In most cases it is not necessary. Use access mode and trunk mode and nothing else. If you think you must use General mode you probably have an issue with your network design. For instance, you can configure a port to be untagged member of multiple VLANs although this is in most cases not what you want and will create very confusing situations.

Access mode is for client devices, like normal desktops, printers, etc, An access mode port only sends and accepts untagged frames. The association of the traffic on this port to a VLAN happens through configuration on the switch. An access mode port in VLAN 5 belongs to VLAN 5 and no other VLAN. It will only send and receive traffic on VLAN 5.

Trunk mode uses tagged and untagged frames. The fact that it uses 802.1q tagged frames implies that it is connected to a device which is capable of dealing with 802.1q frames. Managed VLAN switches are one example. But very often ethernet cards in server machines can be configured for 802.1q as well, i.e. you can run a trunk mode port to a server connecting it directly into multiple VLANs.

You can specify which VLANs are carried on a trunk mode port and which not. Thus you are also able to exclude some VLANs from a trunk port. Using tagging the switch sends 802.1q tagged frames for all VLANs on which it is tagged member. The "tag" contains the number of the VLAN to which this particular frame belongs to. Due to that, the receiving side is able to correctly assign each received frame to the correct VLAN. If the switch send a VLAN 5 tagged frame through a trunk port the receiving side knows that this frame belongs to VLAN 5 and thus can forward it correctly to the next hop maintaining separation of VLANs etc.

The untagged VLAN on a trunk port is the "default" native VLAN for all frames on a trunk port which are send or received untagged. All untagged frames only belong to this native VLAN. If you configured both ends of the trunk connection identically that both ends use the same VLAN for each frame received and send, tagged or untagged. It is highly recommended that the configuration on both ends of a trunk connection is identical, i.e. the native VLAN is the same and both ends use the same set of tagged VLANs or accept any possible tagged VLAN.

As mentioned before, General mode is more flexible in that you can choose any native VLAN you want or even multiple untagged VLANs. However, this is usually not what you want. For instance, if you configure a general mode port to be untagged member of VLANs 2 and 3 the switch will send any frame from VLAN 2 or VLAN 3 untagged through the general mode port. The receiver on the other side is not able to distinguish which VLAN the frame belongs to: it could be VLAN 2 or VLAN 3.

Some people think they could use general mode to connect a "shared" device to multiple VLANs. This again, is not true. The problem is the reverse direction, i.e. untagged frames received on the general mode port. You have to configure a single VLAN on the general port for all untagged frames. Otherwise the switch would not know exactly to which VLAN it should assign an untagged frame received. Thus, although you can send the frames for multiple VLANs untagged through a general mode port you can only receive untagged frames for a single VLAN on that same port.

Permalänk
Medlem

Det löste inte problemet frågorna blir bara fler istället.
Vi får lösa det på annat sätt.

Skrivet av Tanis:

3:e tråden med samma fråga...

Har du läst länken du fick tidigare? (http://homecommunity.cisco.com/t5/Switches/access-general-or-...)

Specifikt:

Generally, do not use General mode. In most cases it is not necessary. Use access mode and trunk mode and nothing else. If you think you must use General mode you probably have an issue with your network design. For instance, you can configure a port to be untagged member of multiple VLANs although this is in most cases not what you want and will create very confusing situations.

Access mode is for client devices, like normal desktops, printers, etc, An access mode port only sends and accepts untagged frames. The association of the traffic on this port to a VLAN happens through configuration on the switch. An access mode port in VLAN 5 belongs to VLAN 5 and no other VLAN. It will only send and receive traffic on VLAN 5.

Trunk mode uses tagged and untagged frames. The fact that it uses 802.1q tagged frames implies that it is connected to a device which is capable of dealing with 802.1q frames. Managed VLAN switches are one example. But very often ethernet cards in server machines can be configured for 802.1q as well, i.e. you can run a trunk mode port to a server connecting it directly into multiple VLANs.

You can specify which VLANs are carried on a trunk mode port and which not. Thus you are also able to exclude some VLANs from a trunk port. Using tagging the switch sends 802.1q tagged frames for all VLANs on which it is tagged member. The "tag" contains the number of the VLAN to which this particular frame belongs to. Due to that, the receiving side is able to correctly assign each received frame to the correct VLAN. If the switch send a VLAN 5 tagged frame through a trunk port the receiving side knows that this frame belongs to VLAN 5 and thus can forward it correctly to the next hop maintaining separation of VLANs etc.

The untagged VLAN on a trunk port is the "default" native VLAN for all frames on a trunk port which are send or received untagged. All untagged frames only belong to this native VLAN. If you configured both ends of the trunk connection identically that both ends use the same VLAN for each frame received and send, tagged or untagged. It is highly recommended that the configuration on both ends of a trunk connection is identical, i.e. the native VLAN is the same and both ends use the same set of tagged VLANs or accept any possible tagged VLAN.

As mentioned before, General mode is more flexible in that you can choose any native VLAN you want or even multiple untagged VLANs. However, this is usually not what you want. For instance, if you configure a general mode port to be untagged member of VLANs 2 and 3 the switch will send any frame from VLAN 2 or VLAN 3 untagged through the general mode port. The receiver on the other side is not able to distinguish which VLAN the frame belongs to: it could be VLAN 2 or VLAN 3.

Some people think they could use general mode to connect a "shared" device to multiple VLANs. This again, is not true. The problem is the reverse direction, i.e. untagged frames received on the general mode port. You have to configure a single VLAN on the general port for all untagged frames. Otherwise the switch would not know exactly to which VLAN it should assign an untagged frame received. Thus, although you can send the frames for multiple VLANs untagged through a general mode port you can only receive untagged frames for a single VLAN on that same port.

Permalänk
Medlem

Vad är det exakt du försöker göra? Blir lite lättare att föreslå en specifik lösning om du presenterar vad du försöker sätta upp.

Visa signatur

pfSense: GA-J1900N-D3V Quad-core Celeron 2GHz, Samsung 4GB, pfSense 2.2.2@USB
ESXi: i5 3470S, Gigabyte GA-B75N, Corsair XMS3 16GB, Intel PRO/1000 VT Quad GbE, Streacom F7C, ESXi@USB
Campfire Audio Lyra II, HiFiMAN HE-400, Yamaha EPH-100, Audioengine D1, FiiO E10

Permalänk
Medlem
Skrivet av Kitty:

Det löste inte problemet frågorna blir bara fler istället.
Vi får lösa det på annat sätt.

OK. Enkel sammanfattning. Använd access eller trunk. Aldrig general.
Motsvarande kör inte untagged om du inte måste på dina trunkar.

Permalänk
Medlem
Skrivet av ziim0n:

Vad är det exakt du försöker göra? Blir lite lättare att föreslå en specifik lösning om du presenterar vad du försöker sätta upp.

Jag har lastat på problemet på en annan.
(nu sitter han och svär så det är iofs ännu långt ifrån löst )

Permalänk
Rekordmedlem
Skrivet av Kitty:

Nån som är bra på Ciscos prylar?

Jag är ny på detta och ju mer jag googlar ju knäppare blir jag, men mycket har också blivit klarare.

Några frågor jag har kvar:
Hur får jag fram konfigurationen på ett lätt sätt på en Ciscoswitch?

Vad menar Cisco med taggad?
Om jag förstår det rätt är taggad för en HP switch detsamma som trunkning på en cisco...men vad är då tagged och untagged på en cisco?

Ska man sätta PVID, är det detsamma som VLANID?

Sen detta med general och access, hittade detta men förstår inte om det är bra om tex access bara acceppterar otaggat.
■General—The port can be a member of one or more tagged or untagged VLANs. This mode allows the full capabilities specified in the IEEE 802.1Q specification, "VLAN Tagging."
■Access—The port can accept only untagged frames. An access port can be a member of only one VLAN and it uses the VLAN ID as its port VLAN ID (PVID). Access ports are typically used to connect hosts, which become members of the VLAN by virtue of being physically connected to the port.

The PVID is basically defined as:
The VLAN that the switch will use for forwarding/filtering purposes when a frame arrives without a 802.1q header.
This allows the switch to process traffic from workstation NIC's that are not "stamping" frames with 802.1q headers.
AutoPVID is usually the preferred setting, usually resulting in a PVID of 1 (native VLAN).

Taggad innebär att paketen har fått en vlan flagga på sig, alltså att de är låsta till nått specifikt vlan.
otaggad innebär att paketen använder native vlanet

Accesportar är de du ansluter mot dina hostar, general är de som går mellan switchar/routrar om du ska använda dem som trunkar.

Linksys och Cisco är ganska olika saker, cisco har ios som operativsystem vad linksys os heter det vete gudarna, det är nog nån linuxvariant som de flersta andra småroutrar.
Cisco köpte linksys i mitten av 2000 talet och de gånger jag kommit i kontakt med linksysprylar så har jag inte känt igen mycket från cisco vad gäller styrningen, linksys är hemmaprylar som saknar funktionerna som används i stora nät, de har också i ett försök att förenkla bytt namn på en del funktioner, så det är inte alltid jättelätt att hitta standardnamnen för en funktion.

Visa signatur

R5 5600G, Asus ROG STRIX X470-F Gaming, WD SN850X 2TB, Seasonic Focus+ Gold 650W, Aerocool Graphite v3, Tittar på en Acer ET430Kbmiippx 43" 4K. Lyssnar på Behringer DCX2496, Truth B3031A, Truth B2092A. Har också oscilloskop, mätmikrofon och colorimeter.

Permalänk
Medlem

Tackar, en bra sammanfattning som fått tioöringen att ramla ner!

Det har krånglat rejält i dag, men jag har lärt mig massor i dag så inget gott som inte har nåt ont med sig.
Efter 2 dagar av fler perosners felsökning verkar ödet för Linksysen bli att den blir utbytt i allafall.

Skrivet av mrqaffe:

The PVID is basically defined as:
The VLAN that the switch will use for forwarding/filtering purposes when a frame arrives without a 802.1q header.
This allows the switch to process traffic from workstation NIC's that are not "stamping" frames with 802.1q headers.
AutoPVID is usually the preferred setting, usually resulting in a PVID of 1 (native VLAN).

Taggad innebär att paketen har fått en vlan flagga på sig, alltså att de är låsta till nått specifikt vlan.
otaggad innebär att paketen använder native vlanet

Accesportar är de du ansluter mot dina hostar, general är de som går mellan switchar/routrar om du ska använda dem som trunkar.

Linksys och Cisco är ganska olika saker, cisco har ios som operativsystem vad linksys os heter det vete gudarna, det är nog nån linuxvariant som de flersta andra småroutrar.
Cisco köpte linksys i mitten av 2000 talet och de gånger jag kommit i kontakt med linksysprylar så har jag inte känt igen mycket från cisco vad gäller styrningen, linksys är hemmaprylar som saknar funktionerna som används i stora nät, de har också i ett försök att förenkla bytt namn på en del funktioner, så det är inte alltid jättelätt att hitta standardnamnen för en funktion.