---
title: ip.src.asnum · Cloudflare Ruleset Engine docs
description: The 16-bit or 32-bit integer representing the Autonomous System
  (AS) number associated with the client IP address.
chatbotDeprioritize: false
source_url:
  html: https://developers.cloudflare.com/ruleset-engine/rules-language/fields/reference/ip.src.asnum/
  md: https://developers.cloudflare.com/ruleset-engine/rules-language/fields/reference/ip.src.asnum/index.md
---

# ip.src.asnum

`ip.src.asnum` Number

The 16-bit or 32-bit integer representing the Autonomous System (AS) number associated with the client IP address.

This field has the same value as the `ip.geoip.asnum` field, which is deprecated. The `ip.geoip.asnum` field is still available for new and existing rules, but you should use the `ip.src.asnum` field instead.

*GeoIP is the registered trademark of MaxMind, Inc.*

Categories:

* Request
* Geolocation
