You can use the show command to display the configuration details of a particular VLAN or for all of the configured VLANs. This section contains a sequence of commands to disable GVRP, configure STP mode, configure a port as a trunk port, enable VLANs, and display the STP information about the VLANs. These commands assume that no prior configuration commands have been used.
TOR-1 SEFOS# configure terminal TOR-1 SEFOS(config)# set gvrp disable TOR-1 SEFOS(config)#
TOR-1 SEFOS(config)# spanning-tree mode pvrst PVRST is started. PVRST Module status is changed TOR-1 SEFOS(config)#
TOR-1 SEFOS(config)# interface extreme-ethernet 0/1 TOR-1 SEFOS(config-if)#
TOR-1 SEFOS(config-if)# switchport mode trunk TOR-1 SEFOS(config-if)#
TOR-1 SEFOS(config-if)# no shutdown TOR-1 SEFOS(config-if)# exit TOR-1 SEFOS(config)#
TOR-1 SEFOS(config)# vlan 10 TOR-1 SEFOS(config-vlan)# vlan active TOR-1 SEFOS(config-vlan)# exit TOR-1 SEFOS(config)#
TOR-1 SEFOS(config)# vlan 20 TOR-1 SEFOS(config-vlan)# vlan active TOR-1 SEFOS(config-vlan)# end TOR-1 SEFOS#
TOR-1 SEFOS# show vlan port config port extreme-ethernet 0/1 Vlan Port configuration table ------------------------------- Port Ex0/1 Port Vlan ID : 1 Port Acceptable Frame Type : Admit All Port Ingress Filtering : Disabled Port Mode : Trunk Port Gvrp Status : Disabled Port Gmrp Status : Enabled Port Gvrp Failed Registrations : 0 Gvrp last pdu origin : 00:00:00:00:00:00 Port Restricted Vlan Registration : Disabled Port Restricted Group Registration : Disabled Mac Based Support : Disabled Subnet Based Support : Disabled Port-and-Protocol Based Support : Enabled Default Priority : 0 Filtering Utility Criteria : Default Port Protected Status : Disabled -------------------------------------------------------
After you configure the port as trunk, the port acceptable frame type must be Admin All. If the frame type is not Admin All, use the switchport acceptable-frame-type all command in port interface mode to accept all types of packets.
TOR-1 SEFOS# show spanning-tree ------------------------------------------------------------------- Spanning-tree for VLAN 1 Root Id Priority 32769 Address 00:14:4f:6c:56:6f Cost 2000 Port Ex0/1 Hello Time 2 Sec, Max Age 20 Sec, Forward Delay 15 Sec Spanning Tree Enabled Protocol PVRST Bridge Id Priority 32769 Address 00:14:4f:6c:69:ed Hello Time 2 sec, Max Age 20 sec, Forward Delay 15 sec Name Role State Cost Prio Type ---- ---- ----- ---- ---- ------ Ex0/1 Root Forwarding 2000 128 P2P Ex0/57 Designated Forwarding 2000 128 P2P ------------------------------------------------------------------- Spanning-tree for VLAN 10 Root Id Priority 32778 Address 00:14:4f:6c:56:6f Cost 2000 Port Ex0/1 Hello Time 2 Sec, Max Age 20 Sec, Forward Delay 15 Sec Spanning Tree Enabled Protocol PVRST Bridge Id Priority 32778 Address 00:14:4f:6c:69:ed Hello Time 2 sec, Max Age 20 sec, Forward Delay 15 sec Name Role State Cost Prio Type ---- ---- ----- ---- ---- ------ Ex0/1 Root Forwarding 2000 128 P2P Ex0/57 Designated Forwarding 2000 128 P2P ------------------------------------------------------------------- Spanning-tree for VLAN 20 Root Id Priority 32788 Address 00:14:4f:6c:56:6f Cost 2000 Port Ex0/1 Hello Time 2 Sec, Max Age 20 Sec, Forward Delay 15 Sec Spanning Tree Enabled Protocol PVRST Bridge Id Priority 32788 Address 00:14:4f:6c:69:ed Hello Time 2 sec, Max Age 20 sec, Forward Delay 15 sec Name Role State Cost Prio Type ---- ---- ----- ---- ---- ------ Ex0/1 Root Forwarding 2000 128 P2P Ex0/57 Designated Forwarding 2000 128 P2P TOR-1 SEFOS#