Professional Documents
Culture Documents
Show vlan id
switch[1]#conf
switch[1]#configure t
Enter configuration commands, one per line. End with CNTL/Z.
switch[1](config)#int vlan 99
switch[1](config-if)#ip 192.168.169.11 255.255.255.0
^
% Invalid input detected at '^' marker.
switch[1](config-if)#ip address 192.168.10.11 255.255.255.0
switch[1](config-if)#exit
switch[1](config)#wr
^
% Invalid input dete
switch[1](config)#exit
switch[1]#
%SYS-5-CONFIG_I: Configured from console by console
wr
Building configuration...
[OK]
switch[1]#
switch[3]#
switch[3]#configure t
Enter configuration commands, one per line. End with CNTL/Z.
switch[3](config)#interface vlan 99
switch[3](config-if)#ip address 192.168.169.11 255.255.255.0
switch[3](config-if)#end
switch[3]#
%SYS-5-CONFIG_I: Configured from console by console
switch[3]#wr
Building configuration...
[OK]
switch[3]#
switch[2]>enable
Password:
switch[2]#configure t
Enter configuration commands, one per line. End with CNTL/Z.
switch[2](config)#interface vlan 99
switch[2](config-if)#ip address 192.168.169.11 255.255.255.0
switch[2](config-if)#end
switch[2]#
%SYS-5-CONFIG_I: Configured from console by console
wr
Building configuration...
[OK]
switch[2]#
For s1
switch[1]>enable
Password:
switch[1]#conf
switch[1]#configure t
Enter configuration commands, one per line. End with CNTL/Z.
switch[1](config)#iterface ra fan 0/1-5
^
% Invalid input detected at '^' marker.
switch[1](config)#switchport t
switch[1](config)#switchport tr
switch[1](config)#interface ra fan 0/1-5
^
% Invalid input detected at '^' marker.
switch[1](config)#interface range fa 0/1-5
switch[1](config-if-range)#sw mo tr
switch[1](config-if-range)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
switch[1](config-if-range)#sw tr native vl 99
switch[1](config-if-range)#end
switch[1]#
%SYS-5-CONFIG_I: Configured from console by console
switch[1]#
switch[1]#w
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1 (99), with
switch[2] FastEthernet0/1 (1).
switch[1]#
for s2
switch[2]>enable
Password:
switch[2]#con
switch[2]#conf
switch[2]#configure t
Enter configuration commands, one per line. End with CNTL/Z.
switch[2](config)#int ra fa 0/1-5
switch[2](config-if-range)#sw tr native vlan 99
switch[2](config-if-range)#%SPANTREE-2-UNBLOCK_CONSIST_PORT: Unblocking FastEthernet0/1 on
VLAN0099. Port consistency restored.
no sh
switch[2](config-if-range)#
switch[2](config-if-range)#end
switch[2]#
%SYS-5-CONFIG_I: Configured from console by console
wr
Building configuration...
[OK]
switch[2]#
for s3
switch[3]>
switch[3]>enable
Password:
switch[3]#configure t
Enter configuration commands, one per line. End with CNTL/Z.
switch[3](config)#int ra fa 0/1-5
switch[3](config-if-range)#sw tr vlan 99
^
% Invalid input detected at '^' marker.
switch[3](config-if-range)#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2 (1), with
switch[1] FastEthernet0/2 (99).
no sh
switch[3](config-if-range)#end
switch[3]#
%SYS-5-CONFIG_I: Configured from console by console
switch[3]#wr
Building configuration...
[OK]
switch[3]#
S1
switch[1]#show i
switch[1]#show in
switch[1]#show interfaces tr
Port Mode Encapsulation Status Native vlan
Fa0/1 on 802.1q trunking 99
Fa0/2 on 802.1q trunking 99
Router configuration:
Router#configu
Router#configure t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
Router(config)#interface gi 0/0/0.10
Router(config-subif)#no ip address 192.168.169.11 255.255.255.0
Router(config-subif)#ip address 192.168.10.11
% Incomplete command.
Router(config-subif)#ip address 192.168.10.11 255.255.255.0
Router(config-subif)#no sh
Router(config-subif)#exit
Router(config)#int gi 0/0/0.20
Router(config-subif)#no ip address 192.168.169.1
% Incomplete command.
Router(config-subif)#ip address 192.168.20.1
% Incomplete command.
Router(config-subif)#ip address 192.168.20.1 255.255.255.0
Router(config-subif)#no sh
Router(config-subif)#exit
Router(config)#int gi 0/0/0.10
Router(config-subif)#ip address 192.168.10.1 255.255.255.0
Router(config-subif)#no sh
Router(config-subif)#exit
Router(config)#int gi 0/0/0.30
Router(config-subif)#ip ad
Router(config-subif)#ip address 192.168.30.1 255.255.255.0
Router(config-subif)#no sh
Router(config-subif)#exit
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#shoe ip
Router#show i
Router#show ip
Router#show ip
% Incomplete command.
Router#exit
Router>
Router>
Router>show
Router>show i
Router>show ip
Router>show ip ?
arp IP ARP table
bgp BGP information
dhcp Show items in the DHCP database
eigrp IP-EIGRP show commands
interface IP interface status and configuration
nbar Network-Based Application Recognition
ospf OSPF information
protocols IP routing protocol process parameters and statistics
rip IP RIP show commands
route IP routing table
ssh Information on SSH
Router>show ip in
Router>show ip interface
GigabitEthernet0/0/0 is up, line protocol is up (connected)
Internet protocol processing disabled
GigabitEthernet0/0/0.10 is up, line protocol is up (connected)
Internet address is 192.168.10.1/24
Broadcast address is 255.255.255.255
Address determined by setup command
MTU is 1500 bytes
Helper address is not set
Directed broadcast forwarding is disabled
Outgoing access list is not set
Inbound access list is not set
Proxy ARP is enabled
Security level is default
Split horizon is enabled
ICMP redirects are always sent
ICMP unreachables are always sent
ICMP mask replies are never sent
IP fast switching is disabled
IP fast switching on the same interface is disabled
IP Flow switching is disabled
IP Fast switching turbo vector
IP multicast fast switching is disabled
IP multicast distributed fast switching is disabled
Router Discovery is disabled
IP output packet accounting is disabled
IP access violation accounting is disabled
TCP/IP header compression is disabled
RTP/IP header compression is disabled
Probe proxy name replies are disabled
Policy routing is disabled
Network address translation is disabled
BGP Policy Mapping is disabled
Input features: MCI Check
WCCP Redirect outbound is disabled
WCCP Redirect inbound is disabled
WCCP Redirect exclude is disabled
GigabitEthernet0/0/0.20 is up, line protocol is up (connected)
Internet protocol processing disabled
GigabitEthernet0/0/0.30 is up, line protocol is up (connected)
Internet protocol processing disabled
GigabitEthernet0/0/1 is administratively down, line protocol is down (disabled)
Internet protocol processing disabled
GigabitEthernet0/0/2 is administratively down, line protocol is down (disabled)
Internet protocol processing disabled
Vlan1 is administratively down, line protocol is down
Internet protocol processing disabled
I had a problem with vlan 20 & 30 in the r so I used show ip int & ive noticed that I didn’t applied encapsulation 1dot1Q
Router#configu
Router#configure t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
Router(config)#interface gi 0/0/0.10
Router(config-subif)#no ip address 192.168.169.11 255.255.255.0
Router(config-subif)#ip address 192.168.10.11
% Incomplete command.
Router(config-subif)#ip address 192.168.10.11 255.255.255.0
Router(config-subif)#no sh
Router(config-subif)#exit
Router(config)#int gi 0/0/0.20
Router(config-subif)#no ip address 192.168.169.1
% Incomplete command.
Router(config-subif)#ip address 192.168.20.1
% Incomplete command.
Router(config-subif)#ip address 192.168.20.1 255.255.255.0
Router(config-subif)#no sh
Router(config-subif)#exit
Router(config)#int gi 0/0/0.10
Router(config-subif)#ip address 192.168.10.1 255.255.255.0
Router(config-subif)#no sh
Router(config-subif)#exit
Router(config)#int gi 0/0/0.30
Router(config-subif)#ip ad
Router(config-subif)#ip address 192.168.30.1 255.255.255.0
Router(config-subif)#no sh
Router(config-subif)#exit
Router(config)#exit
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#shoe ip
Router#show i
Router#show ip
Router#show ip
% Incomplete command.
Router#exit
Router>
Router>
Router>show
Router>show i
Router>show ip
Router>show ip ?
arp IP ARP table
bgp BGP information
dhcp Show items in the DHCP database
eigrp IP-EIGRP show commands
interface IP interface status and configuration
nbar Network-Based Application Recognition
ospf OSPF information
protocols IP routing protocol process parameters and statistics
rip IP RIP show commands
route IP routing table
ssh Information on SSH
Router>show ip in
Router>show ip interface
GigabitEthernet0/0/0 is up, line protocol is up (connected)
Internet protocol processing disabled
GigabitEthernet0/0/0.10 is up, line protocol is up (connected)
Internet address is 192.168.10.1/24
Broadcast address is 255.255.255.255
Address determined by setup command
MTU is 1500 bytes
Helper address is not set
Directed broadcast forwarding is disabled
Outgoing access list is not set
Inbound access list is not set
Proxy ARP is enabled
Security level is default
Split horizon is enabled
ICMP redirects are always sent
ICMP unreachables are always sent
ICMP mask replies are never sent
IP fast switching is disabled
IP fast switching on the same interface is disabled
IP Flow switching is disabled
IP Fast switching turbo vector
IP multicast fast switching is disabled
IP multicast distributed fast switching is disabled
Router Discovery is disabled
IP output packet accounting is disabled
IP access violation accounting is disabled
TCP/IP header compression is disabled
RTP/IP header compression is disabled
Probe proxy name replies are disabled
Policy routing is disabled
Network address translation is disabled
BGP Policy Mapping is disabled
Input features: MCI Check
WCCP Redirect outbound is disabled
WCCP Redirect inbound is disabled
WCCP Redirect exclude is disabled
GigabitEthernet0/0/0.20 is up, line protocol is up (connected)
Internet protocol processing disabled
GigabitEthernet0/0/0.30 is up, line protocol is up (connected)
Internet protocol processing disabled
GigabitEthernet0/0/1 is administratively down, line protocol is down (disabled)
Internet protocol processing disabled
GigabitEthernet0/0/2 is administratively down, line protocol is down (disabled)
Internet protocol processing disabled
Vlan1 is administratively down, line protocol is down
Internet protocol processing disabled