show ip sockets detail
conf t
interface xxx
ip accounting
end
sh ip accounting
備註, 查完記得no掉, 否則會增加cpu的負擔!
conf t
interface xxx
no ip accounting
write
or
copy running-config startup-config
no shutdown
路由設定
ip route IP位置 子網路遮罩 路由IP位置
ip route IP位置 子網路遮罩 介面名稱
PPPoE設定
interface Dialer1
mtu 1492
ip address negotiated
ip nat outside
no ip virtual-reassembly
encapsulation ppp
ip tcp adjust-mss 1300
dialer pool 1
dialer-group 1
ppp pap sent-username XXXX password 0 XXXX
exit
interface FastEthernet x/x
description PPPOE
no ip address
duplex auto
speed auto
pppoe enable group global
pppoe-client dial-pool-number 1