A SERVICE OF

logo

description To 2950
switchport trunk encapsulation dot1q
!
!−−− Dot1q trunking (with negotiation) is configured on the L2 switch.
!−−− If DTP is not supported on the far switch, issue the
!−−− switchport mode trunk command
!−−− to force the switch port to trunk mode.
!−−− Note: The default trunking mode is dynamic auto. If a trunk link
!−−− is established using default trunking mode, it does not appear
!−−− in the configuration even though a trunk has been established on
!−−− the interface. Use the show interfaces trunk command to verify the
!−−− trunk has been established.
!
interface GigabitEthernet1/0/2
!
!−−− Output suppressed.
!
interface GigabitEthernet1/0/5
description to SERVER_1
!−−− Configure the server port to be in the server VLAN (VLAN 3).
switchport access vlan 3
!−−− Configure the port to be an access port to
!−−− prevent trunk negotiation delays.
switchport mode access
!−−− Configure port−fast for initial STP delay.
!−−− Refer to Using PortFast and Other Commands to Fix Workstation
!−−− Startup Connectivity Delays for more information.
spanning−tree portfast
!
interface GigabitEthernet1/0/6
!
!−−− Output suppressed.
!
interface GigabitEthernet1/0/10
description To Internet_Router
!−−− Port connected to router is converted into a routed (L3) port.
no switchport
!−−− IP address is configured on this port.
ip address 200.1.1.1 255.255.255.252
!
interface GigabitEthernet1/0/21
!
!−−− Output suppressed.
!
Cisco − Configuring Inter−VLAN Routing with Catalyst 3750 Series Switches in a Stacked Configuration