Skip Navigation Links | |
Exit Print View | |
Sun Ethernet Fabric Operating System VLAN Administration Guide |
Configuring Static VLAN Entries
Retrieve the Configuration Details for all of the VLANs on a Switch
Retrieve the Configuration Details of a particular VLAN on the Switch
Configure a Static Unicast Entry
Configure a Static Multicast Entry
Configure Dynamic VLAN Learning
Configure Dynamic Multicast Learning
Configure Restricted VLAN Registration
Configure Restricted Group Registration
Configuring Service Classes and Expedited Traffic
Map a Priority to Traffic Class
Configure the Acceptable Frame Type
Configuring Static Unicast and Multicast Entries
Configure Static Unicast Entry in Topology 1
Configure Static Unicast Entry in Topology 2
Configure VLANs on the Nonroot Bridge
Configure Restricted VLAN Registration
This section contains an example of how to configure QinQ in SEFOS. In this example, two end devices are connected to two QinQ-enabled SEFOS switches, as shown in the following illustration. The end nodes communicate using untagged frames, as well as frames tagged with VID=50. The SEFOS switches are interconnected with VID=25.
SEFOS# configure terminal SEFOS(config)# shutdown spanning-tree SEFOS(config)# set gvrp disable SEFOS(config)# set gmrp disable SEFOS(config)# shutdown garp SEFOS(config)# bridge-mode provider SEFOS(config)# vlan 25 SEFOS(config-vlan)# port extreme-ethernet 0/3 SEFOS(config-vlan)# exit SEFOS(config)# interface extreme-ethernet 0/3 SEFOS(config-if)# switchport pvid 25 SEFOS(config-if)# no shutdown SEFOS(config-if)# exit SEFOS(config)# interface extreme-ethernet 0/15 SEFOS(config-if)# switchport access vlan 25 SEFOS(config-if)# switchport acceptable-frame-type untaggedAndPrioritytagged SEFOS(config-if)# switchport mode access SEFOS(config-if)# switchport mode dot1q-tunnel SEFOS(config-if)# no shutdown SEFOS(config-if)# exit SEFOS(config)# spanning-tree mode mst SEFOS(config)# spanning-tree compatibility mst SEFOS(config)# exit
SEFOS# show vlan Vlan database ------------- Vlan ID : 1 Member Ports : Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6 Ex0/7, Ex0/8, Ex0/9, Ex0/10, Ex0/11, Ex0/12 Ex0/13, Ex0/14, Ex0/16, Ex0/17, Ex0/18, Ex0/19 Ex0/20, Ex0/21, Ex0/22, Ex0/23, Ex0/24 Untagged Ports : Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6 Ex0/7, Ex0/8, Ex0/9, Ex0/10, Ex0/11, Ex0/12 Ex0/13, Ex0/14, Ex0/16, Ex0/17, Ex0/18, Ex0/19 Ex0/20, Ex0/21, Ex0/22, Ex0/23, Ex0/24 Forbidden Ports : None Name : Status : Permanent ---------------------------------------------------- Vlan ID : 25 Member Ports : Ex0/3, Ex0/15 Untagged Ports : Ex0/15 Forbidden Ports : None Name : Status : Permanent ----------------------------------------------------
SEFOS# configure terminal SEFOS(config)# shut spanning-tree SEFOS(config)# set gvrp disable SEFOS(config)# set gmrp disable SEFOS(config)# shutdown garp SEFOS(config)# bridge-mode provider SEFOS(config)# vlan 25 SEFOS(config-vlan)# port extreme-ethernet 0/3 SEFOS(config-vlan)# exit SEFOS(config)# interface extreme-ethernet 0/3 SEFOS(config-if)# switchport pvid 25 SEFOS(config-if)# no shutdown SEFOS(config-if)# exit SEFOS(config)# interface extreme-ethernet 0/15 SEFOS(config-if)# switchport access vlan 25 SEFOS(config-if)# switchport acceptable-frame-type untaggedAndPrioritytagged SEFOS(config-if)# switchport mode access SEFOS(config-if)# switchport mode dot1q-tunnel SEFOS(config-if)# no shutdown SEFOS(config-if)# exit SEFOS(config)# spanning-tree mode mst SEFOS(config)# spanning-tree compatibility mst SEFOS(config)# exit
SEFOS# show vlan Vlan database ------------- Vlan ID : 1 Member Ports : Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6 Ex0/7, Ex0/8, Ex0/9, Ex0/10, Ex0/11, Ex0/12 Ex0/13, Ex0/14, Ex0/16, Ex0/17, Ex0/18, Ex0/19 Ex0/20, Ex0/21, Ex0/22, Ex0/23, Ex0/24 Untagged Ports : Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6 Ex0/7, Ex0/8, Ex0/9, Ex0/10, Ex0/11, Ex0/12 Ex0/13, Ex0/14, Ex0/16, Ex0/17, Ex0/18, Ex0/19 Ex0/20, Ex0/21, Ex0/22, Ex0/23, Ex0/24 Forbidden Ports : None Name : Status : Permanent ---------------------------------------------------- Vlan ID : 25 Member Ports : Ex0/3, Ex0/15 Untagged Ports : Ex0/15 Forbidden Ports : None Name : Status : Permanent ----------------------------------------------------
# vconfig add eth1 50 Added VLAN with VID == 50 to IF -:eth1:- # ifconfig eth1.50 38.38.50.70/24 up # ifconfig eth1 eth1 Link encap:Ethernet HWaddr 00:1B:21:53:6E:55 inet addr:38.38.38.70 Bcast:38.38.38.255 Mask:255.255.255.0 # ifconfig eth1.50inet6 addr: fe80::21b:21ff:fe53:6e55/64 Scope:Link eth1.50 Link encap:Ethernet HWaddr 00:1B:21:53:6E:55 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1inet addr:38.38.50.70 Bcast:38.38.50.255 Mask:255.255.255.0RX packets:5827022 errors:0 dropped:0 overruns:0 frame:0 inet6 addr: fe80::21b:21ff:fe53:6e55/64 Scope:Link TX packets:757389 errors:0 dropped:0 overruns:0 carrier:0UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1collisions:0 txqueuelen:1000 RX packets:23 errors:0 dropped:0 overruns:0 frame:0 RX bytes:1059492521 (1010.4 MiB) TX bytes:40934494 (39.0 MiB)TX packets:76 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:1428 (1.3 KiB) TX bytes:15873 (15.5 KiB)
# ifconfig eth5 38.38.38.160/24 up # ifconfig eth5 eth5 Link encap:Ethernet HWaddr 00:1B:21:53:6D:A1 inet addr:38.38.38.160 Bcast:38.38.38.255 Mask:255.255.255.0 # vconfig add eth5 50inet6 addr: fe80::21b:21ff:fe53:6da1/64 Scope:Link Added VLAN with VID == 50 to IF -:eth5:- UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1# ifconfig eth5.50 38.38.50.160/24 upRX packets:219 errors:0 dropped:0 overruns:0 frame:0 # ifconfig eth5.50TX packets:227 errors:0 dropped:0 overruns:0 carrier:0 eth5.50 Link encap:Ethernet HWaddr 00:1B:21:53:6D:A1 collisions:0 txqueuelen:1000 inet addr:38.38.50.160 Bcast:38.38.50.255 Mask:255.255.255.0inet6 addr: fe80::21b:21ff:fe53:6da1/64 Scope:Link RX bytes:34743 (33.9 KiB) TX bytes:35379 (34.5 KiB)UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:68 errors:0 dropped:0 overruns:0 frame:0 TX packets:50 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:15013 (14.6 KiB) TX bytes:9312 (9.0 KiB)
# ping 38.38.50.160 PING 38.38.50.160 (38.38.50.160) 56(84) bytes of data. 64 bytes from 38.38.50.160: icmp_seq=1 ttl=64 time=1.46 ms
# ping 38.38.38.160 PING 38.38.38.160 (38.38.38.160) 56(84) bytes of data. 64 bytes from 38.38.38.160: icmp_seq=1 ttl=64 time=1.02 ms 64 bytes from 38.38.38.160: icmp_seq=2 ttl=64 time=0.036 ms 64 bytes from 38.38.38.160: icmp_seq=3 ttl=64 time=0.042 ms
# 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=0.080 ms 64 bytes from 38.38.38.70: icmp_seq=2 ttl=64 time=0.041 ms 64 bytes from 38.38.38.70: icmp_seq=3 ttl=64 time=0.033 ms
# ping 38.38.50.70 PING 38.38.50.70 (38.38.50.70) 56(84) bytes of data. 64 bytes from 38.38.50.70: icmp_seq=1 ttl=64 time=0.937 ms 64 bytes from 38.38.50.70: icmp_seq=2 ttl=64 time=0.039 ms 64 bytes from 38.38.50.70: icmp_seq=3 ttl=64 time=0.036 ms
SEFOS# show mac-address-table Vlan Mac Address Type Ports ---- ----------- ---- ----- 25 00:1b:21:53:6d:a1 Learnt Ex0/3 25 00:1b:21:53:6e:55 Learnt Ex0/15 Total Mac Addresses displayed: 2
SEFOS# show vlan port config port extreme-ethernet 0/15 Vlan Port configuration table ------------------------------- Port Ex0/15 Port Vlan ID : 25 Port Acceptable Frame Type : Admit Only Untagged and Priority Tagged Port Ingress Filtering : Disabled Port Mode : Access Port Gvrp Status : Disabled Port Gmrp Status : Disabled Port Gvrp Failed Registrations : 2 Gvrp last pdu origin : 00:00:00:00:00:00 Port Restricted Vlan Registration : Disabled Port Restricted Group Registration : Unknown Mac Based Support : Disabled Subnet Based Support : Disabled Port-and-Protocol Based Support : Enabled Default Priority : 0 Tunnel Status : Enabled Dot1x Protocol Tunnel Status : Peer LACP Protocol Tunnel Status : Peer Spanning Tree Tunnel Status : Peer GVRP Protocol Tunnel Status : Peer GMRP Protocol Tunnel Status : Peer IGMP Protocol Tunnel Status : Peer Filtering Utility Criteria : Default Port Protected Status : Disabled -------------------------------------------------------
SEFOS# show vlan port config port extreme-ethernet 0/3 Vlan Port configuration table ------------------------------- Port Ex0/3 Port Vlan ID : 25 Port Acceptable Frame Type : Admit All Port Ingress Filtering : Disabled Port Mode : Hybrid Port Gvrp Status : Disabled Port Gmrp Status : Disabled Port Gvrp Failed Registrations : 2 Gvrp last pdu origin : 00:00:00:00:00:00 Port Restricted Vlan Registration : Disabled Port Restricted Group Registration : Unknown Mac Based Support : Disabled Subnet Based Support : Disabled Port-and-Protocol Based Support : Enabled Default Priority : 0 Tunnel Status : Disabled Dot1x Protocol Tunnel Status : Peer LACP Protocol Tunnel Status : Peer Spanning Tree Tunnel Status : Peer GVRP Protocol Tunnel Status : Peer GMRP Protocol Tunnel Status : Peer IGMP Protocol Tunnel Status : Peer Filtering Utility Criteria : Default Port Protected Status : Disabled -------------------------------------------------------
SEFOS# show mac-address-table Vlan Mac Address Type Ports ---- ----------- ---- ----- 25 00:1b:21:53:6d:a1 Learnt Ex0/15 25 00:1b:21:53:6e:55 Learnt Ex0/3 Total Mac Addresses displayed: 2
SEFOS# show vlan port config port extreme-ethernet 0/15 Vlan Port configuration table ------------------------------- Port Ex0/15 Port Vlan ID : 25 Port Acceptable Frame Type : Admit Only Untagged and Priority Tagged Port Ingress Filtering : Disabled Port Mode : Access Port Gvrp Status : Disabled Port Gmrp Status : Disabled Port Gvrp Failed Registrations : 2 Gvrp last pdu origin : 00:00:00:00:00:00 Port Restricted Vlan Registration : Disabled Port Restricted Group Registration : Unknown Mac Based Support : Disabled Subnet Based Support : Disabled Port-and-Protocol Based Support : Enabled Default Priority : 0 Tunnel Status : Enabled Dot1x Protocol Tunnel Status : Peer LACP Protocol Tunnel Status : Peer Spanning Tree Tunnel Status : Peer GVRP Protocol Tunnel Status : Peer GMRP Protocol Tunnel Status : Peer IGMP Protocol Tunnel Status : Peer Filtering Utility Criteria : Default Port Protected Status : Disabled -------------------------------------------------------
SEFOS# show vlan port config port extreme-ethernet 0/3 Vlan Port configuration table ------------------------------- Port Ex0/3 Port Vlan ID : 25 Port Acceptable Frame Type : Admit All Port Ingress Filtering : Disabled Port Mode : Hybrid Port Gvrp Status : Disabled Port Gmrp Status : Disabled Port Gvrp Failed Registrations : 2 Gvrp last pdu origin : 00:00:00:00:00:00 Port Restricted Vlan Registration : Disabled Port Restricted Group Registration : Unknown Mac Based Support : Disabled Subnet Based Support : Disabled Port-and-Protocol Based Support : Enabled Default Priority : 0 Tunnel Status : Disabled Dot1x Protocol Tunnel Status : Peer LACP Protocol Tunnel Status : Peer Spanning Tree Tunnel Status : Peer GVRP Protocol Tunnel Status : Peer GMRP Protocol Tunnel Status : Peer IGMP Protocol Tunnel Status : Peer Filtering Utility Criteria : Default Port Protected Status : Disabled -------------------------------------------------------