Professional Documents
Culture Documents
Switch>
Switch>enable
Switch#
Switch#clock set
% Incomplete command
Switch#clock set 15:55:00
% Incomplete command
• Required arguments or keywords were left off the end of the command
• The caret (^) indicates where the command interpreter cannot decipher
the command
The Practical Solution Co.,Ltd. All rights reserved.
The Practical Solution Co.,Ltd. All rights reserved.
The Practical Solution Co.,Ltd. All rights reserved.
The Practical Solution Co.,Ltd. All rights reserved.
The Practical Solution Co.,Ltd. All rights reserved.
The Practical Solution Co.,Ltd. All rights reserved.
The Practical Solution Co.,Ltd. All rights reserved.
• Global configuration mode
Switch#configure terminal
Switch(config)#
Switch(config)#interface FastEthernet0/1
Switch(config-if)#
• Set hostname
Switch(config)#hostname TPS-Switch
TPS-Switch(config)#
• EXEC timeout
TPS-Switch(config-line)#exec-timeout 5
TPS-Switch(config)#line vty 0 4
TPS-Switch(config-line)#login local
TPS-Switch(config)#line console 0
TPS-Switch(config-line)#login local
10.1.1.1
TPS-Switch
TPS-Switch(config)#vlan 10
TPS-Switch(config-vlan)#name Sales
▪ Verify VLAN
Switch#show vlan brief
Switch(config)#interface vlan 10
Switch(config-if)#ip address 10.1.10.1 255.255.255.0
Switch(config)#interface vlan 20
Switch(config-if)#ip address 10.1.20.1 255.255.255.0
• This command configures this switch to be the secondary root for VLAN 1.
Switch(config)#spanning-tree vlan 1 root secondary
Or
Switch(config)#spanning-tree vlan 1 priority priority
• Verify Spanning-Tree
10G x 2
1G 1G
1G 1G
1G 1G
1G 1G
Root
▪ Enables PortFast all non-trunking interfaces and enables BPDUGuard globally for all
PortFast-enable ports
SW1(config)#interface port-channel 1
SW1(config-if)#switchport mode trunk
SW1(config-if)#switchport trunk allowed vlan 1,2,20
SW2(config)#interface port-channel 1
SW2(config-if)#switchport mode trunk
SW2(config-if)#switchport trunk allowed vlan 1,2,20
VLANs
• VLANs must be defined across all the switches
• VLANs must be enabled on the trunk ports
• Ports must be in the right VLANs
SVIs
• SVI must have the correct IP address or subnet mask
• SVI must be up
• SVI must match with the VLAN number
Routing
• Routing must be enabled
• Each interface or network should be added to the routing protocol
Hosts
• Hosts must have the correct IP address or subnet mask
• Hosts must have a default gateway associated with an SVI or
routed port
Firmware Download
CAPWAP
• Configure SNMP
switch(config)#snmp-server community piro ro
switch(config)#snmp-server community pirw rw
switch(config)#snmp-server location server-room
switch(config)#snmp-server contact tps@thepractical.co.th
• Configure Username/Password
switch(config)#enable secret cisco
switch(config)#username cisco privilege 15 secret cisco
Add a trap
Start the
Verify the Verify Telnet receiver in Add the
Using ICMP inventory
SNMP and SSH order for devices to the
ping collection
credentials credentials. Prime Inventory
process
Infrastructure
1 3
1
2
3
The Practical Solution Co.,Ltd. All rights reserved. 197
▪ Importing Devices from Another Source
▪ Step 4 Click the link to download a sample file that contains all of the fields
and descriptions for the information that must be contained in your imported
file.
3
1
1
5
1 1
2
Device type groups are device type-based and are not rule-based. The device type groups
are not used for network topology maps.
The Practical Solution Co.,Ltd. All rights reserved. 208
▪ Grouping Devices by User Defined Group
1
2
1
3
1
4
1
2
1
3
2
The Practical Solution Co.,Ltd. All rights reserved. 229
The Practical Solution Co.,Ltd. All rights reserved. 230
Cisco Prime Infrastructure
Image Upgrade and Analysis
4
3
4
You can schedule to have Prime Infrastructure copy the running configuration to the
startup configuration by choosing Inventory > Device Configuration Archive, then
clicking Schedule Overwrite.
• During inventory—You can have Prime Infrastructure collect device configurations
during the inventory collection process.
• Based on Syslogs— If device is configured to send syslogs, when there is any device
configuration change, Prime Infrastructure collects and stores the configuration.
4
2
Thank you
dank u آپ کا شکریہ спасибо terima kasih
salamat با تشکر از شما gracias
terima kasih Merci
ขอบคุณครับ
The Practical Solution Co.,Ltd. All rights reserved.