485 | | Dept1PC(config)#interface FastEthernet 1/0 |
486 | | Dept1PC(config-if)#switchport mode access |
487 | | Dept1PC(config-if)#switchport access vlan 10 |
488 | | Dept1PC(config-if)#description link to Dept1PC |
489 | | Dept1PC(config-if)#exit |
490 | | }}} |
491 | | - Follow the same steps for Dept2PC |
492 | | {{{ |
493 | | Dept2PC(config)# vlan 20 |
494 | | Dept2PC(config-vlan)# name Dept2 |
495 | | Dept2PC(config-vlan)# exit |
496 | | Dept2PC(config)#interface FastEthernet 1/15 |
497 | | Dept2PC(config-if)#switchport mode trunk |
498 | | Dept2PC(config-if)#switchport trunk encapsulation dot1q |
499 | | Dept2PC(config-if)#description link to FacBCore |
500 | | Dept2PC(config-if)#exit |
501 | | Dept2PC(config)#interface FastEthernet 1/0 |
502 | | Dept2PC(config-if)#switchport mode access |
503 | | Dept2PC(config-if)#switchport access vlan 20 |
504 | | Dept2PC(config-if)#description link to Dept2PC |
505 | | Dept2PC(config-if)#exit |
| 485 | Dept1Sw(config)#interface FastEthernet 1/0 |
| 486 | Dept1Sw(config-if)#switchport mode access |
| 487 | Dept1Sw(config-if)#switchport access vlan 10 |
| 488 | Dept1Sw(config-if)#description link to Dept1Sw |
| 489 | Dept1Sw(config-if)#exit |
| 490 | }}} |
| 491 | - Follow the same steps for Dept2Sw |
| 492 | {{{ |
| 493 | Dept2Sw(config)# vlan 20 |
| 494 | Dept2Sw(config-vlan)# name Dept2 |
| 495 | Dept2Sw(config-vlan)# exit |
| 496 | Dept2Sw(config)#interface FastEthernet 1/15 |
| 497 | Dept2Sw(config-if)#switchport mode trunk |
| 498 | Dept2Sw(config-if)#switchport trunk encapsulation dot1q |
| 499 | Dept2Sw(config-if)#description link to FacBCore |
| 500 | Dept2Sw(config-if)#exit |
| 501 | Dept2Sw(config)#interface FastEthernet 1/0 |
| 502 | Dept2Sw(config-if)#switchport mode access |
| 503 | Dept2Sw(config-if)#switchport access vlan 20 |
| 504 | Dept2Sw(config-if)#description link to Dept2Sw |
| 505 | Dept2Sw(config-if)#exit |