VTP配置

合集下载

交换机VTP配置

交换机VTP配置
学习到VTP服务 端的VLAN 配置。 • 同一VALN的主机可以相互通信
VTP client 配置步骤
一、配置VTP client (配置交换机客户端) Vtp mode client Vtp domain test Vtp password 123 二、将相应的端口模式配置为trunk模式 Int fa 1 Switchprot mode trunk 三、将相应端口划分到相应VLAN int fa 0/2 switchprot access vlan 2
网络拓扑结构
VTP server 配置步骤
一、配置VTP server(配置VTP服务端) Vtp mode server Vtp domain test Vtp password 123 二、将相应的端口模式配置为trunk模式 Int range fa 0/1 -2 Switchprot mode trunk 三、创建VLAN Vlan 2 Vlan 3
交换机VTP配置
郑海其
什么是VTP
• VTP(VLAN Trunking Protocol):是 VLAN中继协议,也被称为虚拟局域网干道 协议。它是思科私有协议。作用是十几台 交换机在企业网中,配置VLAN工作量大, 可以使用VTP协议,把一台交换机配置成 VTP Server, 其余交换机配置成VTP Client, 这样他们可以自动学习到server 上的VLAN 信息。

VTP配置详解

VTP配置详解

VTP配置详解
VTP Version:VTP版本号,可通过命令vtp version 1或vtp version 2来设置
配置修订号:每次修改VTP版本号、或修改(增加或删除)交换机vlan后,或其他任何VTP配置的更改,修订号都会自动加1;当更改vtp domain name(VTP域名)时,交换机配置修订号自动清为零;当1台新交换机加入到一个网络里时,新交换机默认的VTP MODE 为server,若此时该交换机的修订号较网络里的vtp mode为server的交换机的修订号低,则会自动学习到vtp mode Server的交换机,哪台交换机的修订号高,则低的修订号的交换机会自动学习到高的交换机VLAN信息。

此时,可通过设置vtp password来避免。

本地支持最大VLAN数
当前存在的VLAN数
VTP操作模式
VTP域名
VTP修剪模式
VTP V2模式
VTP
MD5算法
最后1次修改配置的时间、设备IP等信息
一般配置vtp时,配置项有
Vtp mode server
Vtp domain ldh
Vtp version 2
Vtp password ldh(此为安全设置,在vtp配置中,若增加password增加安全性)
Vtp pruting
Vtp file ldh 文件存储在flash:中
Vtp。

配置vtp

配置vtp

配置 VTP VTP (VLAN Trunking Protocol) 是一种消息协议, 用于在 VTP 域内同步 VLAN 信息 (VLANs 的添加、删除和重命名),而不必在每个交换上配置相同的 VLAN 信息,从而实现 VLAN 配置的一致性。

使用 VTP,可以在一个或多个交换机上建立配置修改中心,并自动完成与 网络中其他所有交换机的通信,可以有效地减少交换网络中的管理事务。

1.VTP 简介 (1)VTP 域 VTP 域(也称 VLAN 管理域),由一个或多个相互连接、使用相同 VTP 域名的交换机所组 成。

一台交换机能够被配置而且也只能被配置一个 VTP 域。

使用命令行界面或 SNMP,可 以修改全局 VLAN 的域配置。

默认状态下,交换机处于 VTP Server 模式,并且在收到由中继连接传来的 VTP 通告(VTP Advertisement)或由配置一个管理域之前,一直处于非管理域状态。

不能在 VTP 服务器上 建立或修改 VLAN,直到管理域名被指定或被学习。

如果交换机收到一个从中继连接传来的 VTP 通告,它将继承管理域名和 VTP 配置版本号, 并且不再理睬不同的管理域名或更早的配置版本号。

如果将交换机配置为 VTP 透明,可以建立可修改的 VLAN,但修改将只影响到个别的交换 机。

当修改位于 VTP Server 上的 VLAN 配置时,该修改将传播至 VTP 域中所有的交换机。

VTP 通告 被发送至所有的中继连接,包括 Inter-Switch Link (ISL)、IEEE 802.1Q、IEEE 802.10和 ATM LAN Emulation(LANE)。

(2)VTP 模式 可以将交换机配置在以下任何一种 VTP 模式操作: Server。

在 VTP Server(服务器)模式,可以为整个 VTP 域建立、修改和删除 VLAN,并指 定其他配置参数(如 VTP 版本和 VTP 修剪)。

实验8 CISCO交换机VTP配置

实验8 CISCO交换机VTP配置

实验8 CISCO交换机VTP配置【实验目的】1、掌握VTP的配置。

2、掌握三层交换机的配置。

【实验任务】1.配置两个VLAN:VLAN2、VLAN 3并为其分配静态成员。

2.测试VLAN分配结果。

3. 通过三层交换机VLAN网关的配置,可实现跨VLAN的相互访问。

【实验设备】Cisco三层交换机1台,Cisco二层交换机1台,PC 机6台,连接线若干条。

【实验拓扑图】【实验要求】在交换机S-3550上划分2个VLAN:VLAN2、VLAN3。

两台交换机的端口1为Trunk 口。

交换机S-3550的VLAN、端口和计算机的划分:交换机S-2950的VLAN、端口和计算机的划分:【实验步骤】1、按照拓扑图把相应的设备连接好。

2、配置交换机S3550的VTP模式:Server模式、域名MYVTP、密码CISCO。

3、在交换机S3550上创建VLAN2、VLAN3。

4、把交换机S3550的端口2、3划分到VLAN2中。

5、把交换机S3550的端口4、5划分到VLAN3中。

6、查看S3550已经划分好的VLAN及相应的端口7、把交换机S3550端口1配置为主干道trunk模式8、配置交换机S2950的VTP模式:Client模式、域名MYVTP、密码CISCO9、查看S2950的VLAN划分情况10、把交换机S2950端口2、3划分到VLAN2中11、把交换机S2950端口1配置为主干道trunk模式12、配置各台PC机的IP地址、子网掩码(注意:同一VLAN的PC机必须处于同一个子网内)13、测试各台PC间的连通性(测试可得,同一VLAN的PC可以ping通,但不同VLAN的PC机不可以ping通)14、在交换机S3550上配置三层交换机,分别把VLAN2、VLAN3的网关(即VLAN的IP地址)设置为10.2.0.254/24、10.3.0.254/2415、配置各台PC机的网关(注意:处于哪一个VLAN内的PC机就必须配置其网关为对应VLAN的网关)16、再次测试各台PC间的连通性(测试可得,无论是相同VLAN或者不同VLAN的PC都可以ping通,即可以实现不同VLAN间的通信)。

实验二十:VTP配置

实验二十:VTP配置

实验二十:VTP配置VTP(VLAN Trunking Protocol)是一个用于传播和同步关于整个交换网络的VLAN信息的协议,工作在OSI参考模型的第二层。

VTP使我们在扩展交换网络规模时减少人工配置的工作量,并通过统一地管理交换网络中VLAN的增加、删除和名称变更,以维持整个网络VLAN配置的一致性,最大限度地减少可能带来问题的错配和配置不一致情况(如VLAN名称重复使用或错误的VLAN类型说明)。

VTP的三种模式:Server服务器模式、Client客户机模式、Transparent 透明模式。

1、Server 服务器模式:可以创建、更改和删除VLAN信息,并设置用于整个VTP域的其它配置参数。

Server交换机上设置的这些消息会通过中断线路依次传到相同域中的VTP客户机中,以同步相同域内多台交换机Vlan的配置。

2、Client客户机模式:不能创建、更改和删除VLAN,只能通过中继线路同步接收相同域内VTP server服务器发来的VLAN信息。

3、Transparent透明模式:当前交换机不参加VTP,该种模式主要是用作本地管理,它不与其它交换机共享VLAN信息,但仍可以将VTP通告转送到其它交换机。

一、实验内容1、使用VTP协议实现多交换机VLAN配置二、实验目的1、掌握VTP原理及工作过程2、掌握VTP的三种工作模式3、掌握交换机Trunking中继线路的配置三、网络拓朴四、实验设备1、四台安装有windows 98/xp/2000的微机2、两台Cisco 2950 交换机3、多条直通网线和交叉网线4、思科(Cisco)专用控制端口连接电缆五、实验过程(需要将相关命令写入实验报告)1、使用直通线和交叉线将电脑与交换机、交换机与交换机正确进行连接2、配置各主机IP地址和子网掩码3、将交换机A设置为VTP Server服务器模式,同时设置VTP域名称并在该交换机上添加添加VLAN 100和VLAN 2004、将交换机B设置为VTP Client客户机模式。

VLAN及VTP的配置

VLAN及VTP的配置

实验四VLAN及VTP的配置一、实验目的:1、掌握单台交换机上VLAN的创建及单口划分2、掌握多台交换机上VLAN的创建及单口划分二、实验要求:按照实验指导书完成实验三、实验项目性质验证性实验四、实验要点1、VLAN的划分2、将端口添加到某个VLAN五、实验内容实验一、单台交换机上VLAN的创建及端口划分实验拓扑图:1、按照上图搭建好实验环境(添加设备,并做好标识)2、打开主机0,通过console口配置交换机,配置管理端口IP地址为192.168.1.1,设置交换机的VTY密码为123456.。

退出,重新通过Telnet登陆交换机。

3、注意:通过Telnet登陆交换机是否成功?如果出错,请排错并将排除错误的方法写出来,可以截图。

4、通过Telnet登陆上交换机上后,创建VLAN 2、VLAN 3【这个过程可能会发生问题,该怎么办?直接打开交换机配置】提示:方法1、进入vlan database模式创建:vlan database、vlan 2 name er、ip address 192.168.1.1 255.255.255.0 、no shutdown、vlan 3 name san、ip address 192.168.2.1 255.255.255.0方法2、进入全局配置模式创建:configure terminal、vlan 2、name 2、ip address 192.168.1.1 255.255.255.0 、no shutdown、vlan 3、name 3、ip address 192.168.2.1 255.255.255.05、分别向VLAN 2、VLAN 3中添加端口。

提示:interface fa0/1、spanning-tree portfast、switchport access vlan 2、interface fa0/2、spanning-tree portfast、switchport access vlan 2、interface fa0/3、spanning-tree portfast、switchport access vlan 36、思考:在各台主机以及交换机上相互Ping看是否能通?请总结下规律,怎么样的能通,怎么样的不通?猜想下为什么会不通?【请以文字表述清楚】。

VTP配置

VTP配置

VTP(VLAN Trunking Protocol)配置VTP domain:ccxx一.将各台交换机间链路设置中继S1(config)#int fa0/23S1(config-if)#switchport mode trunk%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/23, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/23, changed state to upS1(config-if)#exitS1(config)#S2(config)#interface range fastEthernet 0/23-24 选择多个端口S2(config-if-range)#switchport mode trunk 开启中继模式%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to upS2(config-if-range)#exitS2(config)#S3(config)#int f0/24S3(config-if)#switchport mode trunkS3(config-if)#exitS3(config)#二.设置三台交换机处于ccxx的VTP域,且密码为ciscoS1(config)#vtp domain ccxx 设置VTP域名为ccxx Changing VTP domain name from NULL to ccxxS1(config)#vtp password cisco 设置VTP密码为cisco Setting device VLAN database password to ciscoS1(config)#S2(config)#vtp domain ccxxDomain name already set to ccxx.S2(config)#vtp password ciscoSetting device VLAN database password to ciscoS2(config)#S3(config)#vtp domain ccxxDomain name already set to ccxx.S3(config)#vtp password ciscoPassword already set to ciscoS3(config)#三.设置S1为服务器模式,S2为透明模式,S3为客户端模式S1(config)#vtp mode server 设置S1为服务器模式Device mode already VTP SERVER.S1(config)#S2(config)#vtp mode transparent 设置S2为透明模式Setting device to VTP TRANSPARENT mode.S2(config)#S3(config)#vtp mode client 设置S3为客户模式Setting device to VTP CLIENT mode.S3(config)#四.在S1上创建人事部VLAN5和销售部VLAN10S1(config)#vlan 5S1(config-vlan)#name HRS1(config-vlan)#exitS1(config)#vlan 10S1(config-vlan)#name SalesS1(config-vlan)#exitS1(config)#五.查看S1的VLAN信息S1#show vlan briVLAN Name Status Ports---- -------------------------------- --------- -------------------------------1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4Fa0/5, Fa0/6, Fa0/7, Fa0/8Fa0/9, Fa0/10, Fa0/11, Fa0/12Fa0/13, Fa0/14, Fa0/15, Fa0/16Fa0/17, Fa0/18, Fa0/19, Fa0/20Fa0/21, Fa0/22, Fa0/245 HR active10 Sales active1002 fddi-default active1003 token-ring-default active1004 fddinet-default active1005 trnet-default active六.查看S2的VLAN信息S2#show vlan briVLAN Name Status Ports---- -------------------------------- --------- -------------------------------1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4Fa0/5, Fa0/6, Fa0/7, Fa0/8Fa0/9, Fa0/10, Fa0/11, Fa0/12Fa0/13, Fa0/14, Fa0/15, Fa0/16Fa0/17, Fa0/18, Fa0/19, Fa0/20Fa0/21, Fa0/221002 fddi-default active1003 token-ring-default active1004 fddinet-default active1005 trnet-default active由于S2是透明模式,所以不和其它域中交换机同步VLAN信息。

VTP配置及VLAN间路由

VTP配置及VLAN间路由

桂林电子科技大学思科网络技术教程实验报告实验4 VTP配置及VLAN间路由第一部分基本VTP配置【实验目的:】1、执行基本交换机配置2、配置主机 PC 上的以太网接口3、在交换机上配置 VTP 和安全功能【实验预备知识】:复习理论课讲解的VTP相关知识和配置命令。

【实验拓扑图】:分析:配置VTP,首先确定结构,在结构中可以看到需要配置3个交换机其中确定并配置S2交换机是客户端,S3交换机是透明,S1是服务器和相同域,相同的管理接口。

所以S2和S3应该配置连接PC端的为接入模式分配不同的vlan和配置端口fa0/6、fa0/11 和fa0/18,使它们只支持一台主机,并且动态获知该主机的MAC 地址,交换机相连接口配置中继和本征,管理接口地址。

S1配置vlan【实验内容】:任务1:执行基本交换机配置根据以下原则配置交换机S1、S2 和S3 并保存配置:•按照拓扑所示配置交换机主机名。

•禁用DNS 查找。

•将执行模式口令配置为class。

•为控制台连接配置口令cisco。

•为vty 连接配置口令cisco。

任务 2:配置主机 PC 上的以太网接口使用地址表中的 IP 地址和默认网关配置PC1、PC2、PC3、PC4、PC5 和 PC6 的以太网接口。

任务 3:在交换机上配置 VTP 和安全功能步骤 1. 启用 S2 和 S3 上的用户端口。

将用户端口配置为接入模式。

请参阅拓扑图来确定哪些端口连接到最终用户设备。

S2(config)#interface fa0/6S2(config-if)#switchport mode accessS2(config-if)#no shutdownS2(config-if)#interface fa0/11S2(config-if)#switchport mode accessS2(config-if)#no shutdownS2(config-if)#interface fa0/18S2(config-if)#switchport mode accessS2(config-if)#no shutdown步骤 2. 用#show vtp status三台交换机上的当前 VTP 配置。

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

S1:Switch>ENSwitch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#hostname S1S1(config)#no ip domain-lookupS1(config)#enable secret classS1(config)#line console 0S1(config-line)#password ciscoS1(config-line)#loginS1(config-line)#exitS1(config)#line vty 0 15S1(config-line)#password ciscoS1(config-line)#loginS1(config)#^Z%SYS-5-CONFIG_I: Configured from console by consoleS1#copy run startDestination filename [startup-config]?Building configuration...[OK]S1#conf tS1(config)#vtp mode server //设置交换机为VTP SERVER; Device mode already VTP SERVER.S1(config)#vtp domain Lab4 //设置VTP的域名为Lab4; Changing VTP domain name from NULL to Lab4S1(config)#vtp password cisco //设置VTP服务器的密码; Setting device VLAN database password to ciscoS1(config)#end%SYS-5-CONFIG_I: Configured from console by consoleS1#S1#conf tEnter configuration commands, one per line. End with CNTL/Z.S1(config)#int f0/1S1(config-if)#switchport mode trunkS1(config-if)#switchport trunk native vlan 99S1(config-if)#no shut%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to downS1(config-if)#int f0/2S1(config-if)#switchport mode trunkS1(config-if)#switchport trunk native vlan 99S1(config-if)#no shut%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to downS1(config-if)#endS1#conf tEnter configuration commands, one per line. End with CNTL/Z.S1(config)#vlan 99S1(config-vlan)#name managementS1(config-vlan)#exitS1(config)#vlan 10S1(config-vlan)#name faculty/staffS1(config-vlan)#exitS1(config)#vlan 20S1(config-vlan)#name studentsS1(config-vlan)#exitS1(config)#vlan 30S1(config-vlan)#name guestS1(config-vlan)#exitS1(config)#^Z%SYS-5-CONFIG_I: Configured from console by consoleS1#show vlan briefVLAN Name Status Ports---- -------------------------------- --------- -------------------------------1 default active Fa0/1, Fa0/3, Fa0/4, Fa0/5Fa0/6, Fa0/7, Fa0/8, Fa0/9Fa0/10, Fa0/11, Fa0/12, Fa0/13Fa0/14, Fa0/15, Fa0/16, Fa0/17Fa0/18, Fa0/19, Fa0/20, Fa0/21Fa0/22, Fa0/23, Fa0/24, Gig1/1Gig1/210 faculty/staff active20 students active30 guest active99 management active1002 fddi-default active1003 token-ring-default active1004 fddinet-default active1005 trnet-default activeS1#S1#conf tEnter configuration commands, one per line. End with CNTL/Z.S1(config)#int vlan 99%LINK-5-CHANGED: Interface Vlan99, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan99, changed state toupS1(config-if)#ip addr 172.17.99.11 255.255.255.0S1(config-if)#no shutS2:Switch >enSwitch #conf tEnter configuration commands, one per line. End with CNTL/Z.Switch (config)#hostname S2S2(config)#no ip domain-lookupS2(config)#enable secret classS2(config)#line console 0S2(config-line)#password ciscoS2(config-line)#loginS2(config-line)#line vty 0 15S2(config-line)#password ciscoS2(config-line)#loginS2(config-line)#end%SYS-5-CONFIG_I: Configured from console by consoleS2#copy run startDestination filename [startup-config]?Building configuration...[OK]S2#S2#conf tEnter configuration commands, one per line. End with CNTL/Z.S2(config)#vtp mode client //设置交换机为VTP CLIENT Setting device to VTP CLIENT mode.S2(config)#vtp domain Lab4 //设置交换机所属的域; Changing VTP domain name from NULL to Lab4S2(config)#vtp password cisco //设置交换机访问SERVER的密码; Setting device VLAN database password to ciscoS2(config)#end%SYS-5-CONFIG_I: Configured from console by consoleS2#S2#conf tEnter configuration commands, one per line. End with CNTL/Z.S2(config)#int f0/1S2(config-if)#switchport mode trunkS2(config-if)#switchport trunk native vlan 99S2(config-if)#no shutS2(config-if)#end //如果端口没有打开,记得打开端口;否则不能正常通讯;%SYS-5-CONFIG_I: Configured from console by consoleS2#S2#conf tEnter configuration commands, one per line. End with CNTL/Z.S2(config)#int f0/6S2(config-if)#switchport port-securityCommand rejected: FastEthernet0/6 is a dynamic port.S2(config-if)#switchport port-security maximum 1S2(config-if)#switchport port-security mac-address sS2(config-if)#switchport port-security mac-address stickyS2(config-if)#int f0/11S2(config-if)#switchport port-securityCommand rejected: FastEthernet0/11 is a dynamic port.S2(config-if)#switchport port-security maximum 1S2(config-if)#switchport port-security mac-address stickyS2(config-if)#int f0/18S2(config-if)#switchport port-securityCommand rejected: FastEthernet0/18 is a dynamic port.S2(config-if)#switchport port-security maximum 1S2(config-if)#switchport port-security mac-address stickyS3(config-if)#no shutS2(config-if)#end%SYS-5-CONFIG_I: Configured from console by consoleS2#S2#conf tEnter configuration commands, one per line. End with CNTL/Z.S2(config)#int vlan 99%LINK-5-CHANGED: Interface Vlan99, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan99, changed state to upS2(config-if)#ip address 172.17.99.12 255.255.255.0S2(config-if)#no shutS2(config-if)#end%SYS-5-CONFIG_I: Configured from console by consoleS2#S2#conf tEnter configuration commands, one per line. End with CNTL/Z.S2(config)#int f0/6S2(config)#switchport mode accessS2(config-if)#switchport access vlan 30S2(config-if)#no shut%LINK-5-CHANGED: Interface FastEthernet0/6, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state to up S2(config-if)#int f0/11S2(config)#switchport mode accessS2(config-if)#switchport access vlan 10S2(config-if)#no shut%LINK-5-CHANGED: Interface FastEthernet0/11, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/11, changed state to up S2(config-if)#int f0/18S2(config)#switchport mode accessS2(config-if)#switchport access vlan 20S2(config-if)#no shut%LINK-5-CHANGED: Interface FastEthernet0/18, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/18, changed state to up S2(config-if)#end%SYS-5-CONFIG_I: Configured from console by consoleS2#copy run startDestination filename [startup-config]?Building configuration...[OK]S2#S3:Switch>enSwitch#conf tEnter configuration commands, one per line. End with CNTL/Z.Switch(config)#hostname S3S3(config)#no ip domain-lookupS3(config)#enable secret classS3(config)#line console 0S3(config-line)#password ciscoS3(config-line)#loginS3(config-line)#exitS3(config)#line vty 0 15S3(config-line)#password ciscoS3(config-line)#loginS3(config-line)#exitS3(config)#end%SYS-5-CONFIG_I: Configured from console by consoleS3#copy run startDestination filename [startup-config]?Building configuration...[OK]S3#S3#conf tEnter configuration commands, one per line. End with CNTL/Z.S3(config)#vtp mode transparent //设置交换机的模式为透明模式; Setting device to VTP TRANSPARENT mode.S3(config)#vtp domain Lab4Changing VTP domain name from NULL to Lab4S3(config)#vtp password ciscoSetting device VLAN database password to ciscoS3(config)#end%SYS-5-CONFIG_I: Configured from console by consoleS3#S3#conf tEnter configuration commands, one per line. End with CNTL/Z.S3(config)#vlan 99%LINK-5-CHANGED: Interface Vlan99, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan99, changed state to upS3(config-vlan)#name managementS3(config-vlan)#vlan 10S3(config-vlan)#name faculty/staffS3(config-vlan)#vlan 20S3(config-vlan)#name studentsS3(config-vlan)#vlan 30S3(config-vlan)#name guestS3(config-vlan)#exitS3(config)#S3(config)#int f0/2S3(config-if)#switchport mode trunkS3(config-if)#switchport trunk native vlan 99S3(config-if)#no shut%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to upS3(config-if)#end%SYS-5-CONFIG_I: Configured from console by consoleS3#conf tEnter configuration commands, one per line. End with CNTL/Z.S3(config)#int f0/6S3(config-if)#switchport port-securityCommand rejected: FastEthernet0/6 is a dynamic port.S3(config-if)#switchport port-security maximum 1S3(config-if)#switchport port-security mac-address stickyS3(config-if)#int f0/11S3(config-if)#switchport port-securityCommand rejected: FastEthernet0/11 is a dynamic port.S3(config-if)#switchport port-security maximum 1S3(config-if)#switchport port-security mac-address stickyS3(config-if)#int f0/18S3(config-if)#switchport port-securityCommand rejected: FastEthernet0/18 is a dynamic port.S3(config-if)#switchport port-security maximum 1S3(config-if)#switchport port-security mac-address stickyS3(config-if)#no shutS3(config-if)#end%SYS-5-CONFIG_I: Configured from console by consoleS3#S3#conf tEnter configuration commands, one per line. End with CNTL/Z. S3(config)#int vlan 99S3(config-if)#ip address 172.17.99.13 255.255.255.0S3(config-if)#no shutS3(config-if)#end%SYS-5-CONFIG_I: Configured from console by consoleS3#S3#conf tEnter configuration commands, one per line. End with CNTL/Z. S3(config)#int f0/6S3(config)#switchport mode accessS3(config-if)#switchport access vlan 30% Access VLAN does not exist. Creating vlan 30S3(config-if)#no shutS3(config-if)#int f0/11S3(config)#switchport mode accessS3(config-if)#switchport access vlan 10% Access VLAN does not exist. Creating vlan 10S3(config-if)#no shutS3(config-if)#int f0/18S3(config)#switchport mode accessS3(config-if)#switchport access vlan 20% Access VLAN does not exist. Creating vlan 20S3(config-if)#no shutS3(config-if)#end%SYS-5-CONFIG_I: Configured from console by consoleS3#copy run startDestination filename [startup-config]?Building configuration...[OK]S3#。

相关文档
最新文档