Ma egy új feature-t fedeztem fel az MPLS VPN konfigurálása közben. A P2 router a PE2 routerrel Serial-n van összekapcsolva. A P2 router-t már teljesen beállítottam(S1/0 – 10.3.3.1 255.255.255.252), következett tehát a PE2. Belépve a routerre a következőket tettem:
Trying R4 (169.254.0.1, 2004)… Open
Connected to Dynamips VM “PE2″ (ID 3, type c3600) – Console portRouter>
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostn
Router(config)#hostname PE2
PE2(config)#mp
PE2(config)#mpl
PE2(config)#mpls ip
PE2(config)#ip cef
PE2(config)#int lo0
PE2(config-if)#ip addr
*Mar 1 00:49:18.159: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up 10.10.10.4 255.255.255.255
PE2(config-if)#no sh
PE2(config-if)#exi
PE2(config)#
PE2(config)#
PE2(config)#router ospf 1
PE2(config-router)#netwo
PE2(config-router)#network 10.0.0.0 0.255.255.255 area 0
PE2(config-router)#
Tehát a serial1/0 interface-hez még nem is nyúltam!!, Erre mit látok:
*Mar 1 00:49:49.731: %OSPF-5-ADJCHG: Process 1, Nbr 10.10.10.2 on Serial1/0 from LOADING to FULL, Loading Done
Kérdeztem magamtól ez hogy lehet,nem is állítottam még be az S1/0 interface-t, az OSPF hogy kötött szomszédságot a P2 routerrel? nézzünk csak egy show ip int brie-t..
PE2#sh ip int brie | in Serial1/0
Serial1/0 10.3.3.2 YES SLARP up up
PE2#
Aha, tehát az interface nem manuálisan lett beállítva, hanem SLARP-al! Ez után néztem egy show run int serial 1/0
PE2#sh run int s1/0
Building configuration…Current configuration : 103 bytes
!
interface Serial1/0
ip address 10.3.3.2 255.255.255.252
serial restart-delay 0
no fair-queue
end
Ez tehát a Cisco AutoInstall feature SLARP-vel megvalósítva:
Serial Line Address Resolution Protocol
Serial Line ARP (SLARP) is used for serial interfaces that use High-Level Data Link Control (HDLC) encapsulation. A SLARP server, intermediate (staging) router, and another router providing a SLARP service may be required in addition to a TFTP server. If an interface is not directly connected to a server, the staging router is required to forward the address resolution requests to the server, otherwise a directly connected router with SLARP service is required. The Cisco IOS software attempts to use SLARP if it does not know the IP address of an interface at startup to respond to SLARP requests that software is able to answer.
A feature of Cisco IOS software automates the configuration of Cisco devices and is called AutoInstall. AutoInstall supports SLARP and enables a network manager to connect a new router to a network, turn it on, and load a pre-existing configuration file automatically. The process begins when no valid configuration file is found in NVRAM. For more information about AutoInstall, refer to the Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.4.
Note Serial interfaces that use Frame Relay encapsulation are supported by AutoInstall.

Popularity: 29% [?]
Related posts:

























None
Leave a reply