天天看點

腳本

n

en

conf t

no ip domain loo

alias exec 1 show ip route

alias exec 2 show ip int bri

enable password cisco

line console 0

password cisco

login

logging synchronous

exec-timeout 0 0

exit

line vty 0 4

no ip domain lookup

username rock privilege 15 secret baole

ip http server

ip http secure-server

ip http authentication local

line con 0

login local

privilege level 15

transport input telnet ssh

logging buffered 51200 warning

int f0/0

ip add  192.168.0.100 255.255.255.0

no shut

aaa new-model

aaa authentication login default local

end

copy run start

monitor session 1 source int f1/1

monitor session 1 destination int f0/0

monitor session 1 source vlan2 rx

monitor session 1 destination int f0/10

csco11391568