
228
Switch A. STP is configured on the ports that connect the switch to other switches. OSPF is configured to route
unicast traffic between the VLANs.
To configure the switch:
1.
Create two VLANs and configure them as routing VLANs.
(QCT) (Config)#vlan database
(QCT) (Vlan)#vlan 10,20
(QCT) (Vlan)#exit
(QCT) (Config)#interface vlan 10
(QCT) (Config)#interface vlan 20
2.
While in VLAN Database mode, enable IGMP snooping on the VLANs.
(QCT) (Vlan)#set igmp 10
(QCT) (Vlan)#set igmp 20
(QCT) (Vlan)#exit
3.
Add VLANs to interfaces 0/23 and 0/24.
(QCT) (Config)#interface 0/23
(QCT) (Interface 0/23)#switchport allowed vlan add 10
(QCT) (Interface 0/23)#switchport native vlan 10
(QCT) (Interface 0/23)#switchport allowed vlan remove 1
(QCT) (Interface 0/23)#exit
(QCT) (Config)#interface 0/24
(QCT) (Interface 0/24)#switchport allowed vlan add 20
(QCT) (Interface 0/24)#switchport native vlan 20
(QCT) (Interface 0/24)#switchport allowed vlan remove 1
(QCT) (Interface 0/24)#exit
4.
Enable routing on the switch and configure the OSPF router ID.
(QCT) (Config)#ip routing
(QCT) (Config)#router ospf
(QCT) (Config-router)#router-id 3.3.1.1
(QCT) (Config-router)#exit
5.
Configure VLAN 10 as a VLAN routing interface and specify the OSPF area. When you assign an IP
address to the VLAN, routing is automatically enabled.
(QCT) (Config)#interface vlan 10
(QCT) (if-vlan10)#ip address 192.168.10.4 255.255.255.0
(QCT) (if-vlan10)#ip ospf area 0
6.
Enable IGMPv2 and PIM-SM on the VLAN routing interface.
(QCT) (if-vlan10)#ip igmp
Summary of Contents for QuantaMesh QNOS5
Page 1: ...QuantaMesh Ethernet Switch Configuration Guide QNOS5 NOS Platform ...
Page 209: ...209 Table 7 8 IPv6 Neighbor Discovery Settings ...
Page 226: ...226 Table 8 2 L3 Multicast Defaults ...
Page 254: ...254 Appendix A Term and Acronyms Table 9 5 Terms and Acronyms ...