| 418 | | - Finally configure fast ethernet interfaces switchport modes. You can find then from the [#point2 table] |
| 419 | | * Fisrt make the interface a trunk port. This is for the FacACore link |
| 420 | | {{{ |
| 421 | | CampusCore(config)#interface FastEthernet 1/0 |
| 422 | | CampusCore(config-if)#switchport mode trunk |
| 423 | | }}} |
| 424 | | * Define the encapsulation |
| 425 | | {{{ |
| 426 | | CampusCore(config-if)#switchport trunk encapsulation dot1q |
| 427 | | }}} |
| 428 | | * Give the Description of the interface |
| 429 | | {{{ |
| 430 | | CampusCore(config-if)#description Core link to FacACore |
| 431 | | CampusCore(config-if)#exit |
| 432 | | }}} |
| 433 | | * Follow the same procedure for FacBCore link |
| 434 | | {{{ |
| 435 | | CampusCore(config)#interface FastEthernet 1/1 |
| 436 | | CampusCore(config-if)#switchport mode trunk |
| 437 | | CampusCore(config-if)#switchport trunk encapsulation dot1q |
| 438 | | CampusCore(config-if)#description Core link to FacBCore |
| 439 | | CampusCore(config-if)#exit |
| 440 | | }}} |
| 441 | | |
| 442 | | - You have successfully configured the !CampusCore device for you core networks connectivity. Let's move on to FacACore device. |
| 443 | | {{{ |
| 444 | | FacACore(config)# vlan 2 |
| 445 | | FacACore(config-vlan)# name Core |
| 446 | | FacACore(config-vlan)# exit |
| 447 | | FacACore(config)#interface vlan 2 |
| 448 | | FacACore(config-if)# ip address 10.0.2.2 255.255.255.0 |
| 449 | | FacACore(config-if)# exit |
| 450 | | FacACore(config)#interface FastEthernet 1/15 |
| 451 | | FacACore(config-if)#switchport mode trunk |
| 452 | | FacACore(config-if)#switchport trunk encapsulation dot1q |
| 453 | | FacACore(config-if)#description Core link to CampusCore |
| 454 | | FacACore(config-if)#exit |
| 455 | | }}} |
| 456 | | |
| 457 | | - Now let's configure FacBCore |
| 458 | | {{{ |
| 459 | | FacBCore(config)# vlan 2 |
| 460 | | FacBCore(config-vlan)# name Core |
| 461 | | FacBCore(config-vlan)# exit |
| 462 | | FacBCore(config)#interface vlan 2 |
| 463 | | FacBCore(config-if)# ip address 10.0.2.3 255.255.255.0 |
| 464 | | FacBCore(config-if)# exit |
| 465 | | FacBCore(config)#interface FastEthernet 1/15 |
| 466 | | FacBCore(config-if)#switchport mode trunk |
| 467 | | FacBCore(config-if)#switchport trunk encapsulation dot1q |
| 468 | | FacBCore(config-if)#description Core link to CampusCore |
| 469 | | FacBCore(config-if)#exit |
| 470 | | }}} |
| 471 | | |
| 472 | | - Finally Verify the connectivity |
| 473 | | * Go to FacACore device |
| 474 | | * Go to privileged mode and ping !CampusCore and FacBCore |
| 475 | | {{{ |
| 476 | | ping 10.0.2.1 |
| 477 | | ping 10.0.2.3 |
| 478 | | }}} |
| 479 | | * You should get a positive reply with '''"!!"''' |
| 480 | | |
| 481 | | ==== Distribution Network Layer ==== |
| 482 | | |
| 483 | | Let's Start Configuring the distribution layer of your campus LAN. Here you will have to configure both Layer 3 switches (FacACore and FacBCore) and Layer 2 Switches (Dept1PC and Dept2PC). Let's start from Layer 3 devices. |
| 484 | | |
| 485 | | - Login to FacACore device |
| 486 | | - Go to config mode from privileged mode |
| 487 | | - FacACore is the Core device in Faculty A and It can have different departments. In this scenario department 1 is in faculty A and It's VLAN is VLAN10. Create VLAN 10 and Name it '''Dept1''' |
| 488 | | {{{ |
| 489 | | FacACore(config)# vlan 10 |
| 490 | | FacACore(config-vlan)# name Dept1 |
| 491 | | FacACore(config-vlan)# exit |
| 492 | | }}} |
| 493 | | - Then assign the IP Address to the VLAN interface. Get the IP from the [#point1 table] |
| 494 | | {{{ |
| 495 | | FacACore(config)#interface vlan 10 |
| 496 | | FacACore(config-if)# ip address 10.0.10.254 255.255.255.0 |
| 497 | | FacACore(config-if)# exit |
| 498 | | }}} |
| 499 | | - Next configure fast ethernet interfaces switchport modes. You can find then from the [#point2 table] |
| 500 | | * Fisrt make the interface a trunk port. |
| 501 | | {{{ |
| 502 | | FacACore(config)#interface FastEthernet 1/0 |
| 503 | | FacACore(config-if)#switchport mode trunk |
| 504 | | }}} |
| 505 | | * Define the encapsulation |
| 506 | | {{{ |
| 507 | | FacACore(config-if)#switchport trunk encapsulation dot1q |
| 508 | | }}} |
| 509 | | * Give the Description of the interface |
| 510 | | {{{ |
| 511 | | FacACore(config-if)#description link to Dept1Sw |
| 512 | | FacACore(config-if)#exit |
| 513 | | }}} |
| 514 | | - Follow the same procedure for FacBCore device. VLAN 20 name is dept 2. |
| 515 | | {{{ |
| 516 | | FacBCore(config)# vlan 20 |
| 517 | | FacBCore(config-vlan)# name Dept2 |
| 518 | | FacBCore(config-vlan)# exit |
| 519 | | FacBCore(config)#interface vlan 20 |
| 520 | | FacBCore(config-if)# ip address 10.0.20.254 255.255.255.0 |
| 521 | | FacBCore(config-if)# exit |
| 522 | | FacBCore(config)#interface FastEthernet 1/0 |
| 523 | | FacBCore(config-if)#switchport mode trunk |
| 524 | | FacBCore(config-if)#switchport trunk encapsulation dot1q |
| 525 | | FacBCore(config-if)#description link to Dept2Sw |
| 526 | | FacBCore(config-if)#exit |
| 527 | | }}} |
| 528 | | - Now the Core devices are done, Let's Configure Layer 2 devices. Login to Dept1PC |
| 529 | | - Go to config mode |
| 530 | | - Create Vlan 10 and Give a Name |
| 531 | | {{{ |
| 532 | | Dept1Sw(config)# vlan 10 |
| 533 | | Dept1Sw(config-vlan)# name Dept1 |
| 534 | | Dept1Sw(config-vlan)# exit |
| 535 | | }}} |
| | 418 | |
| | 419 | |
| | 420 | |
| | 421 | |
| | 422 | |