HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Comm - Page 170

mtu, reset counters interface

Page 170 highlights

Description Use interface tunnel to create a tunnel interface and enter its view. Use undo interface tunnel to delete a specific tunnel interface. By default, no tunnel interface is created on the device. Use the interface tunnel command to enter the interface view of a specific tunnel. If the specified tunnel interface does not exist, the system will create the interface and enter its view. A tunnel interface number is only locally significant. Thus, the tunnel interfaces on the two ends of a tunnel can use the same or different interface numbers. Related commands: display interface tunnel, display ipv6 interface tunnel, source, destination, and tunnel-protocol. Examples # Create interface Tunnel 3 and enter its view. system-view [Sysname] interface tunnel 3 [Sysname-Tunnel3] mtu Syntax mtu mtu-size View undo mtu Tunnel interface view Default level 2: System level Parameters mtu-size: Specifies the MTU on the tunnel interface, in the range of 100 to 64000 bytes. Description Use mtu to set the MTU on a tunnel interface. Use undo mtu to restore the default. By default, the MTU on a tunnel interface is 64000 bytes. Examples # Set the MTU for IPv4 packets on interface Tunnel 3 to 1432 bytes. system-view [Sysname] interface tunnel 3 [Sysname-Tunnel3] mtu 1432 reset counters interface Syntax reset counters interface [ tunnel [ number ] ] 163

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181

163
Description
Use
interface tunnel
to create a tunnel interface and enter its view.
Use
undo interface tunnel
to delete a specific tunnel interface.
By default, no tunnel interface is created on the device.
Use the
interface tunnel
command to enter the interface view of a specific tunnel. If the specified tunnel
interface does not exist, the system will create the interface and enter its view.
A tunnel interface number is only locally significant. Thus, the tunnel interfaces on the two ends of a
tunnel can use the same or different interface numbers.
Related commands:
display interface tunnel
,
display ipv6 interface tunnel
,
source
,
destination
, and
tunnel-protocol
.
Examples
# Create interface Tunnel 3 and enter its view.
<Sysname> system-view
[Sysname] interface tunnel 3
[Sysname-Tunnel3]
mtu
Syntax
mtu
mtu-size
undo mtu
View
Tunnel interface view
Default level
2: System level
Parameters
mtu-size
: Specifies the MTU on the tunnel interface, in the range of 100 to 64000 bytes.
Description
Use
mtu
to set the MTU on a tunnel interface.
Use
undo mtu
to restore the default.
By default, the MTU on a tunnel interface is 64000 bytes.
Examples
# Set the MTU for IPv4 packets on interface Tunnel 3 to 1432 bytes.
<Sysname> system-view
[Sysname] interface tunnel 3
[Sysname-Tunnel3] mtu 1432
reset counters interface
Syntax
reset counters interface
[
tunnel
[
number
] ]