Configuraqcion Routers
-
Upload
luis-burgos -
Category
Documents
-
view
219 -
download
0
Transcript of Configuraqcion Routers
-
8/12/2019 Configuraqcion Routers
1/5
! !! RouterA-1 !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!hostname RouterA-1!enable secret class!ip dhcp pool VOICEnetwork 172.16.10.0 255.255.255.0default-router 172.16.10.1option 150 ip 172.16.10.1ip dhcp pool DATAnetwork 172.16.20.0 255.255.255.0default-router 172.16.20.1option 150 ip 172.16.10.1!no ip domain-lookup!interface FastEthernet0/0no shutdown!interface FastEthernet0/0.10
encapsulation dot1Q 10ip address 172.16.10.1 255.255.255.0!interface FastEthernet0/0.20encapsulation dot1Q 20ip address 172.16.20.1 255.255.255.0!interface FastEthernet0/0.99encapsulation dot1Q 99ip address 172.16.99.1 255.255.255.0!interface FastEthernet0/1ip address 10.0.0.1 255.255.255.0
no shutdown!ip route 172.17.0.0 255.255.0.0 10.0.0.2!dial-peer voice 1 voipdestination-pattern 5...session target ipv4:10.0.0.2!telephony-servicemax-ephones 5max-dn 5ip source-address 172.16.10.1 port 2000auto-reg-ephone
auto assign 1 to 5!ephone-dn 1number 4001!ephone-dn 2number 4002!line con 0password cisco
-
8/12/2019 Configuraqcion Routers
2/5
login!line vty 0 4password ciscologin!end
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! Switch A-1 !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!hostname SwitchA-1!enable secret class!vlan 10name VOICEvlan 20name DATAvlan 99
name MANAGEMENT!interface FastEthernet0/1switchport trunk encapsulation dot1qswitchport mode trunkno shutdown!interface range FastEthernet 0/2-24switchport mode accessswitchport access vlan 20switchport voice vlan 10spanning-tree portfastpower inline auto
shutdown!interface range FastEthernet 0/2-3no shutdown!interface range GigabitEthernet 0/1-2switchport mode accessswitchport access vlan 20switchport voice vlan 10spanning-tree portfastshutdown!interface Vlan99
ip address 172.16.99.2 255.255.255.0!ip route 0.0.0.0 0.0.0.0 172.16.99.1!line con 0password ciscologin!line vty 0 4password cisco
-
8/12/2019 Configuraqcion Routers
3/5
login!no ip domain-lookup!end
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! RouterB-1 !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!hostname RouterB-1!enable secret class!ip dhcp pool VOICEnetwork 172.17.10.0 255.255.255.0default-router 172.17.10.1option 150 ip 172.17.10.1ip dhcp pool DATAnetwork 172.17.20.0 255.255.255.0default-router 172.17.20.1
option 150 ip 172.17.10.1!no ip domain-lookup!interface FastEthernet0/0no ip addressno shutdown!interface FastEthernet0/0.10encapsulation dot1Q 10ip address 172.17.10.1 255.255.255.0!interface FastEthernet0/0.20
encapsulation dot1Q 20ip address 172.17.20.1 255.255.255.0!interface FastEthernet0/0.99encapsulation dot1Q 99ip address 172.17.99.1 255.255.255.0!interface FastEthernet0/1ip address 10.0.0.2 255.255.255.0no shutdown!ip route 172.16.0.0 255.255.0.0 10.0.0.1!
dial-peer voice 1 voipdestination-pattern 4...session target ipv4:10.0.0.1!telephony-servicemax-ephones 5max-dn 5ip source-address 172.17.10.1 port 2000auto-reg-ephoneauto assign 1 to 5
-
8/12/2019 Configuraqcion Routers
4/5
!ephone-dn 1number 5001!ephone-dn 2number 5002!ephone-dn 3number 5003!line con 0password ciscologin!line vty 0 4password ciscologin!end
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! Switch B-1 !! !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!hostname SwitchB-1!enable secret class!vlan 10name VOICEvlan 20name DATAvlan 99name MANAGEMENT!
interface FastEthernet0/1switchport mode trunkno shutdown!interface range FastEthernet 0/2-24switchport mode accessswitchport access vlan 20switchport voice vlan 10spanning-tree portfastshutdown!interface range FastEthernet 0/2-3no shutdown
!interface FastEthernet0/4switchport mode accessswitchport access vlan 10spanning-tree portfastno shutdown!interface range GigabitEthernet 1/1-2switchport mode accessswitchport access vlan 20
-
8/12/2019 Configuraqcion Routers
5/5
switchport voice vlan 10spanning-tree portfastshutdown!interface Vlan99ip address 172.17.99.2 255.255.255.0!ip default-gateway 172.17.99.1!line con 0password ciscologin!line vty 0 4password ciscologin!no ip domain-lookup!end