{"id":19317860,"url":"https://github.com/queeniecplusplus/ccna2020_dot1q","last_synced_at":"2026-03-01T03:04:04.685Z","repository":{"id":104588130,"uuid":"294823264","full_name":"QueenieCplusplus/CCNA2020_dot1q","owner":"QueenieCplusplus","description":"IEEE 802.1q defines VLAN tag","archived":false,"fork":false,"pushed_at":"2020-09-12T01:28:44.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-06T04:26:15.177Z","etag":null,"topics":["vlan"],"latest_commit_sha":null,"homepage":"https://github.com/QueenieCplusplus/QuickGoThru#ccna-revsersion-in-2020","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/QueenieCplusplus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-11T22:22:17.000Z","updated_at":"2020-09-12T10:56:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"780f2b18-7e60-46a9-9fda-6d68a966672c","html_url":"https://github.com/QueenieCplusplus/CCNA2020_dot1q","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueenieCplusplus%2FCCNA2020_dot1q","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueenieCplusplus%2FCCNA2020_dot1q/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueenieCplusplus%2FCCNA2020_dot1q/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QueenieCplusplus%2FCCNA2020_dot1q/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QueenieCplusplus","download_url":"https://codeload.github.com/QueenieCplusplus/CCNA2020_dot1q/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240420941,"owners_count":19798501,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["vlan"],"created_at":"2024-11-10T01:16:28.344Z","updated_at":"2026-03-01T03:03:54.671Z","avatar_url":"https://github.com/QueenieCplusplus.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# CCNA2020_dot1q\nIEEE 802.1q defines VLAN tag\n\n# 802.1Q\n\n允許多個網橋 Network Bridge 在資料不外洩的情況下共用同一個實體網路。\n等同允許多個 VLAN 藉由 Switcher 連接在一起。\n\n# 802.1q header\n\n為原始影格 frame 多加入 802.1q header 欄位，此標頭含有四個欄位，最主要是 TPID 與 VID。\n\n# VLAN 架構\n\n是 IT 部門為企業的內部實體網路再切出個別獨立的邏輯網路端。\n\n# VLAN 標籤\n\n原理是 edge switch 幫 frame 標記適當的 vlan id，該 frame 傳送到部門下相對應的設備下則該標識會被移除。\n\n能幫助影格在傳送過程中（廣播）, 不會被其他不相干的部門設備嗅探。\n\n且可使多個 VLAN 用一個連接多路復用。\n\n# Trunk Port\n\n此阜是用於 Switcher 與 Switcher 之間溝通 VLAN 的介面。\n\n設定方式：\n\nhttps://www.netadmin.com.tw/netadmin/zh-tw/feature/0C1A2DDB3CF94296864832049D8897A4\n\n\n             int Gi0/12\n             switchport mode trunk\n\n\n設定到主機的方式：\n\nhttps://www.netadmin.com.tw/netadmin/zh-tw/feature/0C1A2DDB3CF94296864832049D8897A4\n\n\n             int Gi0/1\n             switchport mode access\n             switchport access vlan234\n\n# Switch port ( access port )\n\n交換器原則上是一個阜配置一個 VLAN， 同一 VLAN 上的所有阜共享同一廣播網域 Broadcast Domain。\n一個虛擬區域網路中的終端機器越多，對此一廣播網域的封包來說網路負擔越大，因為面對的碰撞狀況提高。\n\n# ISL as an Alternative\n\nInter-SW Link 協定是可替代 802.1q 的方案，優點是能將 OSI 七層的所有上層資料封包轉換（封裝）成第二層的封包，功能同 802.1q，缺點則是封裝後的封包長度會超過乙太網路預設量，故請先行做設定。\n另外，此封裝協定只有思科某些型號的交換機支援。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqueeniecplusplus%2Fccna2020_dot1q","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqueeniecplusplus%2Fccna2020_dot1q","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqueeniecplusplus%2Fccna2020_dot1q/lists"}