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

Search Scope:

- This Document
- Entire Library

## Configure Ports in Solitary- and Group-Restricted XVLANs

In this example, `XVLAN 10` is the principal XVLAN. In addition, `XVLAN 100` is identified as a group-restricted XVLAN with internal ports 2 and 15 and external port 1. `XVLAN 600` is identified as a solitary-restricted XVLAN with internal ports 19 and 20 and external port 1.

1. Disable GVRP.

       SEFOS# conf t
       SEFOS(config)# set gvrp disable
       SEFOS(config)#

2. Create the principal VLAN and add ports to it.

       SEFOS(config)# xvlan 10
       SEFOS(config-xvlan)# ports internal extreme-ethernet 0/2,0/15,0/19,0/20 external extreme-ethernet 0/1 name main

3. Create a group-restricted XVLAN and add ports to it.

       SEFOS(config-xvlan)# xvlan 100 group ports internal extreme-ethernet 0/2,0/15 external extreme-ethernet 0/1 name group100

4. Create a solitary-restricted XVLAN and add ports to it.

       SEFOS(config-xvlan)# xvlan 600 solo ports internal extreme-ethernet 0/19,0/20 external extreme-ethernet 0/1 name solo600
       SEFOS(config-xvlan)# exit
       SEFOS(config)#

5. Enable the interfaces.

       SEFOS(config)# internal extreme-ethernet 0/1
       SEFOS(config-if)# no shutdown
       SEFOS(config-if)# exit
       SEFOS(config)#
       SEFOS(config)# internal extreme-ethernet 0/2
       SEFOS(config-if)# no shutdown
       SEFOS(config-if)# exit
       SEFOS(config)#
       SEFOS(config)# end

6. Check the 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 :
       Name : main
       ----------------------------------------------------
       XVlan ID : 100
       Type : Restricted: Group
       Principal XVlan : 10
       External Ports : Ex0/1
       Internal Ports : Ex0/2, Ex0/15
       ISWTrunk Ports :
       Name : group100
       ----------------------------------------------------
       XVlan ID : 600
       Type : Restricted: Solitary
       Principal XVlan : 10
       External Ports : Ex0/1
       Internal Ports : Ex0/19, Ex0/20
       ISWTrunk Ports :
       Name : solo600
       ----------------------------------------------------

7. Verify the configuration by checking connectivity on the hosts connected to the external and internal ports.
   1. Ping within hosts connected to group-restricted ports 2 and 15.

          [root@nsn173-147 ~]# 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=0 ttl=64 time=0.193 ms
          64 bytes from 38.38.38.70: icmp_seq=1 ttl=64 time=0.269 ms
          64 bytes from 38.38.38.70: icmp_seq=2 ttl=64 time=0.099 ms
          64 bytes from 38.38.38.70: icmp_seq=3 ttl=64 time=0.146 ms
            [root@nsn173-147 ~]# 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=0 ttl=255 time=0.352 ms
          64 bytes from 38.38.38.146: icmp_seq=1 ttl=255 time=0.261 ms
          64 bytes from 38.38.38.146: icmp_seq=2 ttl=255 time=0.084 ms

   2. Ping between hosts connected on group-restricted and solitary-restricted ports.

           [root@nsn173-147 ~]# ping 38.38.38.64

          PING 38.38.38.64 (38.38.38.64) 56(84) bytes of data.
          From 38.38.38.147 icmp_seq=1 Destination Host Unreachable
          From 38.38.38.147 icmp_seq=2 Destination Host Unreachable
          From 38.38.38.147 icmp_seq=3 Destination Host Unreachable
          From 38.38.38.147 icmp_seq=5 Destination Host Unreachable

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