vlan_tagging
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
vlan_tagging [2024/03/19 17:34] – [Testing the Encoding Live Configuration] walkeradmin | vlan_tagging [2024/03/19 18:00] (current) – [Cisco Configuration] walkeradmin | ||
---|---|---|---|
Line 276: | Line 276: | ||
\\ | \\ | ||
\\ | \\ | ||
+ | Log in to your Cisco switch, and use the following: | ||
+ | \\ | ||
+ | \\ | ||
+ | Configure the interface to operate in trunk mode using the commands | ||
+ | en | ||
+ | conf t | ||
+ | int gigabitEthernet 0/47 (use your own interface obviously) | ||
+ | switchport mode trunk | ||
+ | \\ | ||
+ | That should be it, if you get an error | ||
+ | Command rejected: An interface whose trunk encapsulation is " | ||
+ | \\ | ||
+ | You need to manually set the port encapsulation mode: (go back to the top level of the cisco command line first) | ||
+ | en | ||
+ | conf t | ||
+ | int gigabitEthernet 0/47 (use your own interface obviously) | ||
+ | switchport trunk encapsulation dot1q | ||
+ | switchport mode trunk | ||
+ | \\ | ||
+ | Now we need to do the following: | ||
+ | Create the same VLANs as on our output device (Encoding Live in this example) | ||
+ | Assign an interface to each VLAN | ||
+ | \\ | ||
+ | Below is my current VLAN configuration on the Cisco switch. The interfaces I wish to use (45/46) are currently in VLAN0040. There is no VLAN101 or VLAN102. | ||
+ | < | ||
+ | VLAN Name | ||
+ | ---- -------------------------------- --------- ------------------------------- | ||
+ | 1 default | ||
+ | 10 | ||
+ | Gi0/5, Gi0/6, Gi0/7, Gi0/8 | ||
+ | Gi0/9, Gi0/10, Gi0/11, Gi0/12 | ||
+ | 20 | ||
+ | Gi0/17, Gi0/18, Gi0/19, Gi0/20 | ||
+ | Gi0/21, Gi0/22, Gi0/23, Gi0/24 | ||
+ | 30 | ||
+ | Gi0/29, Gi0/30, Gi0/31, Gi0/32 | ||
+ | Gi0/33, Gi0/34, Gi0/35, Gi0/36 | ||
+ | 40 | ||
+ | Gi0/41, Gi0/42, Gi0/43, Gi0/44 | ||
+ | Gi0/45, Gi0/46, Gi0/48 | ||
+ | </ | ||
+ | \\ | ||
+ | We can create the VLAN and add the interface to it in one line on the cisco: | ||
+ | en | ||
+ | conf t | ||
+ | int gigabitEthernet 0/45 | ||
+ | switchport access vlan 101 | ||
+ | \\ | ||
+ | If the VLAN does not exist, you will see this message: | ||
+ | % Access VLAN does not exist. Creating vlan 101 | ||
+ | |||
+ | Repeat these steps for all other required VLANs. | ||
+ | \\ | ||
+ | \\ | ||
+ | < | ||
+ | VLAN Name | ||
+ | ---- -------------------------------- --------- ------------------------------- | ||
+ | 1 default | ||
+ | 10 | ||
+ | Gi0/5, Gi0/6, Gi0/7, Gi0/8 | ||
+ | Gi0/9, Gi0/10, Gi0/11, Gi0/12 | ||
+ | 20 | ||
+ | Gi0/17, Gi0/18, Gi0/19, Gi0/20 | ||
+ | Gi0/21, Gi0/22, Gi0/23, Gi0/24 | ||
+ | 30 | ||
+ | Gi0/29, Gi0/30, Gi0/31, Gi0/32 | ||
+ | Gi0/33, Gi0/34, Gi0/35, Gi0/36 | ||
+ | 40 | ||
+ | Gi0/41, Gi0/42, Gi0/43, Gi0/44 | ||
+ | Gi0/48 | ||
+ | 101 VLAN0101 | ||
+ | 102 VLAN0102 | ||
+ | </ | ||
+ | \\ | ||
+ | Above we can see the two new VLANs of 101 and 102, and in these VLANs are the respective interfaces of Gi0/45 and Gi0/46. That should be it, now Save your Cisco configuration. | ||
+ | \\ | ||
+ | As per the diagram below: | ||
+ | {{: | ||
+ | \\ | ||
+ | \\ | ||
+ | \\ | ||
+ | We should observe now that we can connect to the Multicast 239.0.100.1: | ||
+ | \\ | ||
+ | \\ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ |
vlan_tagging.1710869654.txt.gz · Last modified: 2024/03/19 17:34 by walkeradmin