P
P
Peploss2015-08-04 13:04:44
network hardware
Peploss, 2015-08-04 13:04:44

How to configure vlan on cisco sg300?

There are two cisco sg300 and you need to configure vlan on them. On both I make the following settings:
Conf t
Interface fa1
Switchport interface mode access
Switchport access vlan100
Exit
Interface vlan100
Ip address 10.44.1.3 255.255.255.0 (Ip address 10.44.1.3 255.255.255.0 for the second)
Exit
Interface gi1
Switchport interface mode trunk
Exit
Further gi1 I connect with a link, connect to fa1 on both computers, but the PCs do not ping each other, the switches do not ping each other either. But if I do the same for vlan1 instead of vlan100 everything works. What's my mistake?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Karabanov, 2015-08-04
@karabanov

VLAN - that created?

conf t
vlan 100
   name Office-NET

10.44.1.3 255.255.255.0 (Ip address 10.44.1.3 255.255.255.0 for the second one)
Why are the IPs the same and why are they on the switch? For management? To solve this problem on the switch, no IPs are needed at all.

K
Kyiak, 2015-08-04
@Kyiak

try on gi1:
switchport trunk allowed vlan 100
on fa1:
Switchport access vlan 100

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question