---
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.
source_url:
  html: https://patricia-pcx17119-l7-overrides.preview.developers.cloudflare.com/ruleset-engine/rules-language/fields/reference/ip.src.asnum/index.md
  md: https://patricia-pcx17119-l7-overrides.preview.developers.cloudflare.com/ruleset-engine/rules-language/fields/reference/ip.src.asnum/
---

# 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
