how to add ip address to vlan

24 12 2007

connect to console

switch> enable
Password: [your privileged exec password]

switch#configure terminal
switch(conf)#interface vlan 10
switch(conf-if)#ip address
switch(conf-if)#ip default-gateway

[optional] backup your old configuration
switch#copy startup-config startup-config.241207

save your running configuration (so that it will run on boot)
switch#copy running-config startup-config



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

%d bloggers like this: