Skip Navigation Links
Exit Print View
| Sun Ethernet Fabric Operating System ### XVLAN Administration Guide

Search Scope:

- This Document
- Entire Library

## Connect XVLANs Across SEFOS1 and SEFOS2

The interconnect between the two switches can be a regular port or an 802.3ad link aggregation port. In this example, a LAG port is used.

This task shows how to create a LAG port between the two NEMs and assign it as inter-switch trunk port.

1. On SEFOS1, create a LAG consisting of ports 3, 4, 5, and 6.

       SEFOS# conf t
       SEFOS(config)# set port-channel enable
       SEFOS(config)#
       SEFOS(config)# internal port-channel 36
       SEFOS(config-if)# no shutdown
       SEFOS(config-if)# exit
       SEFOS(config)#
       SEFOS(config)# internal range extreme-ethernet 0/3-6
       SEFOS(config-if-range)# shutdown
       SEFOS(config-if-range)# channel-group 36 mode active
       SEFOS(config-if-range)# no shutdown
       SEFOS(config-if-range)# exit
       SEFOS(config)#
       SEFOS(config)# xvlan 10
       SEFOS(config-xvlan)# port add inter-switch po 36
       SEFOS(config-xvlan)# xvlan 600 solo port add inter-switch po 36
       SEFOS(config-xvlan)# xvlan 100 group port add inter-switch po 36
       SEFOS(config-xvlan)#
       SEFOS(config-xvlan)# end

2. Show the XVLAN configuration.

       SEFOS# show xvlan

       Exclusive Vlan database
       ---------------------------
       XVlan ID : 10
       Type : Principal
       Principal XVlan : 10
       External Ports : Ex0/1
       Internal Ports : Ex0/2, Ex0/15, Ex0/19, Ex0/20
       ISWTrunk Ports : po36
       Name : main
       ----------------------------------------------------
       XVlan ID : 100
       Type : Restricted: Group
       Principal XVlan : 10
       External Ports : Ex0/1
       Internal Ports : Ex0/2, Ex0/15
       ISWTrunk Ports : po36
       Name : group100
       ----------------------------------------------------
       XVlan ID : 600
       Type : Restricted: Solitary
       Principal XVlan : 10
       External Ports : Ex0/1
       Internal Ports : Ex0/19, Ex0/20
       ISWTrunk Ports : po36
       Name : solo600
       ----------------------------------------------------

3. Create a a LAG on SEFOS2 and configure it as an inter-switch port for the XVLAN.

       SEFOS# conf t
       SEFOS(config)# set port-channel enable
       SEFOS(config)#
       SEFOS(config)# internal port-channel 36
       SEFOS(config-if)# no shutdown
       SEFOS(config-if)# exit
       SEFOS(config)#
       SEFOS(config)# internal range extreme-ethernet 0/3-6
       SEFOS(config-if-range)# shutdown
       SEFOS(config-if-range)# channel-group 36 mode active
       SEFOS(config-if-range)# no shutdown
       SEFOS(config-if-range)# exit
       SEFOS(config)#
       SEFOS(config)# xvlan 10
       SEFOS(config-xvlan)# port add inter-switch po 36
       SEFOS(config-xvlan)# xvlan 600 solo port add inter-switch po 36
       SEFOS(config-xvlan)# xvlan 100 group port add inter-switch po 36
       SEFOS(config-xvlan)# exit
       SEFOS(config)# end
       SEFOS#

4. Check the XVLAN configuration on SEFOS2.

       SEFOS# show xvlan

       Exclusive Vlan database
       ---------------------------
       XVlan ID : 10
       Type : Principal
       Principal XVlan : 10
       External Ports : Ex0/1
       Internal Ports : Ex0/2, Ex0/11, Ex0/12
       ISWTrunk Ports : po36
       Name : main
       ----------------------------------------------------
       XVlan ID : 100
       Type : Restricted: Group
       Principal XVlan : 10
       External Ports : Ex0/1
       Internal Ports : Ex0/2
       ISWTrunk Ports : po36
       Name : group100
       ----------------------------------------------------
       XVlan ID : 600
       Type : Restricted: Solitary
       Principal XVlan : 10
       External Ports : Ex0/1
       Internal Ports : Ex0/11, Ex0/12
       ISWTrunk Ports : po36
       Name : solo600
       ----------------------------------------------------

5. Check the LAG port status.

       SEFOS# show etherchannel summary

       Port-channel Module Admin Status is enabled
       Port-channel Module Oper Status is enabled
       Port-channel System Identifier is 00:14:4f:6c:56:0f

       Flags:
       D - down P - in port-channel
       I - stand-alone H - Hot-standby (LACP only)

       Number of channel-groups in use: 1
       Number of aggregators: 1

       Group Port-channel Protocol Ports
       -------------------------------------------------------------------------
       36 Po36(P) LACPEx0/3(P),Ex0/4(P),Ex0/5(P),Ex0/6(P)

6. Ensure that the external hosts on SEFOS1 and SEFOS2 can be reached.

       [root@nsn173-139 ~]# ping 38.38.38.146

       PING 38.38.38.146 (38.38.38.146) 56(84) bytes of data.
       64 bytes from 38.38.38.146: icmp_seq=1 ttl=255 time=1.71 ms
       64 bytes from 38.38.38.146: icmp_seq=2 ttl=255 time=0.054 ms
       64 bytes from 38.38.38.146: icmp_seq=3 ttl=255 time=0.135 ms

7. Ensure that the internal/isolated hosts on SEFOS1 and the external hosts on SEFOS2 can communicate.

       [root@nsn173-139 ~]# ping 38.38.38.147

       PING 38.38.38.147 (38.38.38.147) 56(84) bytes of data.
       64 bytes from 38.38.38.147: icmp_seq=1 ttl=64 time=0.793 ms
       64 bytes from 38.38.38.147: icmp_seq=2 ttl=64 time=0.236 ms
       64 bytes from 38.38.38.147: icmp_seq=3 ttl=64 time=0.334 ms

       [root@nsn173-139 ~]# ping 38.38.38.70

       PING 38.38.38.70 (38.38.38.70) 56(84) bytes of data.
       64 bytes from 38.38.38.70: icmp_seq=1 ttl=64 time=2.04 ms
       64 bytes from 38.38.38.70: icmp_seq=2 ttl=64 time=0.085 ms
       64 bytes from 38.38.38.70: icmp_seq=3 ttl=64 time=0.166 ms

       [root@nsn173-139 ~]# ping 38.38.38.64

       PING 38.38.38.64 (38.38.38.64) 56(84) bytes of data.
       64 bytes from 38.38.38.64: icmp_seq=1 ttl=64 time=1.70 ms
       64 bytes from 38.38.38.64: icmp_seq=2 ttl=64 time=0.238 ms

       [root@nsn173-139 ~]# ping 38.38.38.65

       PING 38.38.38.65 (38.38.38.65) 56(84) bytes of data.
       64 bytes from 38.38.38.65: icmp_seq=1 ttl=64 time=1.29 ms
       64 bytes from 38.38.38.65: icmp_seq=2 ttl=64 time=0.192 ms

8. Ensure that the solitary-restricted port on SEFOS2 and the external port on SEFOS1 can communicate.

       nsn173-90:~ # ping 38.38.38.139

       PING 38.38.38.139 (38.38.38.139) 56(84) bytes of data.
       64 bytes from 38.38.38.139: icmp_seq=1 ttl=64 time=1.94 ms

9. Ensure that the solitary-restricted ports on SEFOS1 and SEFOS2 can communicate with each other.

   The hosts are expected to be unreachable.

       nsn173-90:~ # ping 38.38.38.147

       PING 38.38.38.147 (38.38.38.147) 56(84) bytes of data.
       From 38.38.38.90: icmp_seq=1 Destination Host Unreachable
       From 38.38.38.90 icmp_seq=1 Destination Host Unreachable
       From 38.38.38.90 icmp_seq=2 Destination Host Unreachable

       nsn173-90:~ # ping 38.38.38.64

       PING 38.38.38.64 (38.38.38.64) 56(84) bytes of data.
       From 38.38.38.90: icmp_seq=2 Destination Host Unreachable
       From 38.38.38.90 icmp_seq=2 Destination Host Unreachable
       From 38.38.38.90 icmp_seq=3 Destination Host Unreachable

       nsn173-90:~ # ping 38.38.38.65

       PING 38.38.38.65 (38.38.38.65) 56(84) bytes of data.
       From 38.38.38.90: icmp_seq=1 Destination Host Unreachable
       From 38.38.38.90 icmp_seq=1 Destination Host Unreachable
       From 38.38.38.90 icmp_seq=2 Destination Host Unreachable

       nsn173-90:~ # ping 38.38.38.70

       PING 38.38.38.70 (38.38.38.70) 56(84) bytes of data.
       From 38.38.38.90: icmp_seq=1 Destination Host Unreachable
       From 38.38.38.90 icmp_seq=1 Destination Host Unreachable
       From 38.38.38.90 icmp_seq=2 Destination Host Unreachable

10. Ensure that the group-restricted ports on SEFOS1 and SEFOS2 can communicate with each other.

    The hosts are expected to be reachable. On the restricted `XVLAN 100`, the following hosts are assigned:

    - On SEFOS1, port 2 is assigned host `.147`, port 15 is assigned host `.70`.

    - On SEFOS2, port 2 is assigned host `.149`.

        # ping 38.38.38.70
        38.38.38.70 is alive

        # ping 38.38.38.147
        38.38.38.147 is alive
        #

11. Show the host MAC addresses learned on the SEFOS1 and SEFOS2 switches.
    1. On SEFOS1, type.

           SEFOS# show mac-address-table

           Vlan Mac Address Type Ports
           ---- ----------- ---- -----
           10 00:00:5a:9f:71:a8 Learnt Ex0/2
           10 00:14:4f:1e:da:21 Learnt Ex0/1
           10 00:14:4f:1e:e1:8f Learnt po36
           10 00:14:4f:6c:63:11 Learnt po36
           10 00:14:4f:6c:63:12 Learnt po36
           10 00:14:4f:6c:63:13 Learnt po36
           10 00:14:4f:6c:63:14 Learnt po36
           10 00:14:4f:6c:63:27 Learnt po36
           10 00:14:4f:6c:78:e8 Learnt po36
           10 00:1b:21:51:26:bd Learnt po36
           10 00:1b:21:51:26:ed Learnt po36
           10 00:1b:21:53:6d:b9 Learnt Ex0/19
           10 00:1b:21:53:6e:55 Learnt Ex0/15
           10 00:1b:21:66:4a:a1 Learnt Ex0/20

    2. On SEFOS2, type.

           SEFOS# show mac-address-table

           Vlan Mac Address Type Ports
           ---- ----------- ---- -----
           10 00:00:5a:9f:71:a8 Learnt po36
           10 00:14:4f:1e:da:21 Learnt po36
           10 00:14:4f:1e:e1:8f Learnt Ex0/2
           10 00:14:4f:6c:56:11 Learnt po36
           10 00:14:4f:6c:56:12 Learnt po36
           10 00:14:4f:6c:56:13 Learnt po36
           10 00:14:4f:6c:56:14 Learnt po36
           10 00:14:4f:6c:56:27 Learnt po36
           10 00:14:4f:6c:78:e8 Learnt Ex0/1
           10 00:1b:21:51:26:bd Learnt Ex0/12
           10 00:1b:21:51:26:ed Learnt Ex0/11
           10 00:1b:21:53:6e:55 Learnt po36

           Total Mac Addresses displayed: 12

Copyright © 2010, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |