[go: up one dir, main page]

0% found this document useful (0 votes)
267 views3 pages

Pka 1.5.1 Commands

This document contains configuration information for multiple network devices including a branch router, central router, and three switches (S1, S2, S3). The branch router is configured with OSPF routing and interfaces for connecting to the central site. Switch S1 is configured as the VTP server with VLANs for different user groups and a management VLAN. Switches S2 and S3 are configured as VTP clients to receive the VLAN configuration from S1, and their trunk ports and a few access ports are configured.

Uploaded by

jiggjiggans
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
267 views3 pages

Pka 1.5.1 Commands

This document contains configuration information for multiple network devices including a branch router, central router, and three switches (S1, S2, S3). The branch router is configured with OSPF routing and interfaces for connecting to the central site. Switch S1 is configured as the VTP server with VLANs for different user groups and a management VLAN. Switches S2 and S3 are configured as VTP clients to receive the VLAN configuration from S1, and their trunk ports and a few access ports are configured.

Uploaded by

jiggjiggans
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

ISP:

ip route 10.1.1.0 255.255.255.252 s0/0/1


ip route 172.17.1.0 255.255.255.0 s0/0/1
ip route 172.17.10.0 255.255.255.0 s0/0/1
ip route 172.17.20.0 255.255.255.0 s0/0/1
ip route 172.17.30.0 255.255.255.0 s0/0/1
ip route 172.17.99.0 255.255.255.0 s0/0/1
ip route 0.0.0.0 0.0.0.0 s0/0/1
router ospf 1
network 10.1.1.0 0.0.0.3 area 0
default-information originate
passive-interface s0/0/1
hostname BRANCH
int s0/0/0
ip address 10.1.1.1 255.255.255.252
clock rate 64000
no shutdown
exit
no ip domain-lookup
line con 0
password cisco
login
logging synchronous
line vty 0 4
password cisco
login
logging synchronous
int fa0/0
no shutdown
int fa0/0.1
encapsulation dot1q 1
ip address 172.17.1.1 255.255.255.0
int fa0/0.10
encapsulation dot1q 10
ip address 172.17.10.1 255.255.255.0
int fa0/0.20
encapsulation dot1q 20
ip address 172.17.20.1 255.255.255.0
int fa0/0.30
encapsulation dot1q 30
ip address 172.17.30.1 255.255.255.0
int fa0/0.99
encapsulation dot1q 99 native
ip addres 172.17.99.1 255.255.255.0
exit
router ospf 1
network 10.1.1.0 0.0.0.3 area 0
network 172.17.1.0 0.0.0.255 area 0
network 172.17.10.0 0.0.0.255 area 0
network 172.17.20.0 0.0.0.255 area 0
network 172.17.30.0 0.0.0.255 area 0
network 172.17.99.0 0.0.0.255 area 0
passive-interface fa0/0.1
passive-interface fa0/0.10
passive-interface fa0/0.20
passive-interface fa0/0.30
passive-interface fa0/0.99
hostname S1
int vlan99
ip address 172.17.99.11 255.255.255.0
no shutdown
exit
ip default-gateway 172.17.99.1
spanning-tree vlan 1,10,20,30,99 priority 4096
vtp mode server
vtp domain CCNA
vtp password cisco
int range fa0/1-5
switchport mode trunk
switchport trunk native vlan 99
exit
vlan 10
name Faculty/Staff
vlan 20
name Students
vlan 30
name Guest(Default)
vlan 99
name Management&Native
S2
hostname S2
vtp mode client
vtp domain CCNA
vtp password cisco
int range fa0/1-5
switchport mode trunk
switchport trunk native vlan 99
int fa0/11
switchport mode access
switchport access vlan 10
int fa0/18
switchport mode access
switchport access vlan 20
int fa0/6
switchport mode access
switchport access vlan 30
int vlan99
ip address 172.17.99.12 255.255.255.0
no shutdown
exit
ip default-gateway 172.17.99.1
S3
hostname S3
int range fa0/1-5
switchport mode trunk
switchport trunk native vlan 99
int vlan99
ip address 172.17.99.13 255.255.255.0
no shutdown
exit
ip default-gateway 172.17.99.1
vtp mode client
vtp domain CCNA
vtp password cisco
CENTRAL
router ospf 1
network 10.1.1.0 0.0.0.3 area 0
default information originate
S1
int range fa0/1-4
switchport mode trunk
switchport native vlan 99
S2
int range fa0/1-5
switchport mode trunk
switchport native vlan 99
int range fa0/1-5
switchport mode trunk
switchport native vlan 99
S1
vlan 10
name Faculty/Staff
vlan 20
name Students
vlan 30
name Guest(Default)
vlan 99
name Management&Native
vlan 30
name Guest(Default)
BRANCH
int s0/0/0
ip address 10.1.1.1 255.255.255.252
clock rate 64000
no shut

You might also like