5-10 SmartSwitch ATM User Guide
Virtual Ports Virtual Ports and Static Connections
3. Use the PortNumber and MaxVpiBits parameters of the add port command to create the virtual
ports.
SmartSwitch # add port
PortNumber() : 7a1.1
— The
.1
means our Base VPI is one (1)
PortAdminStatus(up) :
IlmiAdminStatus(up) :
SigType(autoConfig) :
SigRole(other) :
InterfaceType(private) :
MaxVpiBits(0) : 0
— VPIs used = Base VPI + (2
0
- 1) = 1 + 0 = 1
MaxVciBits(10) :
MaxSvcVpci(1) :
— Confirms that we have only one VPCI for this virtual port
MinSvcVci(32) :
MaxVccs(2048) :
TrafficDescriptorIndex() : 1
— Specify traffic descriptor to be used with virtual port
SmartSwitch #
Our virtual port is now created, and uses just one VPI: the Base VPI (.1).
The following is an example creates virtual port
7b2.4, which uses seven VPIs, starting at Base VPI = 4.
1. Use the set portconfig command to turn off signaling and set the MaxVpiBits to 4:
SmartSwitch # set portconfig
PortNumber() : 7b2
— Specify physical port to contain the virtual port
PortAdminStatus(up) :
IlmiAdminStatus(up) :
SigType(autoConfig) : nnipvc
— Turn off signaling
SigRole(network) :
InterfaceType(private) :
MaxVpiBits(0) : 4
— Available VPIs are set to 2
4
- 1 = 16 - 1 = 15 VPIs
MaxVciBits(9) :
— MaxVciBits decrements by 4
MaxSvcVpci(15) :
MinSvcVci(32) :
MaxVccs(8192) :
MaxSvpVpci(15) :
MaxVpcs(15) :
SmartSwitch #
2. Use the add port command to create the port and to specify the number of VPIs:
SmartSwitch # add port
PortNumber() : 7b2.4
— Specify virtual port number (and Base VPI)
PortAdminStatus(up) :
IlmiAdminStatus(up) :
SigType(autoConfig) :
SigRole(other) :
InterfaceType(private) :
MaxVpiBits(0) : 3
— VPIs used = Base VPI + (2
3
- 1) = 4 + 7 = 11
MaxVciBits(9) :
MaxSvcVpci(7) :
— Confirms that there are seven VPCI for this virtual port
MinSvcVci(32) :
MaxVccs(4096) :
TrafficDescriptorIndex() : 1
SmartSwitch #
In the example above, the virtual port controls eight VPIs. Counting from the Base VPI, these are 4, 5, 6, 7, 8, 9, 10,
and 11. Notice that other virtual ports can be created on this physical port because we haven’t used all of the available
VPI specified by the
set portconfig command. For example, the next (higher) virtual port that’s possible to create
is
7b2.12 because the Base VPI is beyond the eight VPIs used by 7b2.4.