cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
768
Views
0
Helpful
2
Replies

Can i create DHCP and fix ip on 1 port on sg500

proteztzon
Level 1
Level 1

Hello,

 

i have cisco sg 500 l3 and i have 3 ip groups

 

For Example:

 

192.168.15.1/24  vlan15 <- dhcp from cisco switch 192.16815.2-254 port15

192.168.10.1/24  vlan10 <- Fix ip 192.168.10.2-254 port10

192.168.20.2/24  vlan20 <- Fix ip 192.168.20.3-254 port20

 

How can i config all vlan(15,10,20) on 1 port (Example port1)

 

Please, help me please

Thank you all

 

2 Replies 2

Seb Rupik
VIP Alumni
VIP Alumni

Hi there,

If I understand your requirement, you need a trunk port:

 

!
int gi1
  switchport trunk allowed vlan add 10,15,20
  switchport mode trunk
!

cheers,

Seb.

jonrodr2
Level 1
Level 1

Hello,

My name is Jonathan and I am part of Small Business here at Cisco, here you have a couple of links for the CLI guide and Also the Admin guide, after you created the DHCP pools, if you need to use for example port 1 to pass the information to another device, for example a switch then the configuration should be the native vlan as Untagged and the remainig vlans as Tagged, so you will need to use the port in trunk mode, from the graphical interface ytou can use the option ==> port to vlan management and then assign the vlans. Thanks

 

https://www.cisco.com/c/dam/en/us/td/docs/switches/lan/csbms/Sx500/administration_guide/500_Series_Admin_Guide.pdf check page 255

 

https://www.cisco.com/c/dam/en/us/td/docs/switches/lan/csbms/Sx500/cli_guide/CLI_500.pdf