The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
To configure IPv4 multicast route memory resource limits for a virtual device context (VDC) or a VDC resource template, use the limit-resource m4route-mem command. To revert to the default, use the no form of this command.
limit-resource m4route-mem [ minimum min-value ] maximum max-value
no limit-resource m4route-mem
minimum |
(Optional) Specifies the minimum value reserved for the VDC. |
min-value |
Minimum amount of IPv4 multicast route memory in megabytes. The range is from 1 to 90 MB. |
maximum |
Specifies the maximum limit value as resources are available. |
max-value |
Maximum amount of IPv4 multicast route memory in megabytes. The range is from 1 to 90 MB and must be equal to or greater than the minimum value. |
For the default VDC, the default minimum and maximum limit value is 58 MB.For a nondefault VDC, the default minimum and maximum limit value is 8 MB.
VDC configurationVDC resource template configuration
Release |
Modification |
---|---|
5.0(2) |
Changed the minimum and maximum values. |
4.1(2) |
This command was introduced. |
The multicast routing information base (RIB) for IPv4 is in shared memory. The total available shared memory for the RIB for all VDCs on a physical device with 4 GB of memory is 256 MB. You can have approximately 11,000 routes, each with 16 next-hops, in 4 MB of IPv4 multicast route memory.
Note | Take care when reserving IPv4 multicast routing memory for a VDC not to reserve more of the shared memory than is available. |
The Cisco NX-OS software reserves the minimum limit for the resource. Changing the minimum limit for IPv4 multicast routing memory takes affect only after a device reload or a stateful supervisor module switchover.
Note | You can set only one value for the IPv4 multicast route memory resource maximum and minimum limits. If you specify a minimum limit, that is the value for both the minimum and maximum limits and the maximum limit is ignored. If you specify only a maximum limit, that is the value for both the minimum and maximum limits. |
This command does not require a license.
This example shows how to configure the IPv4 multicast route memory limits for a VDC:
switch# configure terminal switch(config)# vdc MyDevice switch(config-vdc)# limit-resource m4route-mem minimum 8 maximum 64
This example shows how to revert to the default IPv4 multicast route memory limits for a VDC:
switch# configure terminal switch(config)# vdc MyDevice switch(config-vdc)# no limit-resource m4route-mem
This example shows how to configure the IPv4 multicast route memory limits for a VDC resource template:
switch# configure terminal switch(config)# vdc resource template MyTemplate switch(config-vdc-template)# limit-resource m4route-mem minimum 4 maximum 40 d
This example shows how to revert to the default IPv4 multicast route memory limits for a VDC resource template:
switch# configure terminal switch(config)# vdc resource template MyTemplate switch(config-vdc-template)# no limit-resource m4route-mem
Command |
Description |
---|---|
show vdc resource |
Displays VDC resource limits information. |
vdc |
Creates or specifies a VDC and enters VDC configuration mode. |
vdc resource template |
Creates or specifies a VDC resource template and enters VDC resource template configuration mode. |
To configure IPv6 multicast route memory resource limits for a virtual device context (VDC) or a VDC resource template, use the limit-resource m6route-mem command. To revert to the default, use the no form of this command.
limit-resource m6route-mem [ minimum min-value ] maximum max-value
no limit-resource m6route-mem
minimum |
(Optional) Specifies the minimum value reserved for the VDC. |
min-value |
Minimum amount of IPv6 multicast route memory in megabytes. The range is from 1 to 20. |
maximum |
Specifies the maximum limit value as resources are available. |
max-value |
Maximum amount of IPv6 multicast route memory in megabytes. The range is from 1 to 20 and must be equal to or greater than the minimum value. |
For the default VDC, the default minimum and maximum limit value is 8 MB.For a nondefault VDC, the default minimum and maximum limit value is 2 MB.
VDC configurationVDC resource template configuration
Release |
Modification |
---|---|
5.0(2) |
Changed the minimum and maximum values. |
4.1.(2) |
This command was introduced. |
The multicast routing information base (RIB) for IPv6 is in shared memory. The total available shared memory for RIB in a physical device with 4 GB of memory is 256 MB for both IPv4 and IPv6 route memory. You can have approximately 11,000 routes, each with 16 next-hops, in 4 MB of IPv6 route memory.
Note | Take care when reserving IPv6 route memory for a VDC not to reserve more of the shared memory than is available. |
The Cisco NX-OS software reserves the minimum limit for the resource. Changing the minimum limit for IPv6 multicast routing memory takes affect after a device reload or a stateful supervisor module switchover.
Note | You can set only one value for the IPv6 multicast route memory resource maximum and minimum limits. If you specify a minimum limit, that is the value for both the minimum and maximum limits and the maximum limit is ignored. If you specify only a maximum limit, that is the value for both the minimum and maximum limits. |
This command does not require a license.
This example shows how to configure the IPv6 multicast route memory limits for a VDC:
switch# configure terminal switch(config)# vdc MyDevice switch(config-vdc)# limit-resource m6route-mem minimum 8 maximum 12
This example shows how to revert to the default IPv6 multicast route memory limits for a VDC:
switch# configure terminal switch(config)# vdc MyDevice switch(config-vdc)# no limit-resource m6route-mem
This example shows how to configure the IPv6 multicast route memory limits for a VDC resource template:
switch# configure terminal switch(config)# vdc resource template MyTemplate switch(config-vdc-template)# limit-resource m6route-mem minimum 4 maximum 16
This example shows how to revert to the default IPv6 multicast route memory limits for a VDC resource template:
switch# configure terminal switch(config)# vdc resource template MyTemplate switch(config-vdc-template)# no limit-resource m6route-mem
Command |
Description |
---|---|
show vdc resource |
Displays VDC resource limits information. |
vdc |
Creates or specifies a VDC and enters VDC configuration mode. |
vdc resource template |
Creates or specifies a VDC resource template and enters VDC resource template configuration mode. |
To configure the line card type resource limit for a virtual device context (VDC), use the limit-resource module-type command. To revert to the default, use the no form of this command.
limit-resource module-type [ f1 | f2 | f2e | f3 | m1 | m1x1 | m2x1 ]
no limit-resource module-type [ f1 | f2 | f2e | f3 | m1 | m1x1 | m2x1 ]
f1 |
(Optional) Enables F1 type line cards in the VDC. |
f2 |
(Optional) Enables F2 type line cards in the VDC. |
f2e |
(Optional) Enables F2e type line cards in the VDC. |
f3 |
(Optional) Enables F3 type line cards in the VDC. |
m1 |
(Optional) Enables M1 type line cards in the VDC. |
m1x1 |
(Optional) Enables M1x1 type line card in the VDC. |
m2x1 |
(Optional) Enables M2x1 type line card in the VDC. |
None
VDC configuration
Release |
Modification |
---|---|
6.2(6) |
The f3 keyword was added. |
6.1(1) |
Added m2x1 keyword to the syntax description. |
5.1(1) |
This command was introduced. |
By default, both the M1 and F1 types of line cards are supported in a VDC.
A VDC supports only the following line card type modes:
Note | This command does not support VDC resource templates. |
This command does not require a license.
This example shows how to enable the M2X1 type line card in the VDC:
switch# configure terminal switch(config)# vdc MyDevice switch(config-vdc)# limit-resource module-type m2x1 switch(config-vdc)#
This example shows how to configure the line card type for a VDC:
switch# configure terminal switch(config)# vdc MyDevice switch(config-vdc)# limit-resource module-type f1 This will cause all ports of unallowed types to be removed from this vdc. Continue? [yes] switch(config-vdc)
This example shows how to revert to the default line card type for a VDC:
switch# configure terminal switch(config)# vdc MyDevice switch(config-vdc)# no limit-resource module-type f1 This will cause all ports of unallowed types to be removed from this vdc. Continue? [yes] switch(config-vdc)#
Command |
Description |
---|---|
show vdc resource |
Displays VDC resource limits information. |
vdc |
Creates or specifies a VDC and enters VDC configuration mode. |
To configure switched port analyzer (SPAN) monitor session resource limits for a virtual device context (VDC) or a VDC resource template, use the limit-resource monitor-session command. To revert to the default, use the no form of this command.
limit-resource monitor-session minimum min-value maximum { max-value | equal-to-min }
no limit-resource monitor-session
minimum |
Specifies the minimum value reserved for the VDC. |
min-value |
Minimum number of SPAN monitor sessions. The range is from 0 to 2. |
maximum |
Specifies the maximum limit value as resources are available. |
max-value |
Maximum number of SPAN monitor sessions. The range is from 0 to 2. |
equal-to-min |
Specifies that the maximum limit is always equal to the minimum limit. |
The default minimum is 0.The default maximum is 2.
VDC configurationVDC resource template configuration
Release |
Modification |
---|---|
4.0(1) |
This command was introduced. |
You can use this command only in the default VDC (VDC 1).
The Cisco NX-OS software reserves the minimum limit for the resource. Changing the minimum limit for SPAN monitor sessions takes affect immediately.
This command does not require a license.
This example shows how to configure the SPAN monitor session limits for a VDC:
switch# configure terminal switch(config)# vdc MyDevice switch(config-vdc)# limit-resource monitor-session minimum 1 maximum 2
This example shows how to revert to the default SPAN monitor session limits for a VDC:
switch# configure terminal switch(config)# vdc MyDevice switch(config-vdc)# no limit-resource monitor-session
This example shows how to configure the SPAN monitor session limits for a VDC resource template:
switch# configure terminal switch(config)# vdc resource template MyTemplate switch(config-vdc-template)# limit-resource monitor-session minimum 0 maximum 1
This example shows how to revert to the default SPAN monitor session limits for a VDC resource template:
switch# configure terminal switch(config)# vdc resource template MyTemplate switch(config-vdc-template)# no limit-resource monitor-session
Command |
Description |
---|---|
show vdc resource [detail] |
Displays VDC resource limits information. |
show vdc resource template |
Displays VDC resource limits information. |
vdc |
Creates or specifies a VDC and enters VDC configuration mode. |
To configure the encapsulated remote switched port analyzer (ERSPAN) destination monitor session resource limits for a virtual device context (VDC), use the limit-resource monitor-session-erspan-dst command. To revert to the default, use the no form of this command.
monitor-session-erspan-dst [ minimum min-value | maximum max-value ]
no monitor-session-erspan-dst [ minimum min-value | maximum max-value ]
minimum |
Specifies the minimum value reserved for the VDC and allocates the minimum monitor ERSPAN destination session. |
min-value |
Minimum number of erspan-dst monitor sessions. The range is from 0 to 24. |
maximum |
Specifies the minimum value reserved for the VDC and allocates the maximum monitor ERSPAN destination session. |
max-value |
Maximum number of erspan-dst monitor sessions. The range is from 0 to 24. |
The default minimum is 0.
The default maximum is 24.
VDC configuration
VDC resource template configuration
Release |
Modification |
---|---|
5.1(1) |
This command was introduced. |
This command does not require a license.
This example shows how to configure the ERSPAN destination monitor session limits for a VDC:
switch# configure terminal switch(config)# vdc MyDevice switch(config-vdc)# limit-resource monitor-session-erspan-dst minimum 5 maximum 15 switch(config-vdc)#
This example shows how to revert to the default ERSPAN destination monitor session limits for a VDC:
switch# configure terminal switch(config)# vdc MyDevice switch(config-vdc)# no limit-resource monitor-session-erspan-dst minimum 5 maximum 15 switch(config-vdc)#
Command |
Description |
---|---|
show vdc resource |
Displays VDC resource limits information. |
limit-resource monitor-session |
Configures Switched Port Analyzer (SPAN) monitor session resource limits for a virtual device context (VDC) or a VDC resource template. |
To configure port channel resource limits for a virtual device context (VDC) or a VDC resource template, use the limit-resource port-channel command. To revert to the default, use the no form of this command.
limit-resource port-channel minimum min-value maximum { max-value | equal-to-min }
no limit-resource monitor-session
minimum |
Specifies the minimum value reserved for the VDC. |
min-value |
Minimum number of port channels. The range is from 0 to 768. |
maximum |
Specifies the maximum limit value as resources are available. |
max-value |
Maximum number of port channels. The range is from 0 to 768. |
equal-to-min |
Specifies that the maximum limit is always equal to the minimum limit. |
The default minimum is 0.The default maximum is 768.
VDC configurationVDC resource template configuration
Release |
Modification |
---|---|
4.1(2) |
Changed the default maximum limit from 192 to 768. |
4.0(1) |
This command was introduced. |
You can use this command only in the default VDC (VDC 1).
The Cisco NX-OS software reserves the minimum limit for the resource. Changing the minimum limit for port channels takes affect immediately.
This command does not require a license.
This example shows how to configure the port channel resource limits for a VDC:
switch# configure terminal switch(config)# vdc MyDevice switch(config-vdc)# limit-resource port-channel minimum 8 maximum 64
This example shows how to revert to the default port channel limits for a VDC:
switch# configure terminal switch(config)# vdc MyDevice switch(config-vdc)# no limit-resource port-channel
This example shows how to configure the port channel limits for a VDC resource template:
switch# configure terminal switch(config)# vdc resource template MyTemplate switch(config-vdc-template)# limit-resource port-channel minimum 4 maximum 128
This example shows how to revert to the default port channel limits for a VDC resource template:
switch# configure terminal switch(config)# vdc resource template MyTemplate switch(config-vdc-template)# no limit-resource port-channel
Command |
Description |
---|---|
show vdc resource |
Displays VDC resource limits information. |
vdc |
Creates or specifies a VDC and enters VDC configuration mode. |
vdc resource template |
Creates or specifies a VDC resource template and enters VDC resource template configuration mode. |
To configure IPv4 unicast route memory resource limits for a virtual device context (VDC) or a VDC resource template, use the limit-resource u4route-mem command. To revert to the default, use the no form of this command.
limit-resource u4route-mem [ minimum min-value ] maximum max-value
no limit-resource u4route-mem
minimum |
(Optional) Specifies the minimum value reserved for the VDC. |
min-value |
Minimum amount of IPv4 unicast route memory in megabytes. The range is from 1 to 250 MB. |
maximum |
Specifies the maximum limit value as resources are available. |
max-value |
Maximum amount of IPv4 unicast route memory in megabytes. The range is from 1 to 250 MB and must be equal to or greater than the minimum value. |
For the default VDC, the default minimum and maximum limit value is 96 MB.For a nondefault VDC, the default minimum and maximum limit value is 8 MB.
VDC configurationVDC resource template configuration
Release |
Modification |
---|---|
5.0(2) |
Changed the minimum and maximum values. |
4.1(2) |
|
4.0(2) |
|
4.0(1) |
This command was introduced. |
The unicast routing information base (RIB) for IPv4 is in shared memory. The total available shared memory for the RIB for all VDCs on a physical device with 4 GB of memory is 256 MB. You can have approximately 11,000 routes, each with 16 next-hops, in 16 MB of IPv4 unicast route memory.
Note | Be careful when you are reserving IPv4 unicast routing memory for a VDC that you do not reserve more of the shared memory than is available. |
The Cisco NX-OS software reserves the minimum limit for the resource. Changing the minimum limit for IPv4 unicast routing memory takes affect only after a device reload or a stateful supervisor module switchover.
Note | You can set only one value for the IPv4 unicast route memory resource maximum and minimum limits. If you specify a minimum limit, that is the value for both the minimum and maximum limits and the maximum limit is ignored. If you specify only a maximum limit, that is the value for both the minimum and maximum limits. |
There are two options to make this command take effect:
This command does not require a license.
This example shows how to configure the IPv4 unicast route memory limits for a VDC:
switch# configure terminal switch(config)# vdc MyDevice switch(config-vdc)# limit-resource u4route-mem minimum 8 maximum 64
This example shows how to revert to the default IPv4 unicast route memory limits for a VDC:
switch# configure terminal switch(config)# vdc MyDevice switch(config-vdc)# no limit-resource u4route-mem
This example shows how to configure the IPv4 unicast route memory limits for a VDC resource template:
switch# configure terminal switch(config)# vdc resource template MyTemplate switch(config-vdc-template)# limit-resource u4route-mem minimum 4 maximum 40
This example shows how to revert to the default IPv4 unicast route memory limits for a VDC resource template:
switch# configure terminal switch(config)# vdc resource template MyTemplate switch(config-vdc-template)# no limit-resource u4route-mem
Command |
Description |
---|---|
show vdc resource |
Displays VDC resource limits information. |
vdc |
Creates or specifies a VDC and enters VDC configuration mode. |
vdc resource template |
Creates or specifies a VDC resource template and enters VDC resource template configuration mode. |
To configure IPv6 unicast route memory resource limits for a virtual device context (VDC) or a VDC resource template, use the limit-resource u6route-mem command. To revert to the default, use the no form of this command.
limit-resource u6route-mem [ minimum min-value ] maximum max-value
no limit-resource u6route-mem
minimum |
(Optional) Specifies the minimum value reserved for the VDC. |
min-value |
Minimum amount of IPv6 route memory in megabytes. The range is from 1 to 150 MB. |
maximum |
Specifies the maximum limit value as resources are available. |
max-value |
Maximum amount of IPv6 route memory in megabytes. The range is from 1 to 150 MB and must be equal to or greater than the minimum value. |
For the default VDC, the default minimum and maximum limit value is 24 MB.
For a nondefault VDC, the default minimum and maximum limit value is 4 MB.
VDC configurationVDC resource template configuration
Release |
Modification |
---|---|
7.3(0)DX(1) |
Changed the maximum limit from 100 MB to 150 MB, to support 512K IPv6 routes. |
5.0(2) |
Changed the minimum and maximum values. |
4.1(2) |
|
4.0(2) |
|
4.0(1) |
This command was introduced. |
The unicast routing information base (RIB) for IPv6 is in shared memory. The total available shared memory for RIB in a physical device with 4 GB of memory is 256 MB for both IPv4 and IPv6 route memory. You can have approximately 11,000 routes, each with 16 next-hops, in 16 MB of IPv6 route memory.
Note | Be careful when you are reserving IPv4 unicast routing memory for a VDC that you do not reserve more of the shared memory than is available. |
The Cisco NX-OS software reserves the minimum limit for the resource. Changing the minimum limit for IPv6 unicast routing memory takes affect after a device reload or a stateful supervisor module switchover.
Note | You can set only one value for the IPv6 unicast route memory resource maximum and minimum limits. If you specify a minimum limit, that is the value for both the minimum and maximum limits and the maximum limit is ignored. If you specify only a maximum limit, that is the value for both the minimum and maximum limits. |
This command does not require a license.
This example shows how to configure the IPv6 unicast route memory limits for a VDC:
switch# configure terminal switch(config)# vdc MyDevice switch(config-vdc)# limit-resource u6route-mem minimum 8 maximum 24
This example shows how to revert to the default IPv6 unicast route memory limits for a VDC:
switch# configure terminal switch(config)# vdc MyDevice switch(config-vdc)# no limit-resource u6route-mem
This example shows how to configure the IPv6 unicast route memory limits for a VDC resource template:
switch# configure terminal switch(config)# vdc resource template MyTemplate switch(config-vdc-template)# limit-resource u6route-mem minimum 4 maximum 32
This example shows how to revert to the default IPv6 unicast route memory limits for a VDC resource template:
switch# configure terminal switch(config)# vdc resource template MyTemplate switch(config-vdc-template)# no limit-resource u6route-mem
Command |
Description |
---|---|
show vdc resource |
Displays VDC resource limits information. |
vdc |
Creates or specifies a VDC and enters VDC configuration mode. |
vdc resource template |
Creates or specifies a VDC resource template and enters VDC resource template configuration mode. |
To configure VLAN resource limits for a virtual device context (VDC) or a VDC resource template, use the limit-resource vlan command. To revert to the default, use the no form of this command.
limit-resource vlan minimum min-value maximum { max-value | equal-to-min }
no limit-resource vlan
minimum |
Specifies the minimum value reserved for the VDC. |
min-value |
Minimum number of VLANs. The range is from 16 to 4094. |
maximum |
Specifies the maximum limit value as resources are available. |
max-value |
Maximum number of VLANs. The range is from 16 to 4094. |
equal-to-min |
Specifies that the maximum limit is always equal to the minimum limit. |
The default minimum is 16.The default maximum is 4094.
VDC configurationVDC resource template configuration
Release |
Modification |
---|---|
4.0(1) |
This command was introduced. |
You can use this command only in the default VDC (VDC 1).
The Cisco NX-OS software reserves the minimum limit for the resource. Changing the minimum limit for VLANs takes affect immediately.
This command does not require a license.
This example shows how to configure the VLAN limits for a VDC:
switch# configure terminal switch(config)# vdc MyDevice switch(config-vdc)# limit-resource vlan minimum 32 maximum 2056
This example shows how to revert to the default VLAN limits for a VDC:
switch# configure terminal switch(config)# vdc MyDevice switch(config-vdc)# no limit-resource vlan
This example shows how to configure the VLAN limits for a VDC resource template:
switch# configure terminal switch(config)# vdc resource template MyTemplate switch(config-vdc-template)# limit-resource vlan minimum 24 maximum 3000
This example shows how to revert to the default VLAN limits for a VDC resource template:
switch# configure terminal switch(config)# vdc resource template MyTemplate switch(config-vdc-template)# no limit-resource vlan
Command |
Description |
---|---|
show vdc resource |
Displays VDC resource limits information. |
vdc |
Creates or specifies a VDC and enters VDC configuration mode. |
vdc resource template |
Creates or specifies a VDC resource template and enters VDC resource template configuration mode. |
To configure virtual routing and forwarding instance (VRF) resource limits for a virtual device context (VDC) or a VDC resource template, use the limit-resource vrf command. To revert to the default, use the no form of this command.
limit-resource vrf minimum min-value maximum { max-value | equal-to-min }
no limit-resource vrf
minimum |
Specifies the minimum value reserved for the VDC. |
min-value |
Minimum number of VRFs. The range is from 2 to 1000. |
maximum |
Specifies the maximum limit value as resources are available. |
max-value |
Maximum number of VRFs. The range is from 2 to 1000. |
equal-to-min |
Specifies that the maximum limit is always equal to the minimum limit. |
The default minimum is 16.The default maximum is 1000.
VDC configurationVDC resource template configuration
Release |
Modification |
---|---|
5.0(2) |
Changed the minimum and maximum values. |
4.0(1) |
This command was introduced. |
You can use this command only in the default VDC (VDC 1).
The Cisco NX-OS software reserves the minimum limit for the resource. Changing the minimum limit for VRFs takes affect immediately.
This command does not require a license.
This example shows how to configure the VRF limits for a VDC:
switch# configure terminal switch(config)# vdc MyDevice switch(config-vdc)# limit-resource vrf minimum 32 maximum 1000
This example shows how to revert to the default VRF limits for a VDC:
switch# configure terminal switch(config)# vdc MyDevice switch(config-vdc)# no limit-resource vrf
This example shows how to configure the VRF limits for a VDC resource template:
switch# configure terminal switch(config)# vdc resource template MyTemplate switch(config-vdc-template)# limit-resource vrf minimum 64 maximum 1000
This example shows how to revert to the default VRF limits for a VDC resource template:
switch# configure terminal switch(config)# vdc resource template MyTemplate switch(config-vdc-template)# no limit-resource vrf
Command |
Description |
---|---|
show vdc resource |
Displays VDC resource limits information. |
vdc |
Creates or specifies a VDC and enters VDC configuration mode. |
vdc resource template |
Creates or specifies a VDC resource template and enters VDC resource template configuration mode. |