You can use the Cisco 2950 switch to provide connectivity for the control plane of the N1 Provisioning Server software. In a typical scenario, you can connect the management port of the control plane server and the management port of the chassis switches to this switch.
The management VLAN configured on this switch should be vlan 9. Perform the following steps to create vlan 9:
enable vlan database vlan 9 name ManageMentVlan state active media ethernet exit |
Although the control plane server does not require the control plane switch to have IP connectivity on the management VLAN, you can optionally configure a management IP address on this switch. Type the following steps commands to create a management IP on this switch:
enable configure terminal interface Vlan1 no ip address shutdown exit interface Vlan9 ip address <IP_address> <IP_subnet_mask> no shutdown end |
Because the vlan 9 interface is configured with an IP address, you also need to move the uplink to the external router to vlan 9. To do so, type the following set of commands:
configure terminal interface Fastethernet 0/<port> switchport access vlan 9 speed 100 duplex full end |
To set the default gateway on the device, type the following command :
configure terminal ip default-gateway <IP_of_default_gateway> end |
To enable telnet to the switch, type the following commands:
configure terminal line vty 0 4 password <PASSWORD> login line vty 5 15 password <PASSWORD> login exit |
To set the enable password for the switch, type the following commands:
configure terminal enable password 0 <password> end |
To move a port to a particular VLAN, do the following steps:
Use telnet or console to connect to the switch.
Enter enable and configure mode and type the following commands.
interface <IF_NAME> switchport access vlan <VLAN_ID> speed 100 duplex full end |
You must move all chassis NETMGT and control connections from the control plane and image server to vlan 9.
The following example shows a management port of a shelf switch that is connected to FastEthernet0/24 being moved to vlan 9.
configure terminal interface FastEthernet0/24 switchport access vlan 9 end |
When you are done, issue write mem to permanently save all the configurations.
To view the switch configuration type show configuration. The following example shows sample output of the show configuration command.
sw-2950#show configuration Using 1647 out of 32768 bytes ! version 12.1 no service single-slot-reload-enable no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname sw-2950 ! enable secret 5 $1$byj9$P2S4zO48RKZBG3Sz0F4J/. enable password root ! ip subnet-zero ! spanning-tree extend system-id ! ! interface FastEthernet0/1 no ip address ! interface FastEthernet0/2 no ip address ! interface FastEthernet0/3 switchport mode trunk no ip address ! interface FastEthernet0/4 no ip address ! interface FastEthernet0/5 no ip address ! interface FastEthernet0/6 no ip address ! interface FastEthernet0/7 no ip address ! interface FastEthernet0/8 no ip address ! interface FastEthernet0/9 no ip address ! interface FastEthernet0/10 no ip address ! interface FastEthernet0/11 no ip address ! interface FastEthernet0/12 no ip address ! interface FastEthernet0/13 no ip address ! interface FastEthernet0/14 no ip address ! interface FastEthernet0/15 no ip address ! interface FastEthernet0/16 no ip address ! interface FastEthernet0/17 no ip address ! interface FastEthernet0/18 no ip address ! interface FastEthernet0/19 no ip address ! interface FastEthernet0/20 no ip address ! interface FastEthernet0/21 no ip address ! interface FastEthernet0/22 no ip address ! interface FastEthernet0/23 ! interface FastEthernet0/24 switchport access vlan 9 no ip address ! interface Vlan1 no ip address no ip route-cache shutdown ! interface Vlan9 ip address 10.5.131.210 255.255.255.0 no ip route-cache ! ip http server ! line con 0 line vty 0 4 password root login line vty 5 15 password root login ! end |
(4857743)