#--------------------------------------------------
echo "Virtual Switch Controller Configuration"
#--------------------------------------------------
exit all configure
vswitch-controller
xmpp-server "NSC-vPE1:password@xmpp.example.com"open-flow
auto-peer 10.9.0.0/24 exit
exit xmpp exit
exit
In-band and Loopback IP Interfaces
The excerpt below shows how to configure the in-band interface IP (name control with IP address 10.9.0.7) as well as the loopback (name system with IP address 10.0.0.7) IP interfaces. The loopback IP is needed if any IGP or BGP routing protocols will be configured. If using BGP, an autonomous system needs to be configured (65000). Optionally, static routes can be configured as well (for the in-band) routing table.
#--------------------------------------------------
echo "Router (Network Side) Configuration"
#--------------------------------------------------
exit all configure
router
interface "control" address 10.9.0.7/24
no shutdown exit
interface "system" address 10.0.0.7/32 no shutdown
exit
autonomous-system 65000
#--------------------------------------------------
echo "Static Route Configuration"
#--------------------------------------------------
static-route 1.2.3.4/32 next-hop 10.9.0.100
exit all
Network Protocols (OSPF and BGP)
The following sections show the commands to configure OSPF for area 0.0.0.0.