天天看點

單臂路由的配置

Current configuration:

!

version 12.1

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

hostname c2600

no logging console

enable password mysecret

ip subnet-zero

interface FastEthernet0/0

no ip address

duplex auto

speed auto

interface FastEthernet0/0.1

encapsulation isl 1

ip address 10.10.10.1 255.255.255.0

no ip redirects

!-- If 802.1Q is configured,

!-- you will instead see the following output

!-- under interface FastEthernet0/0.1:

!-- interface FastEthernet0/0.1

!-- encapsulation dot1Q 1 native

!-- ip address 10.10.10.1 255.255.255.0

interface FastEthernet0/0.2

encapsulation isl 2

ip address 10.10.11.1 255.255.255.0

!-- under interface FastEthernet0/0.2:

!-- interface FastEthernet0/0.2

!-- encapsulation dot1Q 2

!-- ip address 10.10.11.1 255.255.255.0

interface FastEthernet0/1

shutdown

ip classless

no ip http server

line con 0

transport input none

line aux 0

line vty 0 4

password mysecret

login

no scheduler allocate

end

本文轉自loveme2351CTO部落格,原文連結:http://blog.51cto.com/loveme23/8110 ,如需轉載請自行聯系原作者

繼續閱讀