>  기사  >  데이터 베이스  >  思科6000系列交换机配置维护手册(2)

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

WBOY
WBOY원래의
2016-06-07 15:00:281017검색

欢迎进入网络技术社区论坛,与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)

성명:
본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.