05-31-2013 09:10 AM
Hi.
how to configure two interfaces giga in the same vlan (1)?
thanks
05-31-2013 06:38 PM
how to configure two interfaces giga in the same vlan (1)?
That's a wrong example because, by default, switchports are already in VLAN 1.
Let's say you want to put two interfaces into the same VLAN, 20.
Scenario 1: Old method or "range" command not supported:
config t
interface Gig 0/1
switchport access vlan 20
interface Gig 0/2
switchport access vlan 20
end
Scenario 2: Range command, two ports are adjacent to each other
config t
interface RANGE Gig 0/1 - 2
switchport access vlan 20
end
Scenario 3: Range command, two ports are not adjacent to each other
config t
interface RANGE Gig 0/2, Gig 0/48
switchport access vlan 20
end
05-31-2013 07:42 PM
^ Like Leo said for layer 2 interfaces.
For layer 3 interfaces, the answer is no. One switch virtual interface (SVI) per VLAN on a given switch.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide