=============================Router0============================================================
Router>enable
Router#conf t
Router#conf terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#interface serial 2/0
Router(config-if)#ip address 202.201.1.1 255.255.255.252
Router(config-if)#clock rate 64000
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface Serial2/0, changed state to down
Router(config-if)#exit
Router(config)#interface fa
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#write
^
% Invalid input detected at '^' marker.
Router(config)#router ospf 1
Router(config-router)#network 192.168.1.0 0.0.0.255
% Incomplete command.
Router(config-router)#network 192.168.1.0 0.0.0.255 area 0
Router(config-router)#network 202.201.1.0 0.0.0.3 area 0
Router(config-router)#exit
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#write
Destination filename [startup-config]?
Building configuration...
[OK]
Router#
%LINK-5-CHANGED: Interface Serial2/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up
00:05:29: %OSPF-5-ADJCHG: Process 1, Nbr 202.201.1.2 on Serial2/0 from LOADING to FULL, Loading Done
Router#conf t
Router#conf terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#ip dhcp pool ram
Router(dhcp-config)#network 192.168.1.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.1.1
Router(dhcp-config)#ip dhcp excluded 192.168.1.1 192.168.1.5
Router(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Router#write
Destination filename [startup-config]?
Building configuration...
[OK]
==============================================================================================
No comments:
Post a Comment