ASCII Character Set and Hexadecimal Values

ASCII Character Set and Hexadecimal Values

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 occasionally make use of hexadecimal (hex) representations.

Table 174 provides character 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.

Note This document is a reference for only the standard ASCII character set. Extended ASCII character sets are not generally recommended for use in Cisco IOS commands. Extended ASCII character set references are widely available on the internet.

Table 174

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

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

Meaning Null Start of heading Start of text Break/end of text End of transmission Enquiry Positive acknowledgment Bell Backspace Horizontal tab Line feed Vertical tab Form feed

Keyboard Entry Ctrl-@ Ctrl-A Ctrl-B Ctrl-C Ctrl-D Ctrl-E Ctrl-F Ctrl-G Ctrl-H Ctrl-I Ctrl-J Ctrl-K Ctrl-L

April 2010

Cisco IOS Configuration Fundamentals Command Reference

CF-1193

ASCII Character Set and Hexadecimal Values

Table 174

ASCII Translation Table (continued)

Numeric Values

Decimal Hex

13

0D

14

0E

15

0F

16

10

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

ASCII Character CR

SO SI

DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US SP ! " # $ % & ' ( ) * + , -

Meaning

Keyboard Entry

Carriage return (in the CLI, equivalent to the Enter or Return key)

Ctrl-M

Shift out

Ctrl-N

Shift in/XON (resume output)

Ctrl-O

Data link escape

Ctrl-P

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

!

!

"

"

#

#

$

$

%

%

&

&

'

'

(

(

)

)

*

*

+

+

,

,

-

-

CF-1194

Cisco IOS Configuration Fundamentals Command Reference

April 2010

ASCII Character Set and Hexadecimal Values

April 2010

Table 174

ASCII Translation Table (continued)

Numeric Values

Decimal Hex

46

2E

47

2F

48

30

49

31

50

32

51

33

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

ASCII Character . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P

Meaning . / Zero One Two Three Four Five Six Seven Eight Nine : ; < = > ? @ A B C D E F G H I J K L M N O P

Keyboard Entry . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P

Cisco IOS Configuration Fundamentals Command Reference

CF-1195

ASCII Character Set and Hexadecimal Values

Table 174

ASCII Translation Table (continued)

Numeric Values

Decimal Hex

81

51

82

52

83

53

84

54

85

55

86

56

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

ASCII Character Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s

Meaning Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s

CF-1196

Cisco IOS Configuration Fundamentals Command Reference

Keyboard Entry Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l m n o p q r s

April 2010

ASCII Character Set and Hexadecimal Values

Table 174

ASCII Translation Table (continued)

Numeric Values

Decimal Hex

116

74

117

75

118

76

119

77

120

78

121

79

122

7A

123

7B

124

7C

125

7D

126

7E

127

7F

ASCII Character t u v w x y z { | } ~ DEL

Meaning t u v w x y z { | } Tilde Delete

Keyboard Entry t u v w x y z { | } ~ Del

April 2010

Cisco IOS Configuration Fundamentals Command Reference

CF-1197

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

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

Google Online Preview   Download