共 80 条命令 · 点击右侧按钮复制命令
display current-configuration
display device
interface GigabitEthernet 0/0/1
ip address 192.168.1.1 24
port link-type access
port link-type trunk
ospf 1
display ospf peer
display ip routing-table
acl 3000
display version
display saved-configuration
display clock
display cpu-usage
display memory-usage
display environment
system-view
sysname HUAWEI
undo shutdown
shutdown
description "To-Server"
display interface brief
display interface GigabitEthernet 0/0/1
display ip interface brief
ip route-static 0.0.0.0 0 192.168.1.254
ospf 1 router-id 1.1.1.1
area 0
network 192.168.1.0 0.0.0.255
display ospf interface
bgp 65001
peer 10.0.0.2 as-number 65002
display bgp peer
vlan batch 10 20 30
vlan 10
name Sales
port default vlan 10
port trunk allow-pass vlan 10 20 30
display vlan
undo port default vlan
undo vlan 10
stp enable
stp mode rstp
stp priority 4096
stp edged-port enable
display stp brief
acl number 2000
acl number 3000
rule permit source 192.168.1.0 0.0.0.255
traffic-filter inbound acl 2000
display acl 2000
undo acl 2000
user-interface vty 0 4
authentication-mode aaa
protocol inbound ssh
rsa local-key-pair create
stelnet server enable
dhcp enable
ip pool LAN
display ip pool
nat address-group 1 203.0.113.1 203.0.113.10
nat outbound 2000 address-group 1
display nat session
interface Eth-Trunk 1
trunkport GigabitEthernet 0/0/1 to 0/0/4
display eth-trunk 1
stack slot 0 priority 100
display stack
quit
return
compare configuration
aaa
local-user admin password cipher admin123
ping 8.8.8.8
tracert 8.8.8.8
display arp
display mac-address
display logbuffer
terminal debugging
save
reboot