核心交换机配置

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

核心交换机配置

%LINK-5-CHANGED: Interface FastEthernet0/24, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to up

swc(config)#

swc(config)#

swc(config)#int g0/1

swc(config-if)#swi

swc(config-if)#switchport trunk en

swc(config-if)#switchport trunk encapsulation dot1q

swc(config-if)#ssw

swc(config-if)#swi

swc(config-if)#switchport mode trunk

swc(config-if)#

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up

swc(config-if)#eixt

^

% Invalid input detected at '^' marker.

swc(config-if)#exit

swc(config)#int g0/2

swc(config-if)#swit

swc(config-if)#switchport trunk encap

swc(config-if)#switchport trunk encapsulation dot1q

swc(config-if)#switch

swc(config-if)#switchport mode trunk

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to down %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/2, changed state to up swc(config-if)#end

%SYS-5-CONFIG_I: Configured from console by console

swc#

swc#conf t

Enter configuration commands, one per line. End with CNTL/Z.

swc(config)#int f0/24

swc(config-if)#swi

swc(config-if)#switchport trunk enc

swc(config-if)#switchport trunk encapsulation do1q

^

% Invalid input detected at '^' marker.

swc(config-if)#switchport trunk encapsulation dot1q

swc(config-if)#swi

swc(config-if)#switchport mode trunk

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to down swc(config-if)#

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/24, changed state to up

swc(config-if)#exit

swc(config)#exit

swc#

%SYS-5-CONFIG_I: Configured from console by console

swc#

swc#vlan database

% Warning: It is recommended to configure VLAN from config mode,

as VLAN database mode is being deprecated. Please consult user

documentation for configuring VTP/VLAN in config mode.

swc(vlan)#vtp domain campus

Changing VTP domain name from NULL to campus

swc(vlan)#vtp server

Device mode already VTP SERVER.

swc(vlan)#exit

APPLY completed.

Exiting....

swc#

swc#show vlan brief

VLAN Name Status Ports

---- -------------------------------- --------- -------------------------------

1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4

Fa0/5, Fa0/6, Fa0/7, Fa0/8

相关文档
最新文档