Home > Database > Mysql Tutorial > 思科6000系列交换机配置维护手册(2)

思科6000系列交换机配置维护手册(2)

WBOY
Release: 2016-06-07 15:00:28
Original
1065 people have browsed it

欢迎进入网络技术社区论坛,与200万技术人员互动交流 >>进入 5. 配置二层端口 5.1. 配置Trunk: Router(config)# interface fastethernet x/y (以fastethernet为例,gigabitethernet一样) Router(config-if)# shutdown Router(config-if)# switchport Route

欢迎进入网络技术社区论坛,与200万技术人员互动交流 >>进入

    5. 配置二层端口

    5.1. 配置Trunk:

    Router(config)# interface fastethernet x/y (以fastethernet为例,gigabitethernet一样)

    Router(config-if)# shutdown

    Router(config-if)# switchport

    Router(config-if)# switchport mode dynamic desirable

    Router(config-if)# switchport trunk encapsulation dot1q

    Router(config-if)# no shutdown

    Router(config-if)# end

    Router# exit

    如果要配置二台6509之间的Trunk联接,首先将二6509用千兆光纤相联好,然后分别配置二相联端口的trunk,可以是只用一双光纤,或用二对光纤做port channel,配置如下:

    一双光纤相联时,分别在二台65上进行以下的配置:

    interface GigabitEthernet1/1

    no ip address

    switchport

    switchport trunk encapsulation dot1q

    switchport trunk native vlan 1

    二对光纤做port channel,分别在二台65上进行以下的配置::

    interface port-channe1

    no ip address

    switchport

    switchport trunk encapsulation dot1q

    switchport trunk native vlan 1

    !

    interface GigabitEthernet1/1

    no ip address

    switchport

    switchport trunk encapsulation dot1q

    switchport trunk native vlan 1

    channel-group 1 mode on

    !

    interface GigabitEthernet1/2

    no ip address

    switchport

    switchport trunk encapsulation dot1q

    switchport trunk native vlan 1

    channel-group 1 mode on

    6. 配置HSRP

    在其中一台65上按下面模版进行配置

    interface Vlan x

    ip address x.x.x.x x.x.x.x

    no ip redirects

    no ip directed-broadcast

    standby 1 priority 100 preempt

    standby 1 ip y.y.y.y

    !

[1] [2] [3] [4] 

思科6000系列交换机配置维护手册(2)

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template