Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A Switch may require to configure an IP address to a vlan
-- To be used for local configuration
enable
conf ter
interface vlan 99
ip address 192.168.1.1 255.255.255.0
no shutdown
end
-- To be used for remote configuration
enable
conf ter
ip default-gateway [gateway-to-router]
end
-- save configutarion with
copy running-config startup-config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.