ASCII Character Set and Hex Values

ASCII Character Set and Hex Values

78-11740-02

Some commands described in the Cisco IOS documentation set, such as the escape-character line configuration command, require that you enter the decimal representation of an ASCII character. Other commands, such as the snmp-server group command, make use of hexadecimal representations.

Table 136 provides code translations from the decimal numbers to their hexadecimal and ASCII equivalents. It also provides the keyword entry for each ASCII character. For example, the ASCII carriage return (CR) is decimal 13. Entering Ctrl-M at your terminal generates decimal 13, which is interpreted as a CR.

Table 136 ASCII Translation Table

Numeric Values Decimal Hex

0

00

1

01

2

02

3

03

4

04

5

05

6

06

7

07

8

08

9

09

10

0A

11

0B

12

0C

13

0D

14

0E

15

0F

16

10

ASCII Character NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR

SO SI

DLE

Meaning

Keyboard Entry

Null

Ctrl-@

Start of heading

Ctrl-A

Start of text

Ctrl-B

Break/end of text

Ctrl-C

End of transmission

Ctrl-D

Enquiry

Ctrl-E

Positive acknowledgment Ctrl-F

Bell

Ctrl-G

Backspace

Ctrl-H

Horizontal tab

Ctrl-I

Line feed

Ctrl-J

Vertical tab

Ctrl-K

Form feed

Ctrl-L

Carriage return

Ctrl-M

(Equivilant to the Enter or

Return key)

Shift out

Ctrl-N

Shift in/XON (resume output)

Ctrl-O

Data link escape

Ctrl-P

Cisco IOS Configuration Fundamentals Command Reference

FR-919

ASCII Character Set and Hex Values

Table 136 ASCII Translation Table (continued)

Numeric Values Decimal Hex

17

11

18

12

19

13

20

14

21

15

22

16

23

17

24

18

25

19

26

1A

27

1B

28

1C

29

1D

30

1E

31

1F

32

20

33

21

34

22

35

23

36

24

37

25

38

26

39

27

40

28

41

29

42

2A

43

2B

44

2C

45

2D

46

2E

47

2F

48

30

49

31

50

32

51

33

ASCII Character DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US SP ! " # $ % & ' ( ) * + , . / 0 1 2 3

Meaning

Keyboard Entry

Device control character 1 Ctrl-Q

Device control character 2 Ctrl-R

Device control character 3 Ctrl-S

Device control character 4 Ctrl-T

Negative acknowledgment Ctrl-U

Synchronous idle

Ctrl-V

End of transmission block Ctrl-W

Cancel

Ctrl-X

End of medium

Ctrl-Y

Substitute/end of file

Ctrl-Z

Escape

Ctrl-[

File separator

Ctrl-\

Group separator

Ctrl-]

Record separator

Ctrl-^

Unit separator

Ctrl-_

Space

Space

!

!

"

"

#

#

$

$

%

%

&

&

'

'

(

(

)

)

*

*

+

+

,

,

-

-

.

.

/

/

Zero

0

One

1

Two

2

Three

3

FR-920

Cisco IOS Configuration Fundamentals Command Reference

78-11740-02

ASCII Character Set and Hex Values

78-11740-02

Table 136 ASCII Translation Table (continued)

Numeric Values Decimal Hex

52

34

53

35

54

36

55

37

56

38

57

39

58

3A

59

3B

60

3C

61

3D

62

3E

63

3F

64

40

65

41

66

42

67

43

68

44

69

45

70

46

71

47

72

48

73

49

74

4A

75

4B

76

4C

77

4D

78

4E

79

4F

80

50

81

51

82

52

83

53

84

54

85

55

86

56

ASCII Character 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V

Meaning Four Five Six Seven Eight Nine : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V

Keyboard Entry 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P Q R S T U V

Cisco IOS Configuration Fundamentals Command Reference

FR-921

Table 136 ASCII Translation Table (continued)

Numeric Values Decimal Hex

87

57

88

58

89

59

90

5A

91

5B

92

5C

93

5D

94

5E

95

5F

96

60

97

61

98

62

99

63

100

64

101

65

102

66

103

67

104

68

105

69

106

6A

107

6B

108

6C

109

6D

110

6E

111

6F

112

70

113

71

114

72

115

73

116

74

117

75

118

76

119

77

120

78

121

79

ASCII Character W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y

Meaning W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y

FR-922

Cisco IOS Configuration Fundamentals Command Reference

ASCII Character Set and Hex Values

Keyboard Entry W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s t u v w x y

78-11740-02

ASCII Character Set and Hex Values

Table 136 ASCII Translation Table (continued)

Numeric Values Decimal Hex

122

7A

123

7B

124

7C

125

7D

126

7E

127

7F

ASCII Character z { | } ~ DEL

Meaning z { | } Tilde Delete

Keyboard Entry z { | } ~ Del

78-11740-02

Cisco IOS Configuration Fundamentals Command Reference

FR-923

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download