共 90 条命令 · 点击右侧按钮复制命令
show version
show ip interface brief
interface GigabitEthernet0/0
switchport mode access
switchport mode trunk
router ospf 1
show ip ospf neighbor
show ip route
access-list 100 permit ip any any
ping 8.8.8.8
show running-config
show startup-config
show clock
show processes cpu
show memory statistics
show environment
show inventory
ip address 192.168.1.1 255.255.255.0
no shutdown
shutdown
description "To-ISP"
show interfaces GigabitEthernet0/0
show interfaces status
show interfaces trunk
show interfaces switchport
ip route 0.0.0.0 0.0.0.0 192.168.1.254
router-id 1.1.1.1
network 192.168.1.0 0.0.0.255 area 0
show ip ospf interface
router eigrp 100
router bgp 65001
show ip bgp summary
show ip bgp
vlan 10
name Sales
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 10,20,30
show vlan brief
show vtp status
spanning-tree mode rapid-pvst
spanning-tree vlan 10 priority 4096
spanning-tree portfast
show spanning-tree
show spanning-tree summary
channel-group 1 mode active
channel-group 1 mode desirable
interface Port-channel1
show etherchannel summary
access-list 10 permit 192.168.1.0 0.0.0.255
access-list 100 permit tcp any any eq 80
ip access-list standard MYACL
show ip access-lists
enable secret cisco123
service password-encryption
username admin privilege 15 secret admin123
login block-for 60 attempts 3 within 30
line vty 0 4
transport input ssh
crypto key generate rsa
ip ssh version 2
ip domain-name example.com
ip dhcp pool LAN
show ip dhcp binding
ip dhcp excluded-address 192.168.1.1 192.168.1.10
ip nat inside source list 1 interface GigabitEthernet0/0 overload
show ip nat translations
configure terminal
end
exit
enable
disable
write memory
hostname Router1
erase startup-config
traceroute 8.8.8.8
show ip arp
show mac address-table
show logging
terminal monitor
debug ip ospf events
debug ip packet
no debug all
show cdp neighbors
show cdp neighbors detail
ip access-group 100 in
show ip interface GigabitEthernet0/0
copy running-config tftp:
copy tftp: running-config
copy running-config startup-config
reload