快速业务通道

Cisco实战:配置三层交换的综合案例

作者 佚名技术 来源 网络技术 浏览 发布时间 2012-07-01
ion tushuguan

no ip address

!

!

line con 0

stopbits 1

line vty 0 4

password aaa

login

!

end

Cisco Catalyst 3550-EMI配置清单

Building configuration...

Current configuration : 4055 bytes

!

version 12.1

no service pad

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname office

!

enable secret 5 $1$p0fU$JeyPOM0RuL.Fqfe71efHF1

!

ip subnet-zero

!

!

spanning-tree extend system-id

!

!

!

interface FastEthernet0/1

switchport access vlan 10

!--将端口FastEthernet0/1指定至VLAN 10

no ip address

!

interface FastEthernet0/2

switchport access vlan 10

no ip address

!

interface FastEthernet0/3

switchport access vlan 10

no ip address

!

interface FastEthernet0/4

switchport access vlan 10

no ip address

!

interface FastEthernet0/5

switchport access vlan 10

no ip address

!

interface FastEthernet0/6

switchport access vlan 20

no ip address

!--将端口FastEthernet0/6指定至VLAN 20

!

interface FastEthernet0/7

switchport access vlan 20

no ip address

!

interface FastEthernet0/8

switchport access vlan 20

no ip address

!

interface FastEthernet0/9

switchport access vlan 20

no ip address

!

interface FastEthernet0/10

switchport access vlan 20

no ip address

!

interface FastEthernet0/11

switchport access vlan 30

no ip address

!--将端口FastEthernet0/6指定至VLAN 30

!

interface FastEthernet0/12

switchport access vlan 30

no ip address

!

interface FastEthernet0/13

switchport access vlan 30

no ip address

!

interface FastEthernet0/14

switchport access vlan 30

no ip address

!

interface FastEthernet0/15

switchport access vlan 30

no ip address

!

interface FastEthernet0/16

switchport access vlan 30

no ip address

!

interface FastEthernet0/17

switchport access vlan 30

no ip address

!

interface FastEthernet0/18

switchport access vlan 30

no ip address

!

interface FastEthernet0/19

switchport access vlan 40

no ip address

!--将端口FastEthernet0/6指定至VLAN 40

!

interface FastEthernet0/20

switchport access vlan 40

no ip address

!

interface FastEthernet0/21

switchport access vlan 40

no ip address

!

interface FastEthernet0/22

switchport access vlan 30

no ip address

!

interface FastEthernet0/23

switchport access vlan 40

no ip address

!

interface FastEthernet0/24

switchport access vlan 40

no ip address

!

interface GigabitEthernet0/1

switchport trunk encapsulation dot1q

!--启用802.1Q Trunk封装协议,即在该端口创建Trunk

switchport trunk allowed vlan 1-80

!--允许vlan 1-80在该中继线通讯

switchport mode trunk

!--将该端口设置为Trunk

no ip address

!

interface GigabitEthernet0/2

no ip address

!

interface Vlan1

ip address 172.16.100.12 255.255.255.0

!--LAN1指定IP地址

no ip route-cache

no ip mroute-cache

!

ip classless

ip http server

!

!

!

!

line con 0

line vty 0 4

password aaa

login

line vty 5 15

login

!

end

Cisco Catalyst 3550-SMI配置清单

Building configuration...

Current configuration : 4055 bytes

!

version 12.1

no service pad

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname office

!

enable secret 5 $1$p0fU$JeyPOM0RuL.Fqfe71efHF1

!

ip subnet-zero

!

!

spanning-tree extend system-id

!

!

!

interface FastEthernet0/1

switchport access vlan 60

!--将端口FastEthernet0/1指定至VLAN 60

no ip address

!

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号