05.01.2013 Views

CCNA Cisco Certified Network Associate Study Guide - FTP Server

CCNA Cisco Certified Network Associate Study Guide - FTP Server

CCNA Cisco Certified Network Associate Study Guide - FTP Server

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

596 Appendix B � Configuring the Catalyst 1900 Switch<br />

1002 fddi-default Suspended<br />

1003 token-ring-defau Suspended<br />

1004 fddinet-default Suspended<br />

1005 trnet-default Suspended<br />

--------------------------------------<br />

[output cut]<br />

Now that we can see the three VLANs created, we can assign switch ports<br />

to a single VLAN. Each port can only be part of one VLAN. Trunking, which<br />

I will cover in a minute, makes a port available to more than one VLAN at<br />

a time.<br />

Assigning Switch Ports to VLANs<br />

You can configure each port to be in a VLAN by using the vlanmembership<br />

command. You can only configure VLANs one port at a time.<br />

There is no command to assign more than one port to a VLAN at a time with<br />

the 1900 switch.<br />

Remember that you can configure either static memberships or dynamic<br />

memberships on a port. This book and the <strong>CCNA</strong> exam objectives only<br />

cover the static VLAN memberships.<br />

In the following example, I configure interface 2 to VLAN 2, interface 4<br />

to VLAN 3, and interface 5 to VLAN 4.<br />

1900EN#config t<br />

Enter configuration commands, one per line. End with<br />

CNTL/Z<br />

1900EN(config)#int e0/2<br />

1900EN(config-if)#vlan-membership ?<br />

dynamic Set VLAN membership type as dynamic<br />

static Set VLAN membership type as static<br />

1900EN(config-if)#vlan-membership static ?<br />

ISL VLAN index<br />

1900EN(config-if)#vlan-membership static 2<br />

1900EN(config-if)#int e0/4<br />

1900EN(config-if)#vlan-membership static 3<br />

1900EN(config-if)#int e0/5<br />

1900EN(config-if)#vlan-membership static 4

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!