Skip Navigation Links | |
Exit Print View | |
![]() |
Sun Ethernet Fabric Operating System XVLAN Administration Guide |
Configure Ports in Solitary- and Group-Restricted XVLANs
Allowing Regular VLAN on XVLAN Ports
Configure Regular VLAN on an XVLAN Port
Configure Regular VLAN 100 With Ports Used in an XVLAN
To configure a single switch for use with XVLAN, you must first configure the external and internal ports. In the following example, XVLAN 10 is identified as the principal XVLAN, and XVLAN 600 is identified as a solitary-restricted XVLAN. This configuration has no group-restricted XVLANs.
For an example of configuring external and internal ports with group-restricted ports, see Configure Ports in Solitary- and Group-Restricted XVLANs.
SEFOS# conf t SEFOS(config)# xvlan 10 % GVRP/GARP Has to be disabled in Exclusive Vlan Mode SEFOS(config)# set gvrp disable SEFOS(config)#
SEFOS(config)# xvlan 10 SEFOS(config-xvlan)#
The mode changes to XVLAN configuration.
SEFOS(config-xvlan)# ports internal extreme-ethernet 0/2,0/15,0/19,0/20 external extreme-ethernet 0/1 name main SEFOS(config-xvlan)#
The ports must belong to the principal XVLAN.
SEFOS(config-xvlan)# xvlan 600 solo ports internal extreme-ethernet 0/2,0/15,0/19,0/20 external extreme-ethernet 0/1 name solo600 SEFOS(config-xvlan)# exit SEFOS(config)#
SEFOS(config)# interface extreme-ethernet 0/1 SEFOS(config-if)# no shutdown SEFOS(config-if)# exit SEFOS(config)# SEFOS(config)# interface extreme-ethernet 0/2 SEFOS(config-if)# no shutdown SEFOS(config-if)# exit SEFOS(config)# SEFOS(config)# end
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 : 600 Type : Restricted: Solitary Principal XVlan : 10 External Ports : Ex0/1 Internal Ports : Ex0/2, Ex0/15, Ex0/19, Ex0/20 ISWTrunk Ports : Name : solo600 ----------------------------------------------------
The pings between solo internal and external ports are successful, and the pings between internal ports fail.
[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=1.61 ms 64 bytes from 38.38.38.146: icmp_seq=1 ttl=255 time=0.288 ms --- 38.38.38.146 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1002ms rtt min/avg/max/mdev = 0.288/0.952/1.616/0.664 ms, pipe 2
[root@nsn173-64 ~]# 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.19 ms 64 bytes from 38.38.38.146: icmp_seq=2 ttl=255 time=0.094 ms --- 38.38.38.146 ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1000ms rtt min/avg/max/mdev = 0.094/0.642/1.191/0.549 ms
[root@nsn173-64 ~]# ping 38.38.38.147 PING 38.38.38.147 (38.38.38.147) 56(84) bytes of data. --- 38.38.38.147 ping statistics --- 3 packets transmitted, 0 received, 100% packet loss, time 1999ms
[root@nsn173-147 ~]# ping 38.38.38.70 PING 38.38.38.70 (38.38.38.70) 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
[root@nsn173-70 ~]# 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.48 ms 64 bytes from 38.38.38.146: icmp_seq=2 ttl=255 time=0.114 ms 64 bytes from 38.38.38.146: icmp_seq=3 ttl=255 time=0.091 ms
nsn173-65:~ # 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=2.90 ms 64 bytes from 38.38.38.146: icmp_seq=2 ttl=255 time=0.136 ms 64 bytes from 38.38.38.146: icmp_seq=3 ttl=255 time=0.132 ms
nsn173-65:~ # ping 38.38.38.147 PING 38.38.38.147 (38.38.38.147) 56(84) bytes of data. From 38.38.38.65: icmp_seq=1 Destination Host Unreachable From 38.38.38.65 icmp_seq=1 Destination Host Unreachable From 38.38.38.65 icmp_seq=2 Destination Host Unreachable From 38.38.38.65 icmp_seq=3 Destination Host Unreachable
[root@nsn173-64 ~]# ping 38.38.38.65 PING 38.38.38.65 (38.38.38.65) 56(84) bytes of data. From 38.38.38.64 icmp_seq=2 Destination Host Unreachable From 38.38.38.64 icmp_seq=3 Destination Host Unreachable From 38.38.38.64 icmp_seq=4 Destination Host Unreachable