菜单 学习猿地 - LMONKEY

VIP

开通学习猿地VIP

尊享10项VIP特权 持续新增

知识通关挑战

打卡带练!告别无效练习

接私单赚外块

VIP优先接,累计金额超百万

学习猿地私房课免费学

大厂实战课仅对VIP开放

你的一对一导师

每月可免费咨询大牛30次

领取更多软件工程师实用特权

入驻
137
0

CCNA实验2.VLAN

原创
05/13 14:22
阅读数 36857

一.

image

二.配置主VTP上的信息

sw2上配置为domain server,sw1上配置为domain client,sw2上增加vlan并命名和添加描述

conf t

vtp domain corp

vtp mode server

vtp password xxx

 

SW-2(config)#vlan 10

SW-2(config-vlan)#?

VLAN configuration commands:

exit Apply changes, bump revision number, and exit mode

name Ascii name of the VLAN

no Negate a command or set its defaults

SW-2(config-vlan)#name HR

SW-2(config-vlan)#interface vlan 10

SW-2(config-if)#?

Interface configuration commands:

arp Set arp type (arpa, probe, snap) or timeout

description Interface specific description

exit Exit from interface configuration mode

ip Interface Internet Protocol config commands

ipv6 IPv6 interface subcommands

no Negate a command or set its defaults

shutdown Shutdown the selected interface

standby HSRP interface configuration commands

查看:

image

image

image

三.两交换机之间配置trunk

int f0/24

switchport mode trunk

 

四.交换机上端口分别加入vlan

conf t

int f0/1

switchport access vlan 10

查看vlan下的端口

show vlan id xx

image

发表评论

0/200
137 点赞
0 评论
收藏