Config switch port

# ssh -l admin ca-6op290-3-swi-1
ca-6op290-3-swi-1>enable
Password: 
ca-6op290-3-swi-1#
ca-6op290-3-swi-1# show running-config
ca-6op290-3-swi-1# show config
ca-6op290-3-swi-1# show vlan

ca-6op290-3-swi-1# config terminal
ca-6op290-3-swi-1(config)# interface GigabitEthernet1/9
ca-6op290-3-swi-1(config-if)# description private network
ca-6op290-3-swi-1(config-if)# switchport access vlan 617
ca-6op290-3-swi-1(config-if)# switchport trunk native vlan 617
ca-6op290-3-swi-1(config-if)# switchport trunk allowed vlan 617,671-680
ca-6op290-3-swi-1(config-if)# switchport mode trunk
ca-6op290-3-swi-1(config-if)# end
ca-6op290-3-swi-1# show running-config
ca-6op290-3-swi-1# copy running-config startup-config
// or
ca-6op290-3-swi-1# write

Add Vlan

# vlan database
# vlan id 617
# end
# show vlan

Slow DHCP issue

It takes over 30 seconds to request the new IP from DHCP server. Add following switch port config

spanning-tree portfast [trunk]

Then it takes about 10 seconds to renew the IP from DHCP server.