All MIBs › HP-SN-BGP4-GROUP-MIB › snBgp4RouteMapSetAsPathType
snBgp4RouteMapSetAsPathType
Module: HP-SN-BGP4-GROUP-MIB
OID (symbolic): HP-SN-BGP4-GROUP-MIB::snBgp4RouteMapSetAsPathType
OID (numeric): 1.3.6.1.4.1.11.2.3.7.11.12.2.11.14.1.1.3
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: To modify an autonomous system path for BGP routes. tag(0) - Converts the tag of a route into an autonomous system path. prepend(1) - Appends the string from snBgp4RouteMapSetAsPathString to the as-path of the route that is matched by the route map.
What is snBgp4RouteMapSetAsPathType?
Selects how this route-map clause modifies a matched route's AS-path: tag(0) converts the route's tag into an AS-path entry, or prepend(1) appends the string in snBgp4RouteMapSetAsPathString to the AS-path. Admins use prepend commonly to make a route look less preferred to external peers by artificially lengthening its AS-path.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.11.2.3.7.11.12.2.11.14.1.1.3 snmpwalk -v2c -c public <target> HP-SN-BGP4-GROUP-MIB::snBgp4RouteMapSetAsPathType
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.11.2.3.7.11.12.2.11.14.1.1.3.1 snmpget -v2c -c public <target> HP-SN-BGP4-GROUP-MIB::snBgp4RouteMapSetAsPathType.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.11.2.3.7.11.12.2.11.14.1.1.3.1 i <value>
Start monitoring HP ProCurve Routing Switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HP-SN-BGP4-GROUP-MIB::snBgp4RouteMapSetAsPathType OID value, configure state conditions and alerts, and monitor any HP ProCurve Routing Switches from a single console.
OID Breakdown
Upper-level ancestors (14 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.11 | hp | CLJ8500-MIB |
| 1.3.6.1.4.1.11.2 | nm | CLJ8500-MIB |
| 1.3.6.1.4.1.11.2.3 | hpsystem | CLJ8500-MIB |
| 1.3.6.1.4.1.11.2.3.7 | netElement | HP-BASE-MIB |
| 1.3.6.1.4.1.11.2.3.7.11 | hpEtherSwitch | HP-BASE-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12 | hpSwitchCore | HP-SN-ROOT-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.2 | router | HP-SN-ROOT-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.2.11 | snBgp4 | HP-SN-ROOT-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.11.2.3.7.11.12.2.11.14 | snBgp4RouteMapSet | HP-SN-BGP4-GROUP-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.2.11.14.1 | snBgp4RouteMapSetTable | HP-SN-BGP4-GROUP-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.2.11.14.1.1 | snBgp4RouteMapSetEntry | HP-SN-BGP4-GROUP-MIB |
| 1.3.6.1.4.1.11.2.3.7.11.12.2.11.14.1.1.3 | snBgp4RouteMapSetAsPathType | HP-SN-BGP4-GROUP-MIB |