Sunteți pe pagina 1din 10

Cisco IOS

EXEC mode
enable
exit
traceroute
terminal length 0
show
show running-config
show version
show history all
show logging
show users
show module
show inventory raw
show environment
show tech-support
show clock
show interface description
show interface status
show interface GigabitEthernet (X) | transceiver
show interface GigabitEthernet (X) | include rate
show ip interface brief
show ip arp Gigabitethernet/vlan (x)
show ip arp vrf (vrf-name) Gigabitethernet/vlan (x)
sh mac-address-table dynamic interface ( X)
show ip route
show ip route vrf (vrf-name) ( ip address)
show ip route vrf * ( ip address)
show ip ospf interface brief
show ip ospf neighbor
show bgp summary
show bgp vpnv4 unicast all summary
show bgp vpnv4 unicast vrf (vrf-name) (ip/net-address)
show ip vrf interfaces
show ip vrf interfaces ( vrf-name)
show ip vrf detail
show mpls interfaces
show mpls ldp neighbor
show vlan brief
show interfaces trunk
show vrrp brief
show processes cpu history
show processes cpu sorted
show processes memory
clear
clear counters Gigabitethernet/vlan (x)

sh run | s r o

sh vlan all-ports | i 3502


show interface counters storm-control

3 process yang perlu di restart :


#1 get process id > show process | i snmpd/mib_interface/pm_collector, process id nya kolom paling kiri
#2 restart process masing2 > process restart <process id>

1. snmpd
2. mibd_interface
3. pm_collector

show process | i snmp


show process | i mibd_interface
show process | i pm_collector

process restart <process id>


CISCO IOS-XR Huawei
EXEC mode user view
enable super
exit quit
traceroute tracert
terminal length 0 screen-length 0 temporary
show display
show running-config display current-configuration
show version display version
show history detail display history-command
show logging display logbuffer
show users display users
show platform display device
show inventory raw display elabel
show environment display temperature
show tech-support display diagnostic-information
show clock display clock
show interface description display interface description
show interface status display interface phy-option
show controllers Tengigabit (X) phy display interface phy-option GigabitEthernet (x)
show interface GigabitEthernet (X) | include rate display interface GigabitEthernet (X) | include rate
show ipv4 interface brief display ip interface brief
show arp tenGigE (x) display arp interface Gigabitethernet/vlanif (x)
show arp vrf IuB gigabitEthernet (X) display arp interface Vlanif 3353
sh mac interface ( X) display arp interface Gigabitethernet/vlanif (x)
show route display ip routing-table
show route vrf (vrf-name) ( ip address) display ip routing-table vpn-instance gboip 10.179.204.66
show ip route vrf all ( ip address) display bgp vpnv4 all routing-table | in 10.147.153.196
show ospf interface brief display ospf interface all
show ospf neighbor display ospf peer brief
show bgp summary display bgp peer
show bgp vpnv4 unicast summary display bgp vpnv4 all peer
show bgp vpnv4 unicast vrf (vrf-name) (ip/net-address) display bgp vpnv4 vpn-instance iub routing-table (ip/net-address)
show ipv4 vrf all interface brief display ip vpn-instance interface
show ipv4 vrf (vrf-name) interface brief display ip vpn-instance (vrf-name) interface
show vrf all display ip vpn-instance verbose
show mpls interface display mpls interface
sh mpls ldp neighbor display mpls ldp peer
(not support layer 2) display vlan brief
(not support layer 2) display eth-trunk
show vrrp brief display vrrp brief
show processes cpu display cpu-usage
display cpu-usage sorted
show processes memory' display memory-usage
clear reset
clear counters Gigabitethernet/vlan (x) reset counters interface
sh run router hsrp int te0/0/0/1.3472
ping -a 221.132.195.170 -c 10 -s 9000 221.132.195.164
sh ip ospf int te0/1/0/6
ping -vpn-instance iub 10.152.166.25

Prosedur Ping:

IOS lama:
ping 172.30.121.70 size 9000 rep 100 df-bit

IOS baru:
ping 172.30.121.70 size 9000 c 100 donotfrag

Huawei:
ping -s 9000 -c 100 -f 172.30.121.70
Cisco Huawei
EXEC mode user view
traceroute tracert
terminal length 0 screen-length 0 temporary
show display
show version display version
show history-command display history-command
show interfaces display interface
show ip interface display ip interface
show ip route display ip routing-table
show ip bgp display bgp routing-table
show clock display clock
show flash dir flash:
show logging display logbuffer
show snmp display snmp-agent statistics
show users display users
show tech-support display diagnostic-information
write terminal,
display current-configuration
show running-config
more nvram:startup-config,
display saved-configuration
show startup-config
write erase reset saved-configuration
write memory,
save
copy running-config startup-config
clear reset
clear counters reset counters interface
clear interface reset counters interface
clear access-list counters reset acl counter all
no undo
debug / no debug debugging / undo debugging
reload reboot
enable super
disable super 0
erase delete
exit quit
configure terminal system-view
configuration mode system view
end return
snmp-server snmp-agent
hostname sysname
router bgp bgp
router ospf ospf
router rip rip
shutdown / no shutdown shutdown / undo shutdown
Purpose
Enter privileged EXEC Mode.
Exits from router.
Discover the routes that packets actually take when traveling to their destination.
set the number of lines of output to display on the terminal screen for the current session before pausing.
To display the configuration.
To display the existing configuration
To display the versions of system software and hardware that are currently running on the router
Display the session command history
Show the contents of logging buffers
To display information about the user session
To display module information
Show the physical inventory information including serial number of Transceiver SFP,module,sub-module
To monitor status of router fans, power supply, system board temperature, and more
To collect switch information for Cisco TAC to assist you in diagnosing issues
To display router clock
Show description of the interface
Displays the interface status including Port name, descriptions,status,SFP/UTP.
To display the Tx/Rx Power of transceiver
To display Tx/Rx Power of transceiver
To display rate of interface
To display the ARP client table ( global routing table)
To display the ARP client table ( vrf routing table)
To display the mac-address Table
To display ip routing table ( global routing table)
To display ip routing table ( vrf routing table)

To display interface information related to Open Shortest Path First (OSPF)


Displays OSPF neighbor information on a per-interface basis.
To display the status of IPv4 Border Gateway Protocol (BGP) connections
To display the status of VPNv4 Border Gateway Protocol (BGP) connections
To display VPNv4 address information from the BGP table
Displays the set of defined VRFs and associated interfaces.
Displays the set of defined VRFs and associated interfaces per vrf name
Detailed VPN Routing/Forwarding instance information including RD,RT,interfaces
To display information about one or more interfaces that have been configured for label switching
To display information about the connection between this LSP and its LDP-enabled neighbors
To display only a brief summary of the status for all VLANs
To display interface with switchport trunk enable
To display a brief or detailed status of one or all Virtual Router Redundancy Protocol (VRRP) virtual routers
To display the CPU utilization for the last 60 seconds, 60 minutes, and 72 hours.
To display the CPU utilization for sorted output based on percentage of utilization
To display the Memory utilization for sorted output based on percentage of utilization
Command to clear/reset
Clear counters on one or all interfaces
show running-config
show ip interface brief
show ip interface brief | in up
show ip interface brief | in down
show interface status
show interface | include proto|cription|bits|cast
show interface description
show interface counters storm-control
show interface summary
show etherchannel summary
show ip arp
show mac-address-table dynamic
show mac address-table dynamic
show cdp neighbors
show cdp neighbors detail
show ip vrf interface
show ip vrf detail
show ip cef vrf * summary
show mpls ldp neighbor
show mpls ldp neighbor detail
show mpls l2transport vc
show mpls forwarding-table
show bgp ipv4 unicast summary
show bgp vpnv4 unicast all summary
show ip ospf interface
show ip ospf interface brief
show ip ospf neighbor
show ip ospf neighbor detail
show clns neighbor
show ip route
show ip sla statistics
show ip sla summary
show ip route summary
show vlan
show vlan brief
show vlan internal usage
show standby brief
show vrrp brief
show redundancy
show module
show power
show inventory
show inventory raw
show environment
show environment status
show temp
show diagnostic status
show diagnostic result
show platform hardware capacity cpu
show processes cpu history
show processes cpu sorted
show memory statistics
show memory statistics history
show history all
dir all
show log
show version
show runn | include boot
show user
show clock
show platform

S-ar putea să vă placă și