Chinaunix首页 | 论坛 | 博客
  • 博客访问: 19286860
  • 博文数量: 7460
  • 博客积分: 10434
  • 博客等级: 上将
  • 技术积分: 78178
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-02 22:54
文章分类

全部博文(7460)

文章存档

2011年(1)

2009年(669)

2008年(6790)

分类: 系统运维

2008-05-20 17:20:37

3550-emi#show run

Building configuration...

Current configuration : 2866 bytes

!

version 12.1

no service pad

service timestamps debug uptime

service timest amps log uptime

no service password-encryption

!

hostname s3550-emi

!

enable secret 5 $1$GNOM$/MQkwi26bXabrf57Zm2vH1

enable password cisco

!

ip subnet-zero

ip routing

!

!

spanning-tree extend system-id

!

!

!

interface FastEthernet0/1

no switchport

ip address 192.168.61.10 255.255.255.0

ip access-group 1 in

ip access-group 1 out

!

interface FastEthernet0/2

switchport access vlan 2

no ip address

!

interface FastEthernet0/3

switchport access vlan 2

no ip address

!

interface FastEthernet0/4

switchport access vlan 3

no ip address

!

interface FastEthernet0/5

switchport access vlan 3

no ip address

!

interface FastEthernet0/6

switchport access vlan 3

no ip address

!

interface FastEthernet0/7

switchport access vlan 3

no ip address

!

interface FastEthernet0/8

switchport access vlan 3

no ip address

!

interface FastEthernet0/9

switchport access vlan 4

no ip address

!

interface FastEthernet0/10

switchport access vlan 4

no ip address

!

interface FastEthernet0/11

switchport access vlan 4

no ip address

!

interface FastEthernet0/12

switchport access vlan 4

no ip address

!

interface FastEthernet0/13

switchport access vlan 4

no ip address

!

interface FastEthernet0/14

switchport access vlan 4

no ip address

!

interface FastEthernet0/15

switchport access vlan 4

no ip address

!

interface FastEthernet0/16

switchport access vlan 4

no ip address

!

interface FastEthernet0/17

switchport access vlan 4

no ip address

!

interface FastEthernet0/18

switchport access vlan 4

no ip address

!

interface FastEthernet0/19

switchport access vlan 4

no ip address

!

interface FastEthernet0/20

switchport access vlan 4

no ip address

!

interface FastEthernet0/21

no ip address

!

interface FastEthernet0/22

no ip address

!

interface FastEthernet0/23

no ip address

!

interface FastEthernet0/24

no ip address

!

interface GigabitEthernet0/1

no ip address

!

interface GigabitEthernet0/2

no ip address

!

interface Vlan1

no ip address

shutdown

!

interface Vlan2

ip address 10.100.100.254 255.255.255.0

!

interface Vlan3

ip address 10.100.101.254 255.255.255.0

ip access-group 3 in

ip access-group 3 out

!

interface Vlan4

ip address 10.100.102.254 255.255.255.0

ip access-group 4 in

ip access-group 4 out

!

ip classless

ip route 10.100.100.0 255.255.255.0 Vlan2

ip route 10.100.101.0 255.255.255.0 Vlan3

ip route 10.100.102.0 255.255.255.0 Vlan4

ip route 192.168.0.0 255.255.0.0 FastEthernet0/1 192.168.61.11

ip http server

!

!

!

access-list 1 deny 10.100.100.0 0.0.0.255

access-list 1 deny 10.100.102.0 0.0.0.255

access-list 1 permit any

access-list 3 deny 10.100.102.0 0.0.0.255

access-list 3 permit any

access-list 4 permit 10.100.100.0 0.0.0.255

access-list 4 permit 10.100.102.0 0.0.0.255

!

line con 0

line vty 0 4

login

line vty 5 15

login

!

end

阅读(247) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~