switchport mode access
no ip address
spanning−tree portfast
!
!−−− Output suppressed.
interface GigabitEthernet0/1
switchport trunk encapsulation dot1q
no ip address
!
interface GigabitEthernet0/2
no ip address
!
interface Vlan1
no ip address
no ip route−cache
shutdown
!
interface Vlan10
description MANAGEMENT
!−−− IP address used to manage this switch.
ip address 10.1.10.2 255.255.255.0
no ip route−cache
!
!−−− Default gateway is configured so that the switch is reachable
!−−− from other VLANs/sub−nets. Gateway points to VLAN 10 interface
!−−− on the 3750.
ip default−gateway 10.1.10.1
ip http server
!
!
line con 0
line vty 5 15
!
end
Note: Since the Catalyst 2950 is configured as a VTP client, the VTP configuration is not displayed by theswitch. This is standard behavior. The 2950 acquires the VLAN information from the VTP server (3750). Thecommands below are used on this switch to make it a VTP client in the VTP domain cisco from the globalconfiguration mode.
Cat2950(config)#vtp domain cisco
Cat2950(config)#vtp mode client
Cat2948G (Cisco Catalyst 2948G Switch)
Cat2948G> (enable) show config
!−−− This command shows non−default configurations only.
!−−− Use the show config all command to show both
!−−− default and non−default configurations.
...........
..................
..
Cisco − Configuring Inter−VLAN Routing with Catalyst 3750 Series Switches in a Stacked Configuration