09 May 2015

Extreme With Cisco sharing a Trunk

A example as a Extreme switch works with an Cisco switch. The example just show like two computers can see each other behind these two vendors.

[Cisco config]
interface FastEthernet0/5
 switchport access vlan 10
 switchport mode access

interface GigabitEthernet0/1
 description extremeOS
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 155
 switchport trunk allowed vlan 10,155
 switchport mode trunk
 switchport nonegotiate
 no cdp enable

[eXtreme config]
# Module stp configuration.
#
configure stpd s0 delete vlan default ports all
disable stpd s0 auto-bind vlan default
delete stpd s155
create stpd s155
configure stpd s155 mode dot1d
configure stpd s155 priority 61440
configure stpd s155 default-encapsulation dot1d
enable stpd s155 auto-bind vlan Gerencia
configure stpd s155 add vlan Gerencia ports all dot1d
configure stpd s155 tag 155
enable stpd s155
#
delete stpd s10
create stpd s10
configure stpd s10 mode dot1w
configure stpd s10 priority 61440
configure stpd s10 default-encapsulation pvst-plus
enable stpd s10 auto-bind vlan Sales
configure stpd s10 ports mode pvst-plus 1
configure stpd s10 ports mode pvst-plus 2
configure stpd s10 tag 10
enable stpd s10

# Module vlan configuration.
#
configure vlan default delete ports all
configure vr VR-Default delete ports 1-2
configure vlan default delete ports 1-2
create vlan "Gerencia"
configure vlan Gerencia tag 155
create vlan "Sales"
configure vlan Sales tag 10
configure vlan Gerencia add ports 1 untagged
configure vlan Sales add ports 1 tagged
configure vlan Sales add ports 2 untagged
configure vlan Gerencia ipaddress 10.0.0.2 255.255.255.252

You can configure a IPaddr in the PCs for test connectivity. A real network will provide the IPaddr through a DHCP Server. My focus today here is the Trunk/Tagged port.



biOos

No comments: