Configuring Cisco Data Center Services Node


You can use the console to configure the Cisco Data Center Services Node with network parameters, so that it is accessible via telnet or SSH over the network.

Sample configuration

The following is a sample configuration of a Cisco Data Center Services Node that has been performed for access to the network.

!
upgrade fpd auto
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
service counters max age 5
!
hostname cisco6503-01
boot systemdisk1:s72033-ipservices_wan-mz.122-18.sxf7.bin
boot device module 3 cf:4
enable password 1cisco
!
no aaa new-mode1
ip subnet-zero
no ip source-route
!
no ip bootp server
ipv6 mfib hardware-switching replication mode-ingress
vtp domain GSU_1PP
vtp mode transparent
mls ip multicast flow-stat-timer 9
no mls flow ip
no mls flow ipv6
no mls acl tcam share-global
mls cef error action freeze
!
redundancy
mode sso
main-cpu
auto-sync running-config
spanning-tree mode pvst
spanning-tree extend system-id
diagnostic cns publish cisco.dns.device.diag_results
diagnostic cns subscribe cns.cns.device.diag_commands
!
vlan internal allocation policy ascending
vlan access-log rate limit 2000
!
vlan 2
name Management-vlan
!
!
interface GigabitEthernet 1/2
no ip address
shutdown
!
interface GigabitEthernet 1/2
description *"Part of management VLAN 2"*
switchport
switchport access Vlan 2
switchport mode access
no ip address
media-type rj45
speed 100
duplex half
!
interface Vlan1
no ip address
shutdown
!
interface Vlan2
description "used for access to other DSN Miodules"
ip address: 172.21.127.71 255.255.255.0
!
ip classless
ip route 0.0.0.0.0.0.0.0 Vlan2 172.21.127.1
!
no ip http server
!
no cdp run
!
control-plane
!
dial-peer cor custom
!
line con 0
line vty 0 4
password 1cisco
login

To run the TrueSight Network Automation auto script

  1. Through a command prompt on the Network Automation application server, change the directory to the \cisco-dsn\bin directory.
  2. Run the run-dsn <WEB-URL> <USERNAME> <PASSWORD> command.
  3. Provide the parameters to discover and configure the Cisco Data Center Services Node, and all the service modules within Cisco Data Center Services Node for management.

    The chassis is added to the system and becomes manageable. At this point, the auto script adds the device security profile named MYDSN, and the base chassis to the system. It then checks to make sure that the Cisco Data Center Services Node chassis is reachable from a network perspective.

    The script determines what modules are installed in the chassis and prompts for the configuration information for each module.

    After the script is completed and all the modules have been configured for management, they are added to the Network Automation application.

    Note

    The defined VLANs, VLAN groups, and contexts are presented in the device view.

Complete transcript from running the auto script

C:\BCA-Networks-Data\bcan-dsn-utility\bin>run-dsn.bat <WEB URL> <USERNAME> <PASSWORD>
Enter DSN name: my-dsn
Enter DSN ipaddress/hostname: 172.21.127.71
Do you want to use an existing Device Security Profile\[Y/n\]: n
Enter Device Security Profile Name: MYDSN
Enter Device Security Profile Login UserName: admin
Enter Device Security Profile Login Password:
Re-enter Device Security Profile Login Password:
Enter Device Security Profile Priv. UserName:
Enter Device Security Profile Priv. Password:
Re-enter Device Security Profile Priv. Password:
Device Security Profile MYDSN added successfully
Device my-dsn added successfully
my-dsn is reachable
Running Show Module...
Do you want to configure ACE at module #2 \[Y/n\]: y
Enter ACE hostname: my-dsn-ace
Configuring ACE at 2
Enter parameters for: Add Mgmt VLAN to ACE
Mgmt VLAN Group Number: 2
Mgmt VLAN Number: 2
Running Add Mgmt VLAN to ACE...
Enter parameters for: Configure Mgmt VLAN on ACE
Mgmt VLAN IP Address: 172.21.127.161
Mgmt VLAN IP Mask: 255.255.255.0
Mgmt VLAN Gateway: 172.21.127.1
Startup Username: admin
Startup Password: admin
New User Name: admin
New User Password: 1emprisa
Running Configure Mgmt VLAN on ACE...
Device my-dsn-ace added successfully
Do you want to configure FWSM at module #3 \[Y/n\]: y
Enter FWSM hostname: my-dsn-fwsm
Configuring FWSM at 3
Enter parameters for: Add Mgmt VLAN to FWSM
Mgmt VLAN Group Number: 2
Mgmt VLAN Number: 2
Running Add Mgmt VLAN to FWSM...
Enter parameters for: Configure Mgmt VLAN on FWSM
Mgmt VLAN Name: mgmt
Mgmt VLAN IP Address: 172.21.127.107
Mgmt VLAN Gateway: 172.21.127.1
Mgmt VLAN IP Mask: 255.255.255.0
Mgmt VLAN Subnet Address: 172.0.0.0
Mgmt VLAN Subnet Mask: 255.0.0.0
Startup Password: cisco
New FWSM Password: 1emprisa
New FWSM Enable Password: 1emprisa
Running Configure Mgmt VLAN on FWSM...
Device my-dsn-fwsm-SYSTEM added successfully
Device my-dsn-fwsm-ADMIN added successfully
DSN has been successfully provisioned for manageability

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*