cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
248
Views
0
Helpful
5
Replies

sf300,sg300,sg500 cisco switch

muraripadhan
Level 1
Level 1

Dears how i will assign ip on this switch

Suppose i have 2 vlans

Vlan 10 ip is 192.168.1.1/24

Vlan 20 ip is 10.0.0.1/24

I already configured in GUI mode but how i will configure in CMD line

please give me the command

5 Replies 5

Hello,

the standard command as depicted below should work:

Switch(config)# interface vlan 1

Switch(config-if)# ip address 192.168.1.1 255.255.255.0

This is straight from the CLI configuration guide (check pages 530 and 751):

http://www.cisco.com/c/dam/en/us/td/docs/switches/lan/csbms/sf30x_sg30x/administration_guide/CLI_Nikola300_1_3_7.pdf

sir i know that but how can i give ip address on vlan 10 and vlan 20

Vlan 10 ip is 192.168.1.1/24

Vlan 20 ip is 10.0.0.1/24

m not saying about vlan 1

Hello,

Vlan 1 was just an example, it works the same for any Vlan. Have you created the Vlans in your Vlan database ?

Switch(config)# vlan database
Switch(config-vlan)# vlan 10

Sir 

I created Vlans

Switch(config)#vlan 10

Switch(config)# vlan 10

but when i try to give name also it will not take so how can i give the name also sir

Can you post the output of 'show vlan' ?

Review Cisco Networking products for a $25 gift card