![how to config vlan on cisco switch how to config vlan on cisco switch](https://img.sysnettechsolutions.com/How-to-Configure-VLAN-on-Cisco-Switch-in-Cisco-Packet-Tracer-Cisco-Packet-Tracer-VLAN-Konfigurasyonu-EN.png)
元Switch1(config-if)# ipv6 address 2001:db8:0:10::1/64Įnters interface configuration mode for VLAN 20 元Switch1(config-if)# ipv6 address 2001:db8:0:1::1/64Įnters interface configuration mode for VLAN 10 元Switch1(config-if)# ipv6 address 2001:db8:0:7::1/64Įnters interface configuration mode for VLAN 1 元Switch1(config)# interface gigabitethernet 1/0/24Ĭhanges this Layer 2 switch port to a Layer 3 routed port 元Switch1(config-if)# switchport mode trunk 元Switch1(config)# interface gigabitethernet 1/0/1 元Switch1 (Catalyst 3650) Switch(config)# hostname 元Switch1 L2Sw2(config-if)# interface range fastethernet 0/12 - 14Įnters switchport configuration mode for a range of switch portsĮnters switchport configuration mode for a range of switchportsĮnters interface configuration mode for the management VLAN L2Switch2(config-if)# switchport mode trunk L2Switch2(config)# interface fastethernet 0/5Įnters switchport interface configuration mode If this is a change in the SDM settings, the switch must be reloaded for this change to take effect L2Switch2(config)# sdm prefer dual-ipv4-and-ipv6 defaultĬonfigures the Switching Database Manager (SDM) on the switch to optimize memory and operating system for both IPv4 and IPv6 Layer 3 forwarding L2Switch2 (Catalyst 2960) Switch(config)# hostname L2Switch2
![how to config vlan on cisco switch how to config vlan on cisco switch](https://protechgurus.com/wp-content/uploads/2016/06/Topology-1.png)
#HOW TO CONFIG VLAN ON CISCO SWITCH SERIAL#
Specifies this as an interface that will participate in OSPFv3ĬORP(config-subif)# interface gigabitethernet 0/0.30ĬORP(config-subif)# encapsulation dot1q 30Īssigns 802.1Q as the trunking protocol and associates VLAN 30 to this subinterfaceĬORP(config-subif)# ipv6 address 2001:db8:0:30::1/64ĬORP(config-subif)# interface gigabitethernet 0/0.40ĬORP(config-subif)# encapsulation dot1q 40Īssigns 802.1Q as the trunking protocol and associates VLAN 40 to this subinterfaceĬORP(config-subif)# ipv6 address 2001:db8:0:40::1/64ĬORP(config-subif)# interface gigabitethernet 0/0.50ĬORP(config-subif)# encapsulation dot1q 50Īssigns 802.1Q as the trunking protocol and associates VLAN 50 to this subinterfaceĬORP(config-subif)# ipv6 address 2001:db8:0:50::1/64ĬORP(config-subif)# interface gigabitethernet 0/1ĬORP(config-if)# ipv6 address 2001:db8:0:7::2/64ĬORP(config-if)# interface gigabitethernet 0/0ĬORP(config-if)# ipv6 address 2001:db8:0:8::2/64Įxits to global configuration programming modeĬORP(config)# ipv6 route ::/0 serial 0/0/0Ĭreates a default static route pointing to the ISP A dynamic routing protocol can also be used hereĬORP Router Router(config)# hostname CORPĪssigns a router ID for the OSPFv3 processĬORP(config-rtr)# default- information originateĪdds any default routing information to the OSPFv3 updatesĬORP(config)# interface gigabitethernet 0/0.1ĬORP(config-subif)# encapsulation dot1q 1 nativeĪssigns 802.1Q as the trunking protocol and associates VLAN 1 to this subinterfaceĬORP(config-subif)# ipv6 address 2001:db8:0:2::1/64