hwAclv6AdvancedSrcPort1
HUAWEI-IPDSLAM-ACLV6-MIB ·
.1.3.6.1.4.1.2011.5.112.1.3.1.9
Object
Describes the operation value of port 1 in the comparison operation types of the source port in hwAclv6AdvancedSrcOp
when hwAclv6AdvancedProtocol is set to TCP or UDP.
Range: 0-65535
For example, when hwAclv6AdvancedSrcOp is set to eq(2) (=),
it indicates that the source port ID of matched packets equals to the value of hwAclv6AdvancedSrcPort1.
If the value is not specified for an advanced ACLv6 rule, the invalid value 0 is obtained in the query operation.
The number in the brackets is the port IDs that are commonly used.
The port names and meanings of different port names are as follows:
bgp: Border Gateway Protocol(179)
chargen: Character generator (19)
cmd: Remote commands (514)
daytime: Daytime (13)
discard: Discard (9)
domain: Domain Name Service (53)
echo: Echo (7)
exec: Exec (512)
finger: Finger (79)
ftp: File Transfer Protocol (21)
ftp-data: FTP data connections (20)
gopher: Gopher (70)
hostname: NIC hostname server (101)
irc: Internet Relay Chat (194)
klogin: Kerberos login (543)
kshell: Kerberos shell (544)
login: Login (rlogin, 513)
lpd: Printer service (515)
nntp: Network News Transport Protocol (119)
pop2: Post Office Protocol v2 (109)
pop3: Post Office Protocol v3 (110)
smtp: Simple Mail Transport Protocol (25)
sunrpc: SUN Remote Procedure Call (111)
tacacs: TAC Access Control System (49)
talk: Talk (517)
telnet: Telnet (23)
time: Time (37)
uucp: Unix-to-Unix Copy Program (540)
whois: Nicname (43)
www: World Wide Web (HTTP, 80)
Context
- MIB
- HUAWEI-IPDSLAM-ACLV6-MIB
- OID
.1.3.6.1.4.1.2011.5.112.1.3.1.9- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwAclv6AdvancedRuleEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'HUAWEI-IPDSLAM-ACLV6-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-IPDSLAM-ACLV6-MIB::hwAclv6AdvancedSrcPort1'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-IPDSLAM-ACLV6-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-IPDSLAM-ACLV6-MIB::hwAclv6AdvancedSrcPort1.<hwAclv6AdvancedAclNum>.<hwAclv6AdvancedSubitem>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-IPDSLAM-ACLV6-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-IPDSLAM-ACLV6-MIB::hwAclv6AdvancedSrcPort1'
Syntax
- Source
- INET-ADDRESS-MIBInetPortNumber
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..65535