d link managed switches interoperating with cisco switches (1)

Upload: admvan

Post on 21-Feb-2018

250 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    1/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    1

    Interoperating with Cisco Switches

    Version: 1.00

    Published: Mar 19, 2010

    D-Link HQ

    Scope

    This guide is a one-stop resource to help users set up their network quickly and optimize the features of

    D-Link and vendors equipment smoothly. This guide focuses on the configuration of D-Link and Cisco

    switches and includes topology examples for setting up a multi-vendor environment.

    Use this document to learn, use and configure the different features of D-Link and Cisco management

    switches.

    Audience

    This document is written for system administrators, network managers and IT personnel who are

    responsible for the deployment of management switches.

    About This Guide

    This guide is structured into four parts as follows:

    Title Description

    Terminology Detailed descriptions of functions that are used to explain similar concepts on both D-

    Link & Cisco platforms.Topology Topology examples to show the interoperability of D-Link and Cisco switches.

    Configuration Step-by-step instructions on how to configure and set up the devices.

    Troubleshooting Tips Command examples on how to quickly troubleshoot and configure if interoperation

    fails.

    For more Information

    This guide is applicable to all D-Link Managed Switches (DES-3000 series and above). Please refer to D-Link

    Managed Switch User Manual or CLI Manual for more detailed explanations or parameter descriptions.

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    2/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    2

    Table of Contents

    VLAN CONFIGURATION 3

    Terminology 3Topology 3Configuration 4

    Link Aggregation 11

    Terminology 11Compatibility between D-Link Port-Trunking and Cisco Port-Channel 11Topology 12Configuration 12Troubleshooting Examples 13

    Spanning Tree Configuration 20

    Terminology 20Topology 20Configuration 20Troubleshooting Examples 21

    Multiple Spanning Tree Configuration 25

    Terminology 25

    Compatibility between MSTOP and PVST 25Topology 25Configuration 26Troubleshooting Examples 27

    Open Shortest Path Fast OSPF) Configuration 33

    Terminology 33Topology Single OSPF Area 33Configuration 33Troubleshooting Examples 36Topology Single OSPF Area 41Configuration 41Troubleshooting Examples 44

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    3/47

    Interoperating with Cisco Switches

    VLAN CONFIGURATION

    This chapter introduces port-based VLANs that D-Link and Cisco switches support.

    Terminology

    Cisco D-Link Description

    Trunking Port Tagged Port This port carries multiple 802.1Q tagged VLANs that are usually used for uplinkand IP phone ports

    Access Port Untagged Port A port which is an untagged member of a VLAN.

    Native VLAN Untagged

    Membership of

    Physical Ports

    In Cisco LAN switch environments the native VLAN is typically untagged on

    VLAN trunk ports. Native VLAN is not associated to any tag on an 802.1Q link

    and is used for all the untagged traffic received on an 802.1Q port.

    By default, all VLAN membership of D-Link switches and access VLAN in Cisco

    switches is VLAN 1.

    Topology

    Figure-1 Port-based VLAN Configuration

    __________________________________________________________________________________________________

    3

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    4/47

    Interoperating with Cisco Switches

    Configuration

    VLAN Configuration on a Cisco Switch

    The following section lists step-by-step instructions for configuring VLAN and IP on D-Link and Cisco

    management switches.

    Command Example Purpose

    Step 1

    Cat al yst# conf i g ter mi nal

    Cat al yst( conf i g) # vl an 10, 20, 30

    Cat al yst ( conf i g- vl an) # exi t

    To create VLAN

    interfaces for ports 10,

    20 and 30.

    Step 2

    Cat al yst ( conf i g) # i nt er f ace range gi gabi t Et her net 1/ 0/ 1- 6

    Cat al yst( conf i g- i f ) # swi t chpor t mode access

    Cat al yst ( conf i g- i f ) # swi t chpor t access vl an 10

    Cat al yst( conf i g- i f ) # exi t

    Cat al yst( conf i g) # i nt er f ace r ange gi gabi t Et her net 1/ 0/ 7- 12

    Cat al yst( conf i g- i f ) # swi t chpor t mode access

    Cat al yst ( conf i g- i f ) # swi t chpor t access vl an 20

    Cat al yst( conf i g- i f ) # exi t

    Cat al yst( conf i g) # i nt er f ace r ange gi gabi t Et her net 1/ 0/ 13- 18

    Cat al yst( conf i g- i f ) # swi t chpor t mode access

    Cat al yst ( conf i g- i f ) # swi t chpor t access vl an 30

    Cat al yst( conf i g- i f ) # exi t

    To change ports to

    access mode and

    assign membership for

    each VLAN.

    Step 3

    Cat al yst ( conf i g) # i nt er f ace gi gabi t Et her net 1/ 0/ 21

    Cat al yst ( conf i g- i f ) # swi t chpor t t r unk encapsul at i on dot 1q

    Cat al yst ( conf i g- i f ) # swi t chpor t t r unk al l owed vl an

    1, 10, 20, 30

    Cat al yst( conf i g- i f ) # swi t chpor t mode t r unkCat al yst( conf i g- i f ) # exi t

    To create a VLAN

    trunking port.

    Note:By default a Cisco VLAN trunk sends to and receives traffic from all VLANs. To restrict the traffic a VLAN

    trunk carries, remove VLAN-list parameter to remove specific VLANs from the allowed list.

    Note:By default, all ports of a Cisco switch belong to VLAN 1, access mode.

    IP Configuration on a Cisco Switch

    The following configuration example is for L3 switches. For layer 3 switches, an IP address has to be defined

    for each VLAN and for a layer 2 switch, an IP address can only be configured on one VLAN for management

    purposes.

    Command Example Purpose

    Step 1

    Cat al yst ( conf i g) # i nt er f ace vl an 1

    Cat al yst ( conf i g- vl an) # i p addr ess 192. 168. 0. 1 255. 255. 255. 0

    Cat al yst ( conf i g- vl an) # no shut down

    To configure the IP

    addresses for the

    __________________________________________________________________________________________________

    4

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    5/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    5

    Cat al yst ( conf i g- vl an) # exi t

    Cat al yst ( conf i g) # i nt er f ace vl an 10

    Cat al yst ( conf i g- vl an) # i p addr ess 192. 168. 10. 1 255. 255. 255. 0

    Cat al yst ( conf i g- vl an) # no shut down

    Cat al yst ( conf i g- vl an) # exi t

    Cat al yst ( conf i g) # i nt er f ace vl an 20

    Cat al yst ( conf i g- vl an) # i p addr ess 192. 168. 20. 1 255. 255. 255. 0

    Cat al yst ( conf i g- vl an) # no shut down

    Cat al yst ( conf i g- vl an) # exi t

    Cat al yst ( conf i g) # i nt er f ace vl an 30

    Cat al yst ( conf i g- vl an) # i p addr ess 192. 168. 30. 1 255. 255. 255. 0

    Cat al yst ( conf i g- vl an) # no shut down

    Cat al yst ( conf i g- vl an) # exi t

    VLAN interfaces.

    VLAN Configuration on a D-Link Switch

    In this example, ports 1 to 18 are removed from VLAN 1 (default VLAN) and are assigned to three different

    VLANs. Here are the details:

    - Ports 1 to 6 are assigned to VLAN 10.

    - Ports 7 to 12 are assigned to VLAN 20.

    - Ports 13 to 18 are assigned to VLAN 30.

    - Port 21 (uplink) is tagged with VLAN 10, 20, 30 and belongs to an untagged member of VLAN 1.

    Command Example Purpose

    Step 1

    swi t ch# cr eat e vl an 10 t ag 10

    swi t ch# cr eat e vl an 20 t ag 20

    swi t ch# cr eat e vl an 30 t ag 30

    swi t ch# conf i g vl an def aul t del et e 1- 18

    swi t ch# conf i g vl an 10 add untagged 1- 6

    swi t ch# conf i g vl an 20 add untagged 7- 12

    swi t ch# conf i g vl an 30 add untagged 13- 18

    swi t ch# conf i g vl an 10 add t agged 21

    swi t ch# conf i g vl an 20 add t agged 21

    swi t ch# conf i g vl an 30 add t agged 21

    To create VLAN

    interfaces for ports 10,

    20, 30 and assign port

    membership.

    IP Configuration on a D-Link Switch

    The following configuration example is for L3 switches.

    Layer 3 switches require an IP address for each VLAN; Layer 2 switches only require a system IP address.

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    6/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    6

    Command Example Purpose

    Step 1

    swi t ch# conf i g i pi f System i paddr ess 192. 168. 0. 2/ 24

    swi t ch# cr eat e i pi f 10 192. 168. 10. 2/ 24 10

    swi t ch# cr eat e i pi f 20 192. 168. 20. 2/ 24 20

    swi t ch# cr eat e i pi f 30 192. 168. 30. 2/ 24 30

    To configure the IP

    addresses for the

    VLAN interfaces.

    Troubleshooting Examples

    The following section lists command examples for verifying VLANs and port assignments on D-Link and

    Cisco switches.

    Verifying VLANs and Ports Assignments on a Cisco Switch

    The following example shows you how to verify the member ports and all the VLAN interfaces.

    Command Example

    Catal yst # show vlan

    VLAN Name St at us Por t s- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    1 def aul t act i ve Gi1/0/19, Gi1/0/20, Gi1/0/21, Gi1/0/22, Gi1/0/23,

    Gi1/0/24

    10 VLAN0010 act i ve Gi1/0/1, Gi1/0/2, Gi1/0/3, Gi1/0/4, Gi1/0/5,

    Gi1/0/6

    20 VLAN0020 act i ve Gi1/0/7, Gi1/0/8, Gi1/0/9, Gi1/0/10, Gi1/0/11,

    Gi1/0/12

    30 VLAN0030 act i ve Gi1/0/13, Gi1/0/14, Gi1/0/15, Gi1/0/16, Gi1/0/17,

    Gi1/0/18

    The following example shows you how to set a trunking port.

    Command Example

    Catal yst # show interfaces gigabitEthernet 1/0/21 switchport

    Name: Gi 1/ 0/ 19

    Swi t chpor t : Enabl ed

    Admi ni st r at i ve Mode: trunk

    Operat i onal Mode: t r unk

    Admi ni st r at i ve Trunki ng Encapsul at i on: dot1q

    Oper at i onal Trunki ng Encapsul at i on: dot1q

    Negot i at i on of Trunki ng: On

    Access Mode VLAN: 1 ( def aul t )

    Tr unki ng Nat i ve Mode VLAN: 1 ( def aul t )

    Admi ni st r at i ve Nat i ve VLAN t aggi ng: enabl edVoi ce VLAN: none

    Admi ni st r at i ve pr i vat e- vl an host - associ at i on: none

    Admi ni st r at i ve pr i vat e- vl an mappi ng: none

    Admi ni st r at i ve pr i vat e- vl an t r unk nat i ve VLAN: none

    Admi ni st r at i ve pr i vat e- vl an t r unk Nat i ve VLAN t aggi ng: enabled

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    7/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    7

    Admi ni st r at i ve pr i vat e- vl an t r unk encapsul at i on: dot 1q

    Admi ni st r at i ve pr i vat e- vl an t r unk normal VLANs: none

    Admi ni st r at i ve pr i vat e- vl an t r unk associ at i ons: none

    Admi ni st r at i ve pr i vat e- vl an t r unk mappi ngs: none

    Oper at i onal pr i vat e- vl an: none

    Tr unki ng VLANs Enabl ed: 1,10,20,30

    Pr uni ng VLANs Enabl ed: 2- 1001

    Capt ure Mode Di sabl ed

    Capt ure VLANs Al l owed: ALL

    Pr ot ected: f al se

    Unknown uni cast bl ocked: di sabl ed

    Unknown mul t i cast bl ocked: di sabl ed

    Appl i ance tr ust : none

    The following example shows you how to set the access ports.

    Command Example

    Catal yst # show interfaces gigabitEthernet 1/0/1 switchport

    Name: Gi 1/ 0/ 1

    Swi t chport : Enabl ed

    Admi ni st r at i ve Mode: static access

    Oper at i onal Mode: down

    Admi ni st r at i ve Tr unki ng Encapsul at i on: negoti at e

    Negot i at i on of Tr unki ng: Of f

    Access Mode VLAN: 10 ( VLAN0010)

    Tr unki ng Nat i ve Mode VLAN: 1 ( def aul t )

    Admi ni st r at i ve Nat i ve VLAN t aggi ng: enabl ed

    Voi ce VLAN: none

    Admi ni st r at i ve pr i vat e- vl an host - associ at i on: noneAdmi ni st r at i ve pr i vat e- vl an mappi ng: none

    Admi ni st r at i ve pr i vat e- vl an t r unk nat i ve VLAN: none

    Admi ni st r at i ve pr i vat e- vl an t r unk Nat i ve VLAN t aggi ng: enabl ed

    Admi ni st r at i ve pr i vat e- vl an t r unk encapsul at i on: dot 1q

    Admi ni st r at i ve pr i vat e- vl an t r unk normal VLANs: none

    Admi ni st r at i ve pr i vat e- vl an t r unk associ at i ons: none

    Admi ni st r at i ve pr i vat e- vl an t r unk mappi ngs: none

    Oper at i onal pr i vat e- vl an: none

    Tr unki ng VLANs Enabl ed: ALL

    Pruni ng VLANs Enabl ed: 2- 1001

    Capt ure Mode Di sabl ed

    Capt ure VLANs Al l owed: ALL

    Pr ot ected: f al se

    Unknown uni cast bl ocked: di sabl ed

    Unknown mul t i cast bl ocked: di sabl ed

    Appl i ance t r ust : none

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    8/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    8

    The following example shows you how to verify the IP address of each VLAN interface.

    Command Example

    Catal yst # show ip interface brief

    I nt erf ace I P- Addr ess OK? Met hod St at us Prot ocol

    Vl an1 192.168.0.1 YES manual up upVl an10 192.168.10.1 YES manual up up

    Vl an20 192.168.20.1 YES manual up up

    Vl an30 192.168.30.1 YES manual up up

    Verifying VLANs and Port Assignments on D-Link Switches

    The following example shows you how to verify all the VLAN interfaces and member ports.

    Command Example

    swi t ch# show vlanCommand: show vl an

    VI D : 1 VLAN Name : def aul t

    VLAN Type : St at i c Adver t i sement : Enabl ed

    Member Por t s : 19-24

    St at i c Por t s : 19- 24

    Cur r ent Tagged Por t s :

    Cur r ent Unt agged Por t s : 19- 24

    St at i c Tagged Por t s :

    St at i c Unt agged Port s : 19-24

    For bi dden Por t s :

    St at us : Act i ve

    VI D : 10 VLAN Name : 10

    VLAN Type : St at i c Adver t i sement : Di sabl ed

    Member Por t s : 1-6,21

    St at i c Por t s : 1- 6, 21

    Cur r ent Tagged Por t s : 21

    Cur r ent Unt agged Por t s : 1-6

    St at i c Tagged Por t s : 21

    St at i c Unt agged Port s : 1- 6

    For bi dden Por t s :

    St at us : Act i ve

    VI D : 20 VLAN Name : 20

    VLAN Type : St at i c Adver t i sement :

    Di sabl ed

    Member Por t s : 7-12,21

    St at i c Por t s : 7- 12, 21

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    9/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    9

    Cur r ent Tagged Por t s : 21

    Cur r ent Unt agged Por t s : 7-12

    St at i c Tagged Por t s : 21

    St at i c Unt agged Por t s : 7- 12

    For bi dden Por t s :

    St at us : Act i ve

    VI D : 30 VLAN Name: 30

    VLAN Type : St at i c Adver t i sement : Di sabl ed

    Member Por t s : 13-18,21

    St at i c Por t s : 13- 18, 21

    Cur r ent Tagged Por t s : 21

    Cur r ent Unt agged Por t s : 13-18

    St at i c Tagged Por t s : 21

    St at i c Unt agged Por t s : 13- 18

    For bi dden Por t s :

    St at us : Act i ve

    Tot al Entr i es: 4

    The following example shows you how to verify the IP address of each VLAN interface.

    Command Example

    swi t ch# show ipif

    Command: show i pi f

    I P I nt er f ace : 10

    VLAN Name : 10

    I nt er f ace Admi n st at e : Enabl ed

    DHCPv6 Cl i ent State : Di sabl edI Pv4 Addr ess : 192.168.10.2/24 ( Manual ) Pr i mary

    Proxy ARP : Di sabl ed ( Local : Di sabl ed)

    I P Di r ect ed Br oadcast : Di sabl ed

    I P MTU : 1500

    I P I nt er f ace : 20

    VLAN Name : 20

    I nt er f ace Admi n st at e : Enabl ed

    DHCPv6 Cl i ent State : Di sabl ed

    I Pv4 Addr ess : 192.168.20.2/24 ( Manual ) Pr i mary

    Proxy ARP : Di sabl ed ( Local : Di sabl ed)

    I P Di r ect ed Br oadcast : Di sabl edI P MTU : 1500

    I P I nt er f ace : 30

    VLAN Name : 30

    I nt er f ace Admi n st at e : Enabl ed

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    10/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    10

    DHCPv6 Cl i ent State : Di sabl ed

    I Pv4 Addr ess : 192.168.30.2/24 ( Manual ) Pr i mary

    Proxy ARP : Di sabl ed ( Local : Di sabl ed)

    I P Di r ect ed Br oadcast : Di sabl ed

    I P MTU : 1500

    I P I nt er f ace : Syst em

    VLAN Name : def aul t

    I nt er f ace Admi n st at e : Enabl ed

    DHCPv6 Cl i ent State : Di sabl ed

    I Pv4 Addr ess : 192.168.0.2/24 ( Manual ) Pr i mary

    Proxy ARP : Di sabl ed ( Local : Di sabl ed)

    I P Di r ect ed Br oadcast : Di sabl ed

    I P MTU : 1500

    Tot al Ent r i es: 4

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    11/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    11

    Link Aggregation

    This chapter introduces Link Aggregation Control Protocol (LACP) function that both D-Link and Cisco

    switches support.

    Terminology

    Cisco D-Link Description

    Channel-group ID Group ID ID of a port aggregation group.

    Port-channel Link Aggregation Group A logical port aggregation group.

    Link Aggregation Group

    Cisco defines the Aggregation group as Port-channel and is configured as the Interface Port-channel x.

    The default Port-channel mode is static trunk, and the LACP mode for a dynamic trunk. On the other hand,

    D-Link calls it Link Aggregation Groupand is configured as type static for a static trunk or type LACP for a

    dynamic trunk.

    Static and Dynamic Trunks/Channels

    In between two switches, a Static Trunkbecomes an active trunk unconditionally and independently of the

    other switchs configuration. A static trunk does not require any protocols.

    ADynamic Trunkis active only when it is enabled in both D-Link and Cisco switches. To do so, the switches

    exchange messages, either through Port Aggregation Protocol (PAgP) or Link Aggregation Control Protocol

    (LACP), to negotiate their status. If either of the switches is active (LACP) or desirable (PAgP), then the

    switch initiates negotiation. If the switch is passive (LACP) or auto (PAgP) then it forms a link aggregation

    automatically.

    LACP

    LACP is the Link Aggregation Control Protocol defined by the IEEE 802.3ad standard. It provides a way for

    both switches to negotiate a port aggregation. With LACP, one or more additional links can operate as

    standby links that will activate only if an active link goes down.

    When connecting two switches with LACP, one of the switches must be in active role to send LACP frames

    and the other should be set passive.

    Compatibility between D-Link Port-Trunking and Cisco Port-Channel

    The following table summarizes the options that can be combined to create a trunk on both D-Link and

    Cisco switches.

    Cisco

    D-Link

    Mode On

    Mode

    Passive

    Mode Active

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    12/47

    Interoperating with Cisco Switches

    Static

    LACP-Passive

    LACP- Active

    Note:All ports in a trunk group must be configured at the same speed and VLAN.

    Topology

    Figure-2 Link Aggregation and VLAN Configuration

    Configuration

    Static Trunk Configuration on a Cisco Switch

    Command Example Purpose

    Step 1

    Cat al yst# conf i g t er mi nal

    Cat al yst ( conf i g) # i nt er f ace r ange gi gabi t Et her net 1/ 0/ 19- 22

    Cat al yst ( conf i g- i f ) # channel - gr oup 1 mode on

    To create a channel

    group 1 with static

    mode.

    Static Trunk Configuration on a D-Link Switch

    Command Example Purpose

    __________________________________________________________________________________________________

    12

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    13/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    13

    Step 1

    swi t ch# cr eat e l i nk_aggr egat i on gr oup_i d 1 t ype st at i c

    swi t ch# conf i g l i nk_aggr egat i on gr oup_i d 1 port s 19- 22 st at e

    enabl e

    To create a trunk

    group 1 with static

    mode.

    Troubleshooting Examples

    Verifying the Static Channel Status on a Cisco Switch

    The following example shows you how to correctly set the port mode and verify the channel group ports.

    Command Example

    Catal yst # show etherchannel 1 summary

    Fl ags: D - down P - bundl ed i n port - channel

    I - st and- al one s - suspended

    H - Hot - st andby ( LACP onl y)

    R - Layer3 S - Layer2

    U - i n use f - f ai l ed t o al l ocat e aggr egat or

    M - not i n use, mi ni mum l i nks not met

    u - unsui t abl e f or bundl i ng

    w - wai t i ng t o be aggregated

    d - def aul t por t

    Number of channel - groups i n use: 1

    Number of aggregator s: 1

    Gr oup Por t - channel Pr otocol Por t s

    - - - - - - +- - - - - - - - - - - - - +- - - - - - - - - - - +- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    1 Po1(SU) - Gi1/0/19(P) Gi1/0/20(P) Gi1/0/21(P)

    Gi1/0/22(P)

    Catal yst #show etherchannel 1 detai l

    Gr oup st at e = L2

    Por t s: 4 Maxpor t s = 8

    Por t - channel s: 1 Max Por t - channel s = 1

    Protocol : -

    Mi ni mum Li nks: 0

    Por t s i n the gr oup:

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

    Por t : Gi 1/ 0/ 19

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

    Por t st at e = Up Mst r I n- Bndl

    Channel gr oup = 1 Mode = On Gcchange = -

    Por t - channel = Po1 GC = - Pseudo por t - channel = Po1

    Por t i ndex = 0 Load = 0x00 Pr ot ocol = -

    Age of t he por t i n the cur r ent st ate: 0d: 00h: 04m: 13s

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    14/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    14

    Por t : Gi 1/ 0/ 20

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

    Por t st at e = Up Mst r I n- Bndl

    Channel gr oup = 1 Mode = On Gcchange = -

    Por t - channel = Po1 GC = - Pseudo por t - channel = Po1

    Por t i ndex = 0 Load = 0x00 Pr ot ocol = -

    Age of t he por t i n the cur r ent st ate: 0d: 00h: 04m: 12s

    Por t : Gi 1/ 0/ 21

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

    Por t st at e = Up Mst r I n- Bndl

    Channel gr oup = 1 Mode = On Gcchange = -

    Por t - channel = Po1 GC = - Pseudo por t - channel = Po1

    Por t i ndex = 0 Load = 0x00 Pr ot ocol = -

    Age of t he por t i n the cur r ent st ate: 0d: 00h: 04m: 14s

    Por t : Gi 1/ 0/ 22

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

    Por t st at e = Up Mst r I n- Bndl

    Channel gr oup = 1 Mode = On Gcchange = -

    Por t - channel = Po1 GC = - Pseudo por t - channel = Po1

    Por t i ndex = 0 Load = 0x00 Pr ot ocol = -

    Age of t he por t i n the cur r ent st ate: 0d: 00h: 04m: 13s

    Por t - channel s i n t he gr oup:- - - - - - - - - - - - - - - - - - - - - - - - - - -

    Por t - channel : Po1

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

    Age of t he Por t - channel = 0d: 00h: 04m: 17s

    Logi cal sl ot / por t = 10/ 1 Number of por t s = 4

    GC = 0x00000000 Hot St andBy por t = nul l

    Por t st at e = Por t - channel Ag- I nuse

    Pr ot ocol = -

    Por t secur i t y = Di sabl ed

    Por t s i n t he Por t - channel :

    I ndex Load Por t EC st at e No of bi t s

    - - - - - - +- - - - - - +- - - - - - +- - - - - - - - - - - - - - - - - - +- - - - - - - - - - -

    0 00 Gi 1/ 0/ 19 On 0

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    15/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    15

    0 00 Gi 1/ 0/ 20 On 0

    0 00 Gi 1/ 0/ 21 On 0

    0 00 Gi 1/ 0/ 22 On 0

    Ti me si nce l ast por t bundl ed: 0d: 00h: 04m: 14s Gi 1/ 0/ 22

    Verifying the Static Trunk Status on a D-Link Switch

    The following example shows you how to correctly set the port mode and verify the channel group ports.

    Command Example

    swi t ch# show link_aggregation

    Command: show l i nk_aggr egat i on

    Li nk Aggr egat i on Al gor i t hm = I P- Sour ce

    Gr oup I D : 1

    Type : TRUNK

    Mast er Por t : 19

    Member Por t : 19- 22

    Act i ve Por t : 19- 22

    St at us : Enabl ed

    Fl oodi ng Por t : 19

    LACP Configuration on a Cisco Switch

    The following example shows you how to create a channel group, when a switch plays an active role in a

    LACP trunk.

    Command Example Purpose

    Step 1

    Cat al yst# conf i g ter mi nal

    Cat al yst ( conf i g) # i nt er f ace r ange gi gabi t Et her net 1/ 0/ 19- 22

    Catal yst ( conf i g- i f ) # channel - gr oup 1 mode act i ve

    To create a channel

    group 1 with LACP-

    active mode.

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    16/47

    Interoperating with Cisco Switches

    The following example shows you how to create a channel group, when a switch plays a passive role in a

    LACP trunk.

    Command Example Purpose

    Step 1

    Cat al yst# conf i g ter mi nal

    Cat al yst ( conf i g) # i nt er f ace r ange gi gabi t Et her net 1/ 0/ 19- 22

    Catal yst ( conf i g- i f ) # channel - gr oup 1 mode passi ve

    To create a channel

    group 1 with LACP-

    passive mode.

    LACP Configuration on a D-Link Switch

    The following example shows you how to create a trunk group, when a switch plays an active role in a LACP

    trunk.

    Command Example Purpose

    Step 1

    swi t ch# cr eat e l i nk_aggr egat i on gr oup_i d 1 t ype l acp

    swi t ch# conf i g l i nk_aggr egat i on gr oup_i d 1 master _por t 19

    por t s 19- 22 stat e enabl e

    swi t ch# conf i g l acp_port 19- 22 mode act i ve

    To create a trunk

    group 1 with LACP-

    active mode.

    The following example shows you how to create a trunk group, when a switch plays a passive role in a LACP

    trunk.

    Command Example Purpose

    Step 1

    swi t ch# cr eat e l i nk_aggr egat i on gr oup_i d 1 t ype l acp

    swi t ch# conf i g l i nk_aggr egat i on gr oup_i d 1 mast er_ por t 19

    port s 19- 22 st at e enabl e

    swi t ch# conf i g l acp_por t 19- 22 mode passi ve

    To create a trunk

    group 1 with LACP-

    passive mode.

    Note:By default, the LACP port mode is set passive in D-Link switches.

    Verifying the LACP Configuration on a Cisco Switch

    The following example shows you how to correctly set the port mode and verify the channel group ports.

    Command Example

    Catal yst # show interfaces etherchannel

    - - - -

    Gi gabi t Et her net 1/ 0/ 19:Por t st at e = Up Sngl - por t - Bndl Mst r Not - i n- Bndl

    Channel gr oup = 1 Mode =Active Gcchange = -

    Por t - channel = nul l GC = - Pseudo por t - channel = Po1

    Por t i ndex = 0 Load = 0x00 Pr ot ocol = LACP

    __________________________________________________________________________________________________

    16

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    17/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    17

    Fl ags: S - Devi ce i s sendi ng Sl ow LACPDUs F - Devi ce i s sendi ng f ast LACPDUs.

    A - Devi ce i s i n act i ve mode. P - Devi ce i s i n passi ve mode.

    Local i nf or mat i on:

    LACP por t Admi n Oper Port Por t

    Por t Fl ags St at e Pri or i t y Key Key Number St at e

    Gi 1/ 0/ 19 SA i ndep 32768 0x1 0x1 0x13 0x7D

    Age of t he por t i n t he cur r ent st at e: 0d: 00h: 00m: 51s

    - - - -

    Gi gabi t Et her net 1/ 0/ 20:

    Por t st at e = Up Sngl - por t - Bndl Mst r Not - i n- Bndl

    Channel gr oup = 1 Mode =Active Gcchange = -

    Por t - channel = nul l GC = - Pseudo por t - channel = Po1

    Por t i ndex = 0 Load = 0x00 Pr ot ocol = LACP

    Fl ags: S - Devi ce i s sendi ng Sl ow LACPDUs F - Devi ce i s sendi ng f ast LACPDUs.

    A - Devi ce i s i n act i ve mode. P - Devi ce i s i n passi ve mode.

    Local i nf or mat i on:

    LACP por t Admi n Oper Port Por t

    Por t Fl ags St at e Pri or i t y Key Key Number St at e

    Gi 1/ 0/ 20 SA i ndep 32768 0x1 0x1 0x14 0x7D

    Age of t he por t i n t he cur r ent st at e: 0d: 00h: 00m: 51s

    - - - -

    Gi gabi t Et her net 1/ 0/ 21:

    Por t st at e = Up Sngl - por t - Bndl Mst r Not - i n- Bndl

    Channel gr oup = 1 Mode =Active Gcchange = -

    Por t - channel = nul l GC = - Pseudo por t - channel = Po1Por t i ndex = 0 Load = 0x00 Pr ot ocol = LACP

    Fl ags: S - Devi ce i s sendi ng Sl ow LACPDUs F - Devi ce i s sendi ng f ast LACPDUs.

    A - Devi ce i s i n act i ve mode. P - Devi ce i s i n passi ve mode.

    Local i nf or mat i on:

    LACP por t Admi n Oper Port Por t

    Por t Fl ags St at e Pri or i t y Key Key Number St at e

    Gi 1/ 0/ 21 SA i ndep 32768 0x1 0x1 0x15 0x7D

    Age of t he por t i n t he cur r ent st at e: 0d: 00h: 00m: 55s

    - - - -

    Gi gabi t Et her net 1/ 0/ 22:

    Por t st at e = Up Sngl - por t - Bndl Mst r Not - i n- Bndl

    Channel gr oup = 1 Mode =Active Gcchange = -

    Por t - channel = nul l GC = - Pseudo por t - channel = Po1

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    18/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    18

    Por t i ndex = 0 Load = 0x00 Pr ot ocol = LACP

    Fl ags: S - Devi ce i s sendi ng Sl ow LACPDUs F - Devi ce i s sendi ng f ast LACPDUs.

    A - Devi ce i s i n act i ve mode. P - Devi ce i s i n passi ve mode.

    Local i nf or mat i on:

    LACP por t Admi n Oper Port Por t

    Por t Fl ags St at e Pri or i t y Key Key Number St at e

    Gi 1/ 0/ 22 SA i ndep 32768 0x1 0x1 0x16 0x7D

    Age of t he por t i n t he cur r ent st at e: 0d: 00h: 00m: 55s

    - - - -

    Por t - channel 1: Por t - channel 1 ( Pri mar y aggr egat or )

    Age of t he Port - channel = 0d: 01h: 42m: 42s

    Logi cal sl ot / por t = 10/ 1 Number of por t s = 0

    HotStandBy por t = nul l

    Por t st ate = Por t - channel Ag- Not - I nuse

    Prot ocol = LACPPor t secur i t y = Di sabl ed

    Ti me si nce l ast por t bundl ed: 0d: 01h: 42m: 38s Gi 1/ 0/ 22

    Ti me si nce l ast por t Un- bundl ed: 0d: 00h: 01m: 19s Gi 1/ 0/ 22

    Verifying the LACP Configuration on a D-Link Switch

    The following example shows you how to correctly set the ports of a trunk group.

    Command Example

    swi t ch# show link_aggregation

    Command: show l i nk_aggr egat i on

    Li nk Aggr egat i on Al gor i t hm = I P- Sour ce

    Gr oup I D : 1

    Type : LACP

    Mast er Por t : 19

    Member Por t : 19- 22

    Act i ve Port : 19- 22

    St at us : Enabl ed

    Fl oodi ng Por t : 21

    Tot al Ent r i es : 1

    The following example shows you how to correctly set the port mode.

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    19/47

    Interoperating with Cisco Switches

    Command Example

    swi t ch# show lacp

    Command: show l acp_por t

    Port Act i vi t y

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

    1 Passi ve2 Passi ve

    3 Passi ve

    19 Passive

    20 Passive

    21 Passive

    22 Passive

    __________________________________________________________________________________________________

    19

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    20/47

    Interoperating with Cisco Switches

    Spanning Tree Configuration

    Terminology

    Cisco D-Link Description

    Port Fast Edge Port Bypassing the listening and learning stages, this port changes its state from blocking

    to forwarding directly to speed up Spanning tree protocol(STP) convergence.

    Note:Since STP/Rapid STP (RSTP) function can only run in a single VLAN, all connections on Per-VLAN Spanning

    Tree (PVST) should be located in the same VLAN.

    Topology

    Figure-3

    Spanning Tree Configuration

    Configuration

    Rapid-PVST Configuration on a Cisco Switch

    Command Example Purpose

    Step 1

    Cat al yst# conf i g ter mi nal

    Cat al yst ( conf i g) # spanni ng- t r ee mode r api d- pvst

    To enable STP and

    choose rapid-PVST

    mode.

    Step 2

    Cat al yst( conf i g) # spanni ng- t r ee vl an 1 pr i ori t y 4096 To change priority to4096.

    RSTP Configuration on a D-Link Switch

    __________________________________________________________________________________________________

    20

    http://en.wikipedia.org/wiki/Spanning_tree_protocolhttp://en.wikipedia.org/wiki/Spanning_tree_protocol
  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    21/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    21

    Command Example Purpose

    Step 1

    swi t ch: admi n# enabl e st p

    swi t ch: admi n# conf i g st p ver si on r st p

    To enable and then

    choose RSTP.

    Step 2

    swi t ch: admi n# conf i g st p por t s 1- 22 edge t r ue

    swi t ch: admi n# conf i g st p por t s 23- 24 p2p t r ue

    Assume ports 1-22 are

    connected to PCs or

    an end terminal

    device. These ports

    should be set as edge

    ports. The ports 23-24

    which are connected

    to the switch should

    be set as P2P ports.

    Troubleshooting Examples

    Verifying RSTP Mode and Ports Status on a Cisco Switch

    The following example shows you how to verify the STP protocol version, STP priority and port.

    Command Example

    Cat al yst # show span vl an 1

    VLAN0001

    Spanni ng t r ee enabl ed pr otocol r st p

    Root I D Pr i or i t y 4097

    Addr ess 0021. 56b0. 5c00

    Thi s br i dge i s t he r oot

    Hel l o Ti me 2 sec Max Age 20 sec For war d Del ay 15 sec

    Br i dge I D Pr i or i t y 4097 ( pr i or i t y 4096 sys- i d- ext 1)

    Addr ess 0021. 56b0. 5c00

    Hel l o Ti me 2 sec Max Age 20 sec For war d Del ay 15 sec

    Agi ng Ti me 300

    I nt er f ace Rol e St s Cost Pr i o. Nbr Type

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

    Gi 1/ 0/ 23 Desg FWD 4 128. 23 P2p

    Gi 1/ 0/ 24 Desg FWD 4 128. 24 P2p

    The following example shows you how to check STP detail information.

    Command Example

    Catal yst # show spanning-tree detail

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    22/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    22

    VLAN0001 i s execut i ng the r st p compat i bl e Spanni ng Tr ee pr ot ocol

    Br i dge I dent i f i er has pr i or i t y 4096, sysi d 1, addr ess 0021. 56b0. 5c00

    Conf i gur ed hel l o t i me 2, max age 20, f orward del ay 15, t r ansmi t hol d- count 6

    We ar e the root of t he spanni ng t r ee

    Topol ogy change f l ag not set , detect ed f l ag not set

    Number of t opol ogy changes 4 l ast change occurr ed 00: 25: 48 ago

    f r om Gi gabi t Et her net 1/ 0/ 23

    Ti mes: hol d 1, t opol ogy change 35, not i f i cat i on 2

    hel l o 2, max age 20, f orward del ay 15

    Ti mer s: hel l o 0, t opol ogy change 0, not i f i cat i on 0, agi ng 300

    Por t 23 (Gi gabi t Et her net 1/ 0/ 23) of VLAN0001 i s desi gnat ed f orwar di ng

    Por t pat h cost 4, Por t pr i or i t y 128, Por t I dent i f i er 128. 23.

    Desi gnated r oot has pr i or i t y 4097, addr ess 0021. 56b0. 5c00

    Desi gnated br i dge has pr i or i t y 4097, addr ess 0021. 56b0. 5c00

    Desi gnat ed port i d i s 128. 23, desi gnat ed pat h cost 0

    Ti mer s: message age 0, f or war d del ay 0, hol d 0

    Number of t r ansi t i ons t o f or war di ng st at e: 2

    Li nk type i s poi nt - t o- poi nt by def aul t

    BPDU: sent 839, r ecei ved 22

    Por t 24 (Gi gabi t Et her net 1/ 0/ 24) of VLAN0001 i s desi gnat ed f orwar di ng

    Por t pat h cost 4, Por t pr i or i t y 128, Por t I dent i f i er 128. 24.

    Desi gnated r oot has pr i or i t y 4097, addr ess 0021. 56b0. 5c00

    Desi gnated br i dge has pr i or i t y 4097, addr ess 0021. 56b0. 5c00

    Desi gnat ed port i d i s 128. 24, desi gnat ed pat h cost 0

    Ti mer s: message age 0, f or war d del ay 0, hol d 0

    Number of t r ansi t i ons t o f or war di ng st at e: 1

    Li nk type i s poi nt - t o- poi nt by def aul t

    BPDU: sent 779, r ecei ved 65

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    23/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    23

    Verifying the RSTP Mode and Ports Status on a D-Link Switch

    The following example shows you how to verify if the spanning mode is RSTP and STP is enabled.

    Command Example

    swi t ch: admi n# show st p

    Command: show st p

    STP Br i dge Gl obal Set t i ngs

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

    STP St atus : Enabl ed

    STP Versi on : RSTP

    Max Age : 20

    Hel l o Ti me : 2

    Forward Del ay : 15

    Max Hops : 2

    TX Hol d Count : 6

    Forwardi ng BPDU : Di sabl ed

    Loopback Detect i on : Enabl ed

    LBD Recover Ti me : 60NNI BPDU Addr ess : dot 1ad

    The following example shows you how to verify the Root Bridge.

    Command Example

    swi t ch: admi n# show st p i nst ance 0

    Command: show st p i nst ance 0

    STP I nst ance Set t i ngs

    - - - - - - - - - - - - - - - - - - - - - - - - - - -I nst ance Type : CI ST

    I nst ance St at us : Enabl ed

    I nst ance Pr i or i t y : 32768( Br i dge Pr i or i t y : 32768, SYS I D Ext : 0 )

    STP I nst ance Operat i onal St at us

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

    Designated Root Bridge : 4097 /00-21-56-B0-5C-00

    Ext ernal Root Cost : 20000

    Regional Root Bridge : 32768/00-19-5B-12-43-00

    I nt er nal Root Cost : 0

    Desi gnat ed Br i dge : 4097 / 00- 21- 56- B0- 5C- 00

    Root Por t : 23

    Max Age : 20

    Forward Del ay : 15

    Last Topol ogy Change : 978

    Topol ogy Changes Count : 5

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    24/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    24

    The following example shows you how to verify the role of the interface.

    Command Example

    swi t ch: admi n# show st p por t s 23

    Command: show st p por t s 23

    MSTP Por t I nf ormat i on

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

    Por t I ndex : 23 , Hel l o Ti me: 2 / 2 , Por t STP : Enabl ed , LBD : No

    Ext er nal Pat hCost : Aut o/ 20000 , Edge Por t : Fal se/ No , P2P : True /Yes

    Por t Rest r i ct edRol e : Fal se, Por t Rest r i ct edTCN : Fal se

    Por t Forward BPDU : Di sabl ed

    MSTI Desi gnat ed Br i dge I nt er nal Pat hCost Pr i o Status Role

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

    0 1001/ 002156B05C00 20000 128 Forwarding Root

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    25/47

    Interoperating with Cisco Switches

    Multiple Spanning Tree Configuration

    Terminology

    None

    Compatibility between MSTOP and PVST

    The following table summarizes the compatibility of PVST and MSTP functions.

    Cisco

    D-Link

    PVST PVST+ Rapid PVST+

    MSTP

    No Yes (See note)Yes (reverts to

    PVST+)

    Note:In a MSTP and PVST+ network, the Common Spanning-Tree (CST) root must be

    inside the MST backbone, and a PVST+ switch cannot connect to multiple MST regions.

    Topology

    Figure-4 Multiple Spanning Tree Configuration

    __________________________________________________________________________________________________

    25

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    26/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    26

    Configuration

    Multiple Spanning Configuration on a Cisco Switch

    Command Example Purpose

    Step 1

    Cat al yst# conf i g ter mi nalCat al yst( conf i g) # vl an 10, 20, 30

    To create VLANinterface for ports 10

    and 20.

    Step 2

    Cat al yst( conf i g) # i nt er f ace r ange gi gabi t Et her net

    1/ 0/ 1- 8

    Cat al yst( conf i g- i f - r ange) # swi t chpor t access vl an 10

    Cat al yst ( conf i g- i f - r ange) # i nt er f ace r ange

    gi gabi t Et her net 1/ 0/ 9- 16

    Cat al yst( conf i g- i f - r ange) # swi t chpor t access vl an 20

    To assign interfaces for

    0/1/0-8 to VLAN 10 and

    0/1/9-16 to VLAN 20.

    Step 3

    Cat al yst( conf i g) # i nt er f ace r ange gi gabi t Et her net

    1/ 0/ 23- 24

    Cat al yst( conf i g- i f - r ange) # swi t chpor t mode t r unkCat al yst ( conf i g- i f - r ange) # swi t chpor t t r unk al l owed

    vl an 1, 10, 20

    Cat al yst ( conf i g- i f - r ange) # swi t chpor t t r unk

    encapsul at i on dot 1q

    To set interfaces for

    0/1/23-24 as the trunk

    interfaces.

    Step 4

    Cat al yst( conf i g) # i nt er f ace vl an 10

    Cat al yst ( conf i g- i f ) # i p addr ess 192. 168. 10. 1

    255. 255. 255. 0

    Cat al yst( conf i g) # i nt er f ace vl an 20

    Cat al yst ( conf i g- i f ) # i p addr ess 192. 168. 20. 1

    255. 255. 255. 0

    To create two IP

    interfaces on VLAN 10

    and 20.

    Step 5

    Catal yst ( conf i g) # spanni ng- t r ee mode mstCat al yst( conf i g) # spanni ng- t r ee mst conf i gur at i on

    Cat al yst ( conf i g- mst ) # name t est

    Cat al yst ( conf i g- mst ) # r evi si on 1

    Cat al yst ( conf i g- mst ) # i nst ance 1 vl an 10

    Cat al yst ( conf i g- mst ) # i nst ance 2 vl an 20

    To set up Multiple

    Spanning Tree

    name/revision/instance

    and VLAN mapping as

    the same value on all

    switches.

    Step 6

    Cat al yst( conf i g) # spanni ng- t r ee mst 1 pr i ori t y 4096

    Cat al yst( conf i g) # spanni ng- t r ee mst 2 pr i ori t y 4096

    Cat al yst( conf i g) # spanni ng- t r ee mst 3 pr i ori t y 4096

    To set Cisco switch as

    the root switch.

    Multiple Spanning Configuration on a D-Link Switch

    Command Example Purpose

    Step 1

    swi t ch: admi n# cr eat e vl an 10 t ag 10

    swi t ch: admi n# cr eat e vl an 20 t ag 20

    swi t ch: admi n# conf i g vl an def aul t del et e 1- 16

    To create VLAN

    interfaces for ports 10,

    20 and port

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    27/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    27

    swi t ch: admi n# conf i g vl an 10 add untagged 1- 8

    swi t ch: admi n# conf i g vl an 10 add t agged 23- 24

    swi t ch: admi n# conf i g vl an 20 add untagged 9- 16

    swi t ch: admi n# conf i g vl an 20 add t agged 23- 24

    assignment.

    Step 2

    swi t ch: admi n# cr eat e i pi f 10 192. 168. 10. 2/ 24 10

    swi t ch: admi n# cr eat e i pi f 20 192. 168. 20. 2/ 24 20

    To create two IP

    interfaces on VLAN 10

    and 20.

    Step 3

    swi t ch: admi n# conf i g st p mst _conf i g_i d name t estswi t ch: admi n# conf i g st p mst _conf i g_i d

    r evi si on_l evel 1

    swi t ch: admi n# conf i g st p ver si on mst p

    swi t ch: admi n# cr eat e st p i nst ance_i d 1

    swi t ch: admi n# cr eat e st p i nst ance_i d 2

    swi t ch: admi n# conf i g st p i nst ance_i d 1 add_vl an 10

    swi t ch: admi n# conf i g st p i nst ance_i d 2 add_vl an 20

    swi t ch: admi n# enabl e st p

    To set up Multiple

    Spanning Tree

    name/revision/instance

    and VLAN mapping as

    the same value on all

    switches.

    Troubleshooting Examples

    Verifying MSTP Mode and Ports Status on a Cisco Switch

    The following example shows you how to verify an MSTP instance and VLAN mapping information.

    Command Example

    Catal yst ( conf i g- mst ) # show pendi ng

    Pendi ng MST conf i gur at i on

    Name [ t est ]

    Revi si on 1 I nst ances conf i gur ed 3

    I nst ance Vl ans mapped- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    0 1- 9, 11- 19, 21- 4094

    1 10

    2 20

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

    Catal yst # show spanni ng- t r ee mst conf i gur at i on

    Name [ t est ]

    Revi si on 1 I nst ances conf i gur ed 3

    I nst ance Vl ans mapped- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    0 1- 9, 11- 19, 21- 4094

    1 10

    2 20

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

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    28/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    28

    The following example shows you how to check STP information.

    Command Example

    Catal yst # show spanning-tree detail

    VLAN0001 i s execut i ng the r st p compat i bl e Spanni ng Tr ee pr otocolBr i dge I dent i f i er has pr i ori t y 4096, sysi d 1, addr ess 0021. 56b0. 5c00

    Conf i gured hel l o t i me 2, max age 20, f orward del ay 15, t r ansmi t hol d- count 6

    We ar e the root of t he spanni ng t r ee

    Topol ogy change f l ag not set , detect ed f l ag not set

    Number of t opol ogy changes 4 l ast change occurr ed 00: 25: 48 ago

    f r om Gi gabi t Et her net 1/ 0/ 23

    Ti mes: hol d 1, t opol ogy change 35, not i f i cat i on 2

    hel l o 2, max age 20, f or ward del ay 15

    Ti mer s: hel l o 0, t opol ogy change 0, not i f i cat i on 0, agi ng 300

    Por t 23 (Gi gabi t Et her net 1/ 0/ 23) of VLAN0001 i s desi gnat ed f orwar di ng

    Por t pat h cost 4, Por t pr i or i t y 128, Por t I dent i f i er 128. 23.Desi gnat ed r oot has pr i or i t y 4097, addr ess 0021. 56b0. 5c00

    Desi gnat ed br i dge has pr i or i t y 4097, address 0021. 56b0. 5c00

    Desi gnat ed port i d i s 128. 23, desi gnat ed pat h cost 0

    Ti mer s: message age 0, f or war d del ay 0, hol d 0

    Number of t r ansi t i ons t o f or war di ng st at e: 2

    Li nk type i s poi nt - t o- poi nt by def aul t

    BPDU: sent 839, r ecei ved 22

    Por t 24 (Gi gabi t Et her net 1/ 0/ 24) of VLAN0001 i s desi gnat ed f orwar di ng

    Por t pat h cost 4, Por t pr i or i t y 128, Por t I dent i f i er 128. 24.

    Desi gnat ed r oot has pr i or i t y 4097, addr ess 0021. 56b0. 5c00

    Desi gnat ed br i dge has pr i or i t y 4097, address 0021. 56b0. 5c00

    Desi gnat ed port i d i s 128. 24, desi gnat ed pat h cost 0

    Ti mer s: message age 0, f or war d del ay 0, hol d 0

    Number of t r ansi t i ons t o f or war di ng st at e: 1

    Li nk type i s poi nt - t o- poi nt by def aul t

    BPDU: sent 779, r ecei ved 65

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    29/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    29

    The following example shows you how to check the STP status.

    Command Example

    Catal yst # show spanning-tree

    MST0

    Spanni ng t r ee enabl ed pr ot ocol mst p

    Root I D Pri or i t y 4096Addr ess 0021. 56b0. 5c00

    Thi s br i dge i s t he r oot

    Hel l o Ti me 2 sec Max Age 20 sec For war d Del ay 15 sec

    Br i dge I D Pr i or i t y 4096 ( pr i or i t y 4096 sys- i d- ext 0)

    Addr ess 0021. 56b0. 5c00

    Hel l o Ti me 2 sec Max Age 20 sec For war d Del ay 15 sec

    I nt er f ace Rol e St s Cost Pr i o. Nbr Type

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

    Gi 1/ 0/ 1 Desg FWD 200000 128. 1 P2p Edge

    Gi 1/ 0/ 9 Desg FWD 200000 128. 9 P2p EdgeGi 1/ 0/ 23 Desg FWD 20000 128. 23 P2p

    Gi 1/ 0/ 24 Desg FWD 20000 128. 24 P2p

    MST1

    Spanni ng t r ee enabl ed pr ot ocol mst p

    Root I D Pri or i t y 4097

    Addr ess 0021. 56b0. 5c00

    Thi s br i dge i s t he r oot

    Hel l o Ti me 2 sec Max Age 20 sec For war d Del ay 15 sec

    Br i dge I D Pr i or i t y 4097 ( pr i or i t y 4096 sys- i d- ext 1)

    Addr ess 0021. 56b0. 5c00

    Hel l o Ti me 2 sec Max Age 20 sec For war d Del ay 15 sec

    I nt er f ace Rol e St s Cost Pr i o. Nbr Type

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

    Gi 1/ 0/ 1 Desg FWD 200000 128. 1 P2p Edge

    Gi 1/ 0/ 23 Desg FWD 20000 128. 23 P2p

    Gi 1/ 0/ 24 Desg FWD 20000 128. 24 P2p

    MST2

    Spanni ng t r ee enabl ed pr ot ocol mst p

    Root I D Pri or i t y 4098Addr ess 0021. 56b0. 5c00

    Thi s br i dge i s t he r oot

    Hel l o Ti me 2 sec Max Age 20 sec For war d Del ay 15 sec

    Br i dge I D Pr i or i t y 4098 ( pr i or i t y 4096 sys- i d- ext 2)

    Addr ess 0021. 56b0. 5c00

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    30/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    30

    Hel l o Ti me 2 sec Max Age 20 sec For war d Del ay 15 sec

    I nt er f ace Rol e St s Cost Pr i o. Nbr Type

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

    Gi 1/ 0/ 9 Desg FWD 200000 128. 9 P2p Edge

    Gi 1/ 0/ 23 Desg FWD 20000 128. 23 P2p

    Gi 1/ 0/ 24 Desg FWD 20000 128. 24 P2p

    The following example shows you how to check the MST protocol information.

    Command Example

    Catal yst # show spanning-tree mst

    ##### MST0 vl ans mapped: 1- 9, 11- 19, 21- 4094

    Br i dge addr ess 0021. 56b0. 5c00 pr i or i t y 4096 ( 4096 sysi d 0)

    Root t hi s swi t ch f or t he CI ST

    Operat i onal hel l o t i me 2 , f orward del ay 15, max age 20, t xhol dcount 6

    Conf i gur ed hel l o t i me 2 , f orward del ay 15, max age 20, max hops 20

    I nt er f ace Rol e St s Cost Pr i o. Nbr Type

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

    Gi 1/ 0/ 1 Desg FWD 200000 128. 1 P2p Edge

    Gi 1/ 0/ 9 Desg FWD 200000 128. 9 P2p Edge

    Gi 1/ 0/ 23 Desg FWD 20000 128. 23 P2p

    Gi 1/ 0/ 24 Desg FWD 20000 128. 24 P2p

    ##### MST1 vl ans mapped: 10

    Br i dge addr ess 0021. 56b0. 5c00 pr i or i t y 4097 ( 4096 sysi d 1)

    Root t hi s swi t ch f or MST1

    I nt er f ace Rol e St s Cost Pr i o. Nbr Type

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

    Gi 1/ 0/ 1 Desg FWD 200000 128. 1 P2p Edge

    Gi 1/ 0/ 23 Desg FWD 20000 128. 23 P2p

    Gi 1/ 0/ 24 Desg FWD 20000 128. 24 P2p

    ##### MST2 vl ans mapped: 20

    Br i dge addr ess 0021. 56b0. 5c00 pr i or i t y 4098 ( 4096 sysi d 2)

    Root t hi s swi t ch f or MST2

    I nt er f ace Rol e St s Cost Pr i o. Nbr Type

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Gi 1/ 0/ 9 Desg FWD 200000 128. 9 P2p Edge

    Gi 1/ 0/ 23 Desg FWD 20000 128. 23 P2p

    Gi 1/ 0/ 24 Desg FWD 20000 128. 24 P2p

    Verifying the RSTP Mode and Ports Status on a D-Link Switch

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    31/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    31

    The following example shows you how to verify if the spanning mode is MSTP and STP is enabled.

    Command Example

    swi t ch: admi n# show st p

    Command: show st p

    STP Br i dge Gl obal Set t i ngs

    - - - - - - - - - - - - - - - - - - - - - - - - - - -STP Status : Enabled

    STP Version : MSTP

    Max Age : 20

    Forward Del ay : 15

    Max Hops : 20

    TX Hol d Count : 6

    Forwardi ng BPDU : Di sabl ed

    Loopback Detect i on : Enabl ed

    LBD Recover Ti me : 60

    NNI BPDU Addr ess : dot 1ad

    The following example shows you how to check the spanning instance information.

    Command Example

    swi t ch: admi n# show st p i nst ance 0

    Command: show st p i nst ance 0

    STP I nst ance Set t i ngs

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

    I nst ance Type : CI ST

    I nst ance St at us : Enabl ed

    I nst ance Pr i or i t y : 32768( Br i dge Pr i or i t y : 32768, SYS I D Ext : 0 )

    STP I nst ance Operat i onal St at us

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

    Desi gnat ed Root Br i dge : 32768/ 00- 19- 5B- 12- 43- 00

    Exter nal Root Cost : 0

    Regi onal Root Br i dge : 32768/ 00- 19- 5B- 12- 43- 00

    I nt er nal Root Cost : 0

    Desi gnat ed Br i dge : 32768/ 00- 19- 5B- 12- 43- 00

    Root Por t : None

    Max Age : 20

    Forward Del ay : 15

    Last Topol ogy Change : 74717

    Topol ogy Changes Count : 22

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    32/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    32

    The following example shows you how to check the STP instance and VLAN mapping.

    Command Example

    swi t ch: admi n# show st p mst _conf i g_i d

    Command: show st p mst _conf i g_i d

    Cur r ent MST Conf i gur at i on I dent i f i cat i on

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

    Conf i gur at i on Name : t est Revi si on Level : 1

    MSTI I D Vi d l i st

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

    CI ST 1- 9, 11- 19, 21- 4094

    1 10

    2 20

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    33/47

    Interoperating with Cisco Switches

    Open Shortest Path Fast OSPF) Configuration

    Terminology

    None

    Topology Single OSPF Area

    Figure-5 Single OSPF Area Configuration

    Configuration

    OSPF Configuration on a Cisco Switch - 1

    Command Example Purpose

    Step 1

    Cat al yst# conf i g ter mi nal

    Cat al yst ( conf i g) # i nt er f ace gi gabi t Et her net 1/ 0/ 23

    Cat al yst ( conf i g- i f ) # no swi t chpor t

    Cat al yst ( conf i g- i f ) # i p addr ess 192. 168. 20. 2

    255. 255. 255. 0

    Cat al yst ( conf i g- i f ) # no shut

    Cat al yst( conf i g- i f ) # exi t

    Cat al yst ( conf i g) # i nt er f ace gi gabi t Et her net 1/ 0/ 22

    Cat al yst ( conf i g- i f ) # no swi t chpor t

    Cat al yst ( conf i g- i f ) # i p addr ess 192. 168. 30. 1

    255. 255. 255. 0Cat al yst ( conf i g- i f ) # no shut down

    Cat al yst( conf i g- i f ) # exi t

    To create two IP

    interfaces -

    (192.168.20.0/

    192.168.30.0)

    Step 2

    Cat al yst ( conf i g) # i p r out i ng

    Cat al yst ( conf i g) # r out er ospf 100

    To enable OSPF on

    specific interfaces and

    __________________________________________________________________________________________________

    33

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    34/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    34

    Cat al yst ( conf i g- r out er ) # r out er - i d 192. 168. 20. 1

    Cat al yst ( conf i g- r out er ) # net wor k 192. 168. 20. 0 0. 0. 0. 255

    area 0

    Cat al yst ( conf i g- r out er ) # net wor k 192. 168. 30. 0 0. 0. 0. 255

    area 0

    set up router ID.

    OSPF Configuration on a Cisco Switch - 2

    Command Example Purpose

    Step 1

    Cat al yst# conf i g ter mi nal

    Cat al yst ( conf i g) # i nt er f ace gi gabi t Et her net 1/ 0/ 23

    Cat al yst ( conf i g- i f ) # no swi t chpor t

    Cat al yst ( conf i g- i f ) # i p addr ess 192. 168. 40. 2

    255. 255. 255. 0

    Cat al yst ( conf i g- i f ) # no shut

    Cat al yst( conf i g- i f ) # exi t

    Cat al yst ( conf i g) # i nt er f ace gi gabi t Et her net 1/ 0/ 22

    Cat al yst ( conf i g- i f ) # no swi t chpor t

    Cat al yst ( conf i g- i f ) # i p addr ess 192. 168. 30. 1

    255. 255. 255. 0

    Cat al yst ( conf i g- i f ) # no shut down

    Cat al yst( conf i g- i f ) # exi t

    To create two IP

    interfaces (192.168.30.0 /

    192.168.40.0).

    Step 2

    Cat al yst ( conf i g) # i p r out i ng

    Cat al yst ( conf i g) # r out er ospf 100

    Cat al yst ( conf i g- r out er ) # r out er - i d 192. 168. 30. 1

    Cat al yst ( conf i g- r out er ) # net work 192. 168. 30. 0 0. 0. 0. 255

    ar ea 0

    Cat al yst ( conf i g- r out er ) # net work 192. 168. 40. 0 0. 0. 0. 255

    ar ea 0

    To enable OSPF on

    specific interfaces and

    set up router ID.

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    35/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    35

    OSPF Configuration on a D-Link Switch - 1

    Command Example Purpose

    Step 1

    swi t ch: admi n# cr eat e vl an 10 t ag 10

    swi t ch: admi n# cr eat e vl an 20 t ag 20

    swi t ch: admi n# conf i g vl an def aul t del et e 1- 16

    swi t ch: admi n# conf i g vl an 10 add untagged 1- 8

    swi t ch: admi n# conf i g vl an 20 add untagged 9- 16, 23

    To create VLAN

    interfaces for ports 10

    and 20 and assign

    relative ports to each

    VLAN.

    Step 2

    swi t ch: admi n# cr eat e i pi f 10 192. 168. 10. 1/ 24 10

    swi t ch: admi n# cr eat e i pi f 20 192. 168. 20. 1/ 24 20

    To create two IP

    interfaces on VLAN 10

    and 20.

    Step 3

    conf i g ospf r out er _i d 192. 168. 10. 1

    swi t ch: admi n# conf i g ospf i pi f 10 ar ea 0. 0. 0. 0 st at e

    enabl e

    swi t ch: admi n# conf i g ospf i pi f 20 ar ea 0. 0. 0. 0 st at eenabl e

    swi t ch: admi n# enabl e ospf

    To enable OSPF on

    specific interfaces and

    set up router ID.

    OSPF Configuration on a D-Link Switch - 2

    Command Example Purpose

    Step 1

    swi t ch: admi n# cr eat e vl an 40 t ag 40

    swi t ch: admi n# cr eat e vl an 50 t ag 50

    swi t ch: admi n# conf i g vl an def aul t del ete 1- 16swi t ch: admi n# conf i g vl an 40 add untagged 1- 8, 24

    swi t ch: admi n# conf i g vl an 50 add untagged 9- 16

    To create VLAN

    interfaces for ports 40

    and 50 and assignrelative ports to each

    VLAN.

    Step 2

    swi t ch: admi n# cr eat e i pi f 40 192. 168. 10. 1/ 24 40

    swi t ch: admi n# cr eat e i pi f 50 192. 168. 20. 1/ 24 50

    To create two IP

    interfaces on VLAN 40

    and 50.

    Step 3

    conf i g ospf r out er _i d 192. 168. 40. 1

    swi t ch: admi n# conf i g ospf i pi f 40 ar ea 0. 0. 0. 0 st at e

    enabl e

    swi t ch: admi n# conf i g ospf i pi f 50 ar ea 0. 0. 0. 0 st at e

    enabl e

    swi t ch: admi n# enabl e ospf

    To enable OSPF on

    specific interfaces and

    set up router ID.

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    36/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    36

    Troubleshooting Examples

    Verifying OSPF Information on a Cisco Switch

    The following example shows you how to check OSPF information.

    Command Example

    Catal yst # show i p ospf

    Rout i ng Process "ospf 100" with ID 192.168.20.1

    St ar t t i me: 00: 01: 21. 528, Ti me el apsed: 00: 00: 52. 454

    Suppor t s onl y si ngl e TOS(TOS0) r out es

    Suppor t s opaque LSA

    Suppor t s Li nk- l ocal Si gnal i ng ( LLS)

    Suppor t s ar ea t r ansi t capabi l i t y

    Rout er i s not or i gi nat i ng r out er - LSAs wi t h maxi mum met r i c

    I ni t i al SPF schedul e del ay 5000 msecs

    Mi ni mumhol d t i me bet ween t wo consecut i ve SPFs 10000 msecs

    Maxi mum wai t t i me bet ween t wo consecut i ve SPFs 10000 msecs

    I ncr ement al - SPF di sabl ed

    Mi ni mum LSA i nt er val

    *Mar 1 00: 02: 12. 623: %OSPF- 5- ADJ CHG: Pr ocess 100, Nbr 192. 168. 30. 1 on

    Gi gabi t Et her net1/ 0/ 22 f r om LOADI NG t o FULL, Loadi ng Done5 secs

    Mi ni mumLSA ar r i val 1000 msecs

    LSA group paci ng t i mer 240 secs

    I nt erf ace f l ood paci ng t i mer 33 msecs

    Ret r ansmi ssi on paci ng t i mer 66 msecs

    Number of exter nal LSA 0. Checksum Sum 0x000000

    Number of opaque AS LSA 0. Checksum Sum 0x000000

    Number of DCbi t l ess exter nal and opaque AS LSA 0

    Number of DoNot Age ext er nal and opaque AS LSA 0Number of areas i n t hi s r out er i s 1. 1 normal 0 st ub 0 nssa

    Number of ar eas t r ansi t capabl e i s 0

    Ext er nal f l ood l i st l engt h 0

    I ETF NSF hel per suppor t enabl ed

    Ci sco NSF hel per suppor t enabl ed

    Ref erence bandwi dth uni t i s 100 mbps

    Area BACKBONE( 0)

    Number of i nt er f aces i n t hi s ar ea i s 2

    Ar ea has no aut hent i cat i on

    SPF al gori t hm l ast execut ed 00: 00: 37. 984 ago

    SPF al gori t hm execut ed 2 t i mes

    Ar ea r anges ar eNumber of LSA 8. Checksum Sum 0x043353

    Number of opaque l i nk LSA 0. Checksum Sum 0x000000

    Number of DCbi t l ess LSA 4

    Number of i ndi cat i on LSA 0

    Number of DoNot Age LSA 0

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    37/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    37

    Fl ood l i st l engt h 0

    The following example shows you how to verify if the OSPF neighbors are established.

    Command Example

    Catal yst # show i p ospf nei ghbor

    Nei ghbor I D Pr i St ate Dead Ti me Address I nt er f ace

    192.168.30.1 1 FULL/DR 00: 00: 38 192. 168. 30. 2 Gi gabi t Et hernet 1/ 0/ 22

    192.168.10.1 1 FULL/DR 00: 00: 36 192. 168. 20. 1 Gi gabi t Et hernet 1/ 0/ 23

    The following example shows you how to verify if the route entries are learnt by the switches.

    Command Example

    Catal yst # show i p rout e

    Codes: C - connect ed, S - st at i c, R - RI P, M - mobi l e, B - BGP

    D - EI GRP, EX - EI GRP ext er nal , O - OSPF, I A - OSPF i nt er areaN1 - OSPF NSSA ext er nal t ype 1, N2 - OSPF NSSA ext ernal t ype 2

    E1 - OSPF ext ernal t ype 1, E2 - OSPF ext ernal t ype 2

    i - I S- I S, su - I S- I S summar y, L1 - I S- I S l evel - 1, L2 - I S- I S l evel - 2

    i a - I S- I S i nt er ar ea, * - candi dat e def aul t , U - per - user st at i c rout e

    o - ODR, P - per i odi c downl oaded st at i c r out e

    Gat eway of l ast r esor t i s not set

    C 192. 168. 30. 0/ 24 i s di r ect l y connect ed, Gi gabi t Et her net 1/ 0/ 22

    O 192.168.10.0/24 [ 110/ 2] vi a 192. 168. 20. 1, 00: 02: 07, Gi gabi t Et her net 1/ 0/ 23

    O 192.168.40.0/24 [ 110/ 2] vi a 192. 168. 30. 2, 00: 02: 07, Gi gabi t Et her net 1/ 0/ 22

    C 192. 168. 20. 0/ 24 i s di r ect l y connect ed, Gi gabi t Et her net 1/ 0/ 23

    O 192.168.50.0/24 [ 110/ 3] vi a 192. 168. 30. 2, 00: 02: 07, Gi gabi t Et her net 1/ 0/ 22

    The following example shows you how to check the OSPF interface status.

    Command Example

    Cat al yst # show i p ospf i nt er f ace

    Gi gabi t Et her net 1/ 0/ 22 i s up, l i ne pr ot ocol i s up (connect ed)

    I nt er net Addr ess 192. 168. 30. 1/ 24, Ar ea 0

    Process I D 100, Rout er I D 192. 168. 20. 1, Net work Type BROADCAST, Cost : 1

    Tr ansmi t Del ay i s 1 sec, St at e BDR, Pr i or i t y 1

    Desi gnat ed Rout er ( I D) 192. 168. 30. 1, I nt er f ace addr ess 192. 168. 30. 2

    Backup Desi gnat ed rout er ( I D) 192. 168. 20. 1, I nt er f ace addr ess 192. 168. 30. 1

    Ti mer i nt er val s conf i gured, Hel l o 10, Dead 40, Wai t 40, Ret r ansmi t 5

    oob- r esync t i meout 40

    Hel l o due i n 00: 00: 01

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    38/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    38

    Suppor t s Li nk- l ocal Si gnal i ng ( LLS)

    Ci sco NSF hel per suppor t enabl ed

    I ETF NSF hel per suppor t enabl ed

    I ndex 2/ 2, f l ood queue l engt h 0

    Next 0x0( 0) / 0x0( 0)

    Last f l ood scan l engt h i s 1, maxi mum i s 1

    Last f l ood scan t i me i s 0 msec, maxi mumi s 0 msec

    Nei ghbor Count i s 1, Adj acent nei ghbor count i s 1

    Adj acent wi t h nei ghbor 192. 168. 30. 1 ( Desi gnated Rout er )

    Suppr ess hel l o f or 0 nei ghbor ( s)

    Gi gabi t Et her net 1/ 0/ 23 i s up, l i ne pr ot ocol i s up (connect ed)

    I nt er net Addr ess 192. 168. 20. 2/ 24, Ar ea 0

    Process I D 100, Rout er I D 192. 168. 20. 1, Net work Type BROADCAST, Cost : 1

    Tr ansmi t Del ay i s 1 sec, St at e BDR, Pr i or i t y 1

    Desi gnat ed Rout er ( I D) 192. 168. 10. 1, I nt er f ace addr ess 192. 168. 20. 1

    Backup Desi gnat ed rout er ( I D) 192. 168. 20. 1, I nt er f ace addr ess 192. 168. 20. 2

    Ti mer i nt er val s conf i gured, Hel l o 10, Dead 40, Wai t 40, Ret r ansmi t 5

    oob- r esync t i meout 40

    Hel l o due i n 00: 00: 07

    Suppor t s Li nk- l ocal Si gnal i ng ( LLS)Ci sco NSF hel per suppor t enabl ed

    I ETF NSF hel per suppor t enabl ed

    I ndex 1/ 1, f l ood queue l engt h 0

    Next 0x0( 0) / 0x0( 0)

    Last f l ood scan l engt h i s 1, maxi mum i s 5

    Last f l ood scan t i me i s 0 msec, maxi mumi s 0 msec

    Nei ghbor Count i s 1, Adj acent nei ghbor count i s 1

    Adj acent wi t h nei ghbor 192. 168. 10. 1 ( Desi gnated Rout er )

    Suppr ess hel l o f or 0 nei ghbor ( s)

    Verifying the OSPF Status on a D-Link Switch

    The following example shows you how to verify if the OSPF is enabled on correct interfaces.

    Command Example

    swi t ch: admi n# show ospf

    Command: show ospf

    OSPF Rout er I D : 192. 168. 10. 1

    St at e : Enabl ed

    OSPF I nt er f ace Set t i ngs

    I nt er f ace I P Addr ess Ar ea I D St at e Li nk Met r i c

    St at us

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

    Syst em 10. 90. 90. 90/ 8 0. 0. 0. 0 Di sabl ed Li nk Up 1

    10 192.168.10.1/24 0.0.0.0 Enabled Link Up 1

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    39/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    39

    20 192.168.20.1/24 0.0.0.0 Enabled Link Up 1

    Tot al Ent r i es : 3

    OSPF Ar ea Set t i ngs

    Ar ea I D Type Stub I mpor t Summary LSA Stub Def aul t Cost Transl at e

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

    0. 0. 0. 0 Nor mal None None None

    Tot al Ent r i es : 1

    Vi r t ual I nt er f ace Conf i gur at i on

    Tr ansi t Vi r t ual Hel l o Dead Aut hent i cat i on Li nk

    Ar ea I D Nei ghbor Rout er I nt er val I nt er val St at us

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

    Tot al Ent r i es : 0

    OSPF Ar ea Aggr egat i on Set t i ngs

    Ar ea I D Aggr egated LSDB Adver t i se

    Net wor k Address Type

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

    Tot al Ent r i es : 0

    OSPF Host Rout e Set t i ngs

    Host Addr ess Met r i c Ar ea I D

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

    Tot al Ent r i es : 0

    The following example shows you how to verify if the OSPF neighbor is established.

    Command Example

    swi t ch: admi n# show ospf nei ghbor

    Command: show ospf nei ghbor

    I P Addr ess of Rout er I D of Nei ghbor Nei ghborNei ghbor Nei ghbor Pr i or i t y St at e

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

    192. 168. 20. 2 192. 168. 20. 2 1 Ful l

    Tot al Ent r i es : 1

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    40/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    40

    The following example shows you how to check the OSPF interface information.

    Command Example

    swi t ch: admi n# show ospf i pi f 10

    Command: show ospf i pi f 10

    I nt erf ace Name: 10 I P Addr ess: 192. 168. 10. 1/ 24 ( Li nk Up)

    Net wor k Medi um Type: BROADCAST Met r i c: 1

    Ar ea I D: 0. 0. 0. 0 Admi ni st r at i ve St at e: Enabl ed

    Pr i ori t y: 1 DR St at e: DR

    DR Addr ess: 192. 168. 10. 1 Backup DR Addr ess: None

    Hel l o I nt er val : 10 Dead I nt er val : 40

    Tr ansmi t Del ay: 1 Ret r ansmi t Ti me: 5

    Aut hent i cat i on: None

    Passi ve Mode: Di sabl ed

    Tot al Ent r i es : 1

    The following example shows you how to verify all the route entries that are learnt by the switches.

    Command Example

    swi t ch: admi n# show i prout e

    Command: show i pr out e

    Rout i ng Tabl e

    I P Addr ess/ Netmask Gateway I nt er f ace Cost Protocol

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

    10. 0. 0. 0/ 8 0. 0. 0. 0 Syst em 1 Local

    192. 168. 10. 0/ 24 0. 0. 0. 0 10 1 Local

    192. 168. 20. 0/ 24 0. 0. 0. 0 20 1 Local

    192.168.30.0/24 192.168.20.2 20 2 OSPF

    192.168.40.0/24 192.168.20.2 20 3 OSPF

    192.168.50.0/24 192.168.20.2 20 4 OSPF

    Tot al Entr i es : 6

    Tot al Entr i es : 1

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    41/47

    Interoperating with Cisco Switches

    Topology Single OSPF Area

    Figure-6 Multiple OSPF Areas Configuration

    Configuration

    OSPF Configuration on Cisco Switch 1

    Command Example Purpose

    Step 1

    Swi t ch#conf i g ter mi nal

    Swi t ch( conf i g) #i nt er f ace gi gabi t Et her net 1/ 0/ 23

    Swi t ch( conf i g- i f ) #no swi t chpor t

    Swi t ch( conf i g- i f ) #i p addr ess 192. 168. 20. 2 255. 255. 255. 0

    Swi t ch( conf i g- i f ) #no shut

    Swi t ch( conf i g- i f ) #exi t

    Swi t ch( conf i g) #i nt er f ace gi gabi t Et her net 1/ 0/ 22

    Swi t ch( conf i g- i f ) #no swi t chpor t

    Swi t ch( conf i g- i f ) #i p addr ess 192. 168. 30. 1 255. 255. 255. 0

    Swi t ch( conf i g- i f ) #no shut down

    Swi t ch( conf i g- i f ) #exi t

    Create two IP interfaces

    (192.168.20.0 /

    192.168.30.0)

    Step 2

    Swi t ch( conf i g) #i nt er f ace l oopback 0

    Swi t ch( conf i g- i f ) #i p addr ess 10. 0. 0. 1 255. 255. 255. 255

    Swi t ch( conf i g- i f ) #no shut

    Create a Loopback

    interface for router ID.

    Cisco router prefers the

    address of loopback

    interface over the

    __________________________________________________________________________________________________

    41

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    42/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    42

    address of all physical

    interfaces while

    choosing router ID.

    Step 3

    Swi t ch( conf i g) #i p r out i ng

    Swi t ch( conf i g) #r out er ospf 100

    Swi t ch( conf i g- r out er ) #net work 192. 168. 20. 0 0. 0. 0. 255 area

    1

    Swi t ch( conf i g- r out er ) #net work 192. 168. 30. 0 0. 0. 0. 255 area0

    Enable OSPF on specific

    interfaces.

    OSPF Configuration on Cisco Switch 2

    Command Example Purpose

    Step 1

    Swi t ch#conf i g ter mi nal

    Swi t ch( conf i g) #i nt er f ace gi gabi t Et her net 1/ 0/ 23

    Swi t ch( conf i g- i f ) #no swi t chpor t

    Swi t ch( conf i g- i f ) #i p addr ess 192. 168. 40. 2 255. 255. 255. 0

    Swi t ch( conf i g- i f ) #no shutSwi t ch( conf i g- i f ) #exi t

    Swi t ch( conf i g) #i nt er f ace gi gabi t Et her net 1/ 0/ 22

    Swi t ch( conf i g- i f ) #no swi t chpor t

    Swi t ch( conf i g- i f ) #i p addr ess 192. 168. 30. 1 255. 255. 255. 0

    Swi t ch( conf i g- i f ) #no shut down

    Swi t ch( conf i g- i f ) #exi t

    Create two IP interfaces(192.168.30.0 /

    192.168.40.0)

    Step 2

    Swi t ch( conf i g) #i nt er f ace l oopback 0

    Swi t ch( conf i g- i f ) #i p addr ess 10. 0. 0. 2 255. 255. 255. 255Swi t ch( conf i g- i f ) #no shut

    Create a Loopback

    interface for router ID.

    Cisco router prefers the

    address of loopback

    interface over the

    address of all physical

    interfaces while

    choosing router ID.

    Step 3

    Swi t ch( conf i g) #i p r out i ng

    Swi t ch( conf i g) #r out er ospf 100

    Swi t ch( conf i g- r out er ) #r out er - i d 192. 168. 30. 1

    Swi t ch( conf i g- r out er ) #net work 192. 168. 30. 0 0. 0. 0. 255 area

    0

    Swi t ch( conf i g- r out er ) #net work 192. 168. 40. 0 0. 0. 0. 255 area

    2

    Enable OSPF on specific

    interfaces and set up

    router ID

    OSPF Configuration on D-Link Switch 1

    Command Example Purpose

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    43/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    43

    Step 1

    DGS- 3627: admi n#cr eat e vl an 10 t ag 10

    DGS- 3627: admi n#cr eat e vl an 20 t ag 20

    DGS- 3627: admi n#conf i g vl an def aul t del ete 1- 16

    DGS- 3627: admi n#conf i g vl an 10 add unt agged 1- 8

    DGS- 3627: admi n#conf i g vl an 20 add unt agged 9- 16, 23

    Create VLAN 10 and

    20 and assign relative

    ports to each VLAN

    Step 2

    DGS- 3627: admi n#cr eat e i pi f 10 192. 168. 10. 1/ 24 10

    DGS- 3627: admi n#cr eat e i pi f 20 192. 168. 20. 1/ 24 20

    Create two IP

    interfaces on VLAN 10

    and 20

    Step 3

    DGS- 3627: admi n#conf i g ospf r out er_i d 192. 168. 10. 1

    DGS- 3627: admi n#cr eat e ospf area 0. 0. 0. 1 t ype normal

    DGS- 3627: admi n#conf i g ospf i pi f 10 area 0. 0. 0. 1 st ate enabl e

    DGS- 3627: admi n#conf i g ospf i pi f 20 area 0. 0. 0. 1 st ate enabl e

    DGS- 3627: admi n#enabl e ospf

    Enable OSPF on

    specific interfaces and

    assign interfaces on

    area 1.

    OSPF Configuration on D-Link Switch - 2

    Command Example Purpose

    Step 1

    DGS- 3627: admi n#cr eate vl an 40 t ag 40

    DGS- 3627: admi n#cr eate vl an 50 t ag 50

    DGS- 3627: admi n#conf i g vl an def aul t del ete 1- 16

    DGS- 3627: admi n#conf i g vl an 40 add unt agged 1- 8, 24

    DGS- 3627: admi n#conf i g vl an 50 add untagged 9- 16

    Create VLAN 40 and 50

    and assign relative

    ports to each VLAN

    Step 2

    DGS- 3627: admi n#cr eat e i pi f 40 192. 168. 10. 1/ 24 40

    DGS- 3627: admi n#cr eat e i pi f 50 192. 168. 20. 1/ 24 50

    Create two IP interfaces

    on VLAN 40 and 50

    Step 3

    DGS- 3627: admi n#conf i g ospf r out er_i d 192. 168. 40. 1

    DGS- 3627: admi n#cr eat e ospf area 0. 0. 0. 2 t ype normal

    DGS- 3627: admi n#conf i g ospf i pi f 40 area 0. 0. 0. 2 st ate enabl e

    DGS- 3627: admi n#conf i g ospf i pi f 50 area 0. 0. 0. 2 st ate enabl e

    DGS- 3627: admi n#enabl e ospf

    Enable OSPF on

    specific interfaces and

    assign interfaces on

    area 2.

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    44/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    44

    Troubleshooting Examples

    Verifying OSPF Information on a Cisco Switch

    The following example shows you how to check OSPF detailed information on Cisco Switch. Cisco Switch

    uses loopback interface to be Router ID and Area 1 should be created.

    Command Example

    Catal yst # show ip ospf

    Rout i ng Pr ocess " ospf 100" wi t h I D 10.0.0.1

    St ar t t i me: 00: 01: 21. 528, Ti me el apsed: 4d19h

    Suppor t s onl y si ngl e TOS( TOS0) r out es

    Suppor t s opaque LSA

    Suppor t s Li nk- l ocal Si gnal i ng ( LLS)

    Suppor t s ar ea t r ansi t capabi l i t y

    I t i s an ar ea bor der r out er

    Rout er i s not or i gi nat i ng r out er - LSAs wi t h maxi mum met r i c

    I ni t i al SPF schedul e del ay 5000 msecsMi ni mumhol d t i me bet ween t wo consecut i ve SPFs 10000 msecs

    Maxi mum wai t t i me bet ween t wo consecut i ve SPFs 10000 msecs

    I ncr ement al - SPF di sabl ed

    Mi ni mum LSA i nt er val 5 secs

    Mi ni mumLSA ar r i val 1000 msecs

    LSA group paci ng t i mer 240 secs

    I nt erf ace f l ood paci ng t i mer 33 msecs

    Ret r ansmi ssi on paci ng t i mer 66 msecs

    Number of exter nal LSA 0. Checksum Sum 0x000000

    Number of opaque AS LSA 0. Checksum Sum 0x000000

    Number of DCbi t l ess ext ernal and opaque AS LSA 0

    Number of DoNot Age ext er nal and opaque AS LSA 0Number of ar eas i n thi s r out er i s 2. 2 normal 0 st ub 0 nssa

    Number of ar eas t r ansi t capabl e i s 0

    Ext er nal f l ood l i st l engt h 0

    I ETF NSF hel per suppor t enabl ed

    Ci sco NSF hel per suppor t enabl ed

    Ref erence bandwi dth uni t i s 100 mbps

    Area BACKBONE( 0)

    Number of i nt er f aces i n t hi s ar ea i s 1

    Ar ea has no aut hent i cat i on

    SPF al gori t hm l ast execut ed 00: 27: 19. 763 ago

    SPF al gori t hm execut ed 14 t i mes

    Ar ea r anges ar eNumber of LSA 8. Checksum Sum 0x07E502

    Number of opaque l i nk LSA 0. Checksum Sum 0x000000

    Number of DCbi t l ess LSA 1

    Number of i ndi cat i on LSA 0

    Number of DoNot Age LSA 0

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    45/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    45

    Fl ood l i st l engt h 0

    Area 1

    Number of interfaces in this area is 1

    Ar ea has no aut hent i cat i on

    SPF al gori t hm l ast execut ed 00: 33: 43. 525 ago

    SPF al gori t hm execut ed 8 t i mes

    Ar ea r anges ar e

    Number of LSA 6. Checksum Sum 0x036A95

    Number of opaque l i nk LSA 0. Checksum Sum 0x000000

    Number of DCbi t l ess LSA 1

    Number of i ndi cat i on LSA 0

    Number of DoNot Age LSA 0

    Fl ood l i st l engt h 0

    Checking OSPF Status on D-Link Switch

    The following example shows you how to verify if the OSPF is enabled on correct interfaces and if the area

    assignment is correct.

    Command Example

    swi t ch: admi n# show ospf

    Command: show ospf

    OSPF Rout er I D : 192. 168. 10. 1

    St at e : Enabl ed

    OSPF I nt er f ace Set t i ngs

    I nt er f ace I P Addr ess Ar ea I D St at e Li nk Met r i c

    St at us- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    Sys tem 10. 90. 90. 90/ 8 0. 0. 0. 0 Di sabl ed Li nk Up 1

    10 192.168.10.1/24 0.0.0.1 Enabled Link Up 1

    20 192.168.20.1/24 0.0.0.1 Enabled Link Up 1

    Tot al Ent r i es : 3

    OSPF Ar ea Set t i ngs

    Ar ea I D Type Stub I mpor t Summary LSA Stub Def aul t Cost Tr ansl ate

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

    0. 0. 0. 0 Nor mal None None None0. 0. 0. 1 Nor mal None None None

    Tot al Ent r i es : 2

    Vi r t ual I nt er f ace Conf i gur at i on

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    46/47

    Interoperating with Cisco Switches

    __________________________________________________________________________________________________

    46

    Tr ansi t Vi r t ual Hel l o Dead Aut hent i cat i on Li nk

    Ar ea I D Nei ghbor Rout er I nt er val I nt er val St at us

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

    Tot al Ent r i es : 0

    OSPF Ar ea Aggr egat i on Set t i ngs

    Ar ea I D Aggr egated LSDB Adver t i se

    Net wor k Address Type

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

    Tot al Ent r i es : 0

    OSPF Host Rout e Set t i ngs

    Host Addr ess Metr i c Ar ea I D

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

    Tot al Ent r i es : 0

    The following example shows you how to verify if the OSPF interface information is correct.

    Command Example

    swi t ch: admi n# show ospf ipif 10

    Command: show ospf i pi f 10

    I nt er f ace Name: 10 I P Addr ess: 192. 168. 10. 1/ 24 ( Li nk Up)

    Net wor k Medi um Type: BROADCAST Met r i c: 1

    Area ID: 0.0.0.1 Admi ni st r at i ve St at e: Enabl edPr i or i t y: 1 DR St at e: DR

    DR Addr ess: 192. 168. 10. 1 Backup DR Addr ess: None

    Hel l o I nt er val : 10 Dead I nt er val : 40

    Tr ansmi t Del ay: 1 Ret r ansmi t Ti me: 5

    Aut hent i cat i on: None

    Passi ve Mode: Di sabl ed

    Tot al Entr i es : 1

  • 7/24/2019 D Link Managed Switches Interoperating With Cisco Switches (1)

    47/47

    Interoperating with Cisco Switches

    Visitourwebsiteformoreinformation

    www.dlink.com

    DLink,DLinklogo,DLinksubbrandlogosandDLinkproducttrademarksaretrademarks

    orregisteredtrademarksofDLinkCorporationanditssubsidiaries.Allotherthirdparty