This commit is contained in:
administrator
2026-05-13 20:06:13 +03:00
parent c600da30cf
commit f369c6eb94
2 changed files with 193 additions and 0 deletions

193
7.2.4 Normal file
View File

@@ -0,0 +1,193 @@
7.2.4
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#inf fa0/0
^
% Invalid input detected at '^' marker.
R1(config)#interface fa0/0
R1(config-if)#no shutdown
R1(config-if)#
*Mar 1 00:05:38.967: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
*Mar 1 00:05:39.967: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R1(config-if)#
R1#interface fa0/0
*Mar 1 00:05:44.943: %SYS-5-CONFIG_I: Configured from console by console
R1#interface fa0/0
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#interface fa0/0
R1(config-if)#no shutdown
R1(config-if)#interface fa0/0.10
R1(config-subif)#ip address 192.168.100.1 255.255.255.0
% Configuring IP routing on a LAN subinterface is only allowed if that
subinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q,
or ISL vLAN.
R1(config-subif)#enxa
R1(config-subif)#enca
R1(config-subif)#encapsulation d
R1(config-subif)#encapsulation dot1Q 10
R1(config-subif)#ip address 192.168.100.1 255.255.255.0
R1(config-subif)#
*Mar 1 00:07:20.543: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
R1(config-subif)#exi
R1(config)#ip dhcp pool LAN-U
R1(config)#ip dhcp pool LAN-U
R1(config)#ip dhcp pool LAN-USERS
R1(dhcp-config)#network 192.168.100.0 255.255.255.0
R1(dhcp-config)#default-router 192.168.100.1
R1(dhcp-config)#exi
R1(config)#ip dhcp exc
R1(config)#ip dhcp excluded-address 192.168.100.1 192.168.100.10
R1(config)#ip access-list extended USERS
R1(config-ext-nacl)#
R1#conf t
*Mar 1 00:10:09.859: %SYS-5-CONFIG_I: Configured from console by console
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#ip nat inside source list USERS interface fa
R1(config)#ip nat inside source list USERS interface fastEthernet
R1(config)#ip nat inside source list USERS interface fastEthernet0
R1(config)#ip nat inside source list USERS interface fastEthernet0
R1(config)#ip nat inside source list USERS interface fastEthernet0
R1(config)#ip nat inside source list USERS interface
R1(config)#ip nat inside source list USERS interface
R1(config)#ip nat inside source list USERS interface
R1(config)#ip nat inside source list USERS interface Fa
R1(config)#$de source list USERS interface FastEthernet 0/1 overload
R1(config)#ip access-list extended USERS
*Mar 1 00:10:52.087: %LINEPROTO-5-UPDOWN: Line protocol on Interface NVI0, changed state to up
R1(config)#ip access-list extended USERS
R1(config-ext-nacl)#permit ip 192.168.100.0 0.0.0.255 any
R1(config-ext-nacl)#ex
R1(config)#ip dhcp excluded-address 192.168.100.1 192.168.100.10
R1#
*Mar 1 00:11:41.515: %SYS-5-CONFIG_I: Configured from console by console
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#ip nat outside
R1#conf t
*Mar 1 00:11:58.307: %SYS-5-CONFIG_I: Configured from console by console
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int f
R1(config)#int fastEthernet
R1(config)#int fastEthernet
R1(config)#int fastEthernet0/1
R1(config-if)#
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int fastEthernet0/1
*Mar 1 00:12:12.783: %SYS-5-CONFIG_I: Configured from console by console
R1(config)#int fastEthernet 0/1
R1(config-if)#ip nat outside
R1(config-if)#exit
R1(config)#int fastEthernet 0/0.10
R1(config-subif)#ip nat inside
R1(config-subif)#exit
R1(config)#interface lo
% Incomplete command.
R1(config)#interface loopback 1
R1(config-if)#
*Mar 1 00:13:25.639: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to up
R1(config-if)#ip nat inside
R1(config-if)#ip route 0.0.0.0 0.0.0.0 172.16.0.2
R1(config)#ping 1.1.1.1 192.168.6.1
^
% Invalid input detected at '^' marker.
R1(config)#ping 1.1.1.1 192.168.6.1
R1#
*Mar 1 00:14:37.683: %SYS-5-CONFIG_I: Configured from console by console
R1#
R1#ping 1.1.1.1 192.168.6.1
^
% Invalid input detected at '^' marker.
R1#ping 1.1.1.1 source 192.168.6.1
% Invalid source address- IP address not on any of our up interfaces
R1#ping 1.1.1.1 source 192.168.100.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
Packet sent with a source address of 192.168.100.1
.....
Success rate is 0 percent (0/5)
R1#ping 8.8.8.8 source 192.168.100.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
Packet sent with a source address of 192.168.100.1
.....
Success rate is 0 percent (0/5)
R1#ping 8.8.8.8 source 192.168.100.10
% Invalid source address- IP address not on any of our up interfaces
R1#ping 8.8.8.8 source 192.168.100.0
% Invalid source address- IP address not on any of our up interfaces
R1#ping 8.8.8.8 source 192.168.100.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 8.8.8.8, timeout is 2 seconds:
Packet sent with a source address of 192.168.100.1
.....
Success rate is 0 percent (0/5)
R1#ip a
^
% Invalid input detected at '^' marker.
R1#ip address
^
% Invalid input detected at '^' marker.
R1#ping 8.8.8.8 source 192.168.100.1
R1#
R1#
R1#
R1#help
Help may be requested at any point in a command by entering
a question mark '?'. If nothing matches, the help list will
be empty and you must backup until entering a '?' shows the
available options.
Two styles of help are provided:
1. Full help is available when you are ready to enter a
command argument (e.g. 'show ?') and describes each possible
argument.
2. Partial help is provided when an abbreviated argument is entered
and you want to know what arguments match the input
(e.g. 'show pr?'.)
R1#?
Exec commands:
access-enable Create a temporary Access-List entry
access-profile Apply user-profile to interface
access-template Create a temporary Access-List entry
alps ALPS exec commands
archive manage archive files
audio-prompt load ivr prompt
auto Exec level Automation
beep Blocks Extensible Exchange Protocol commands
bfe For manual emergency modes setting
call Voice call
ccm-manager Call Manager Application exec commands
cd Change current directory
clear Reset functions
clock Manage the system clock
cns CNS agents
configure Enter configuration mode
connect Open a terminal connection
copy Copy from one file to another
credential load the credential info from file system
crypto Encryption related commands.
ct-isdn Run an ISDN component test command
R1#
R1#$face FastEthernet0/0, changed state to up*Mar 1 00:05:39.967: %LINEPROT