To configure AA subnet summarization filters
Steps
1 |
Log in to a station that has access to the NSP system. |
2 |
Open a console window. |
3 |
As required, issue the following RESTCONF API call to specify default values for AA subnet summarization filtering: Note: In order to issue a RESTCONF API call, you require a token; see the My First NSP API Client tutorial on the Network Developer Portal for information. PATCH https://address:443/restconf/data/flowconf:config/filters/aa/subnet-sum/defaults where address is the NSP cluster advertised address The message body is the following: { "defaults" : [ { "local-ipv4-mask-len" : "local IPv4 mask length" "remote-ipv4-mask-len" : "remote IPv4 mask length" "local-ipv6-mask-len" : "local IPv6 mask length" "remote-ipv6-mask-len" : "remote IPv6 mask length" "enabled" : "true", } ] } where local IPv4 mask length is the local IPv4 mask length remote IPv4 mask length is the remote IPv4 mask length local IPv6 mask length is the local IPv6 mask length remote IPv6 mask length is the remote IPv6 mask length Note: The settings in the above example represent the default values. Note: If no other matching filters are defined, these values are applied to AA Subnet Summarization data types. |
4 |
As required, issue the following RESTCONF API call to specify AA subnet summarization filters: Note: In order to issue a RESTCONF API call, you require a token; see the My First NSP API Client tutorial on the Network Developer Portal for information. POST https://address:443/restconf/data/flowconf:config/filters/aa/subnet-sum/entry where address is the NSP cluster advertised address The message body is the following: { "entry" : [ { "sys-ip" : "sys-ip" "sub-type" : "sub-type" "sub-id" : "sub-id", "local-ipv4-mask-len" : "local IPv4 mask length" "remote-ipv4-mask-len" : "remote IPv4 mask length" "local-ipv6-mask-len" : "local IPv6 mask length" "remote-ipv6-mask-len" : "remote IPv6 mask length" "enabled" : "true", } ] } where sys-ip is the router IP address sub-type is the subscriber type sub-id is the subscriber ID local IPv4 mask length is the local IPv4 mask length remote IPv4 mask length is the remote IPv4 mask length local IPv6 mask length is the local IPv6 mask length remote IPv6 mask length is the remote IPv6 mask length Note: The settings in the above example represent the default values. |
5 |
Close the console window. End of steps |