Use the show
commands given in the following examples to verify the GRE configuration.
To display the
contents of the tunnel interface, use the
show
running-config command.
Router# show running-config interface tunnel 0
Building configuration...
Current configuration : 160 bytes
!
interface Tunnel0
ip address 10.0.0.1 255.255.255.252
keepalive 10 3
tunnel source 1.1.1.1
tunnel destination 2.2.2.2
service-policy output policy2
end
To display the
usability status of interfaces configured for IP, use the
show ip
interface command.
Router# show ip interface brief | include Tunnel
Tunnel2 35.35.35.1 YES NVRAM up up
Tunnel10 45.45.45.1 YES NVRAM up up
To display the
configuration of a tunnel interface, use the
show interface
tunnel
command.
Router# show interfaces tunnel 0
Tunnel0 is up, line protocol is up
Hardware is Tunnel
Internet address is 10.0.0.1/30
MTU 17916 bytes, BW 100 Kbit/sec, DLY 50000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation TUNNEL, loopback not set
Keepalive set (10 sec), retries 3
Tunnel linestate evaluation up
Tunnel source 1.1.1.1, destination 2.2.2.2
Tunnel protocol/transport GRE/IP
Key disabled, sequencing disabled
Checksumming of packets disabled
Tunnel TTL 255
Tunnel transport MTU 1476 bytes
Tunnel transmit bandwidth 8000 (kbps)
Tunnel receive bandwidth 8000 (kbps)
Last input 01:13:28, output 00:00:08, output hang never
Last clearing of "show interface" counters 01:13:48
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/0 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
15 packets input, 1416 bytes, 0 no buffer
Received 0 broadcasts (0 IP multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
442 packets output, 21216 bytes, 0 underruns
0 output errors, 0 collisions, 0 interface resets
0 unknown protocol drops
0 output buffer failures, 0 output buffers swapped out
To display the
contents of the gigabitethernet interface, use the
show
running-config command.
Router# show running-config interface gigabitEthernet 0/11
Building configuration...
Current configuration : 384 bytes
!
interface GigabitEthernet0/11
no ip address
negotiation auto
no qos-config scheduling-mode min-bw-guarantee
service-policy input policy1
service instance 100 ethernet
encapsulation dot1q 100
rewrite ingress tag pop 1 symmetric
bridge-domain 100
!
service instance 101 ethernet
encapsulation dot1q 101
rewrite ingress tag pop 1 symmetric
bridge-domain 101
!
end
To display the
statistics and the configurations of the input and output policies that are
attached to an interface, use the
show policy-map
interface command.
Router# show policy-map interface g0/11
GigabitEthernet0/11
Service-policy input: policy1
Class-map: class1 (match-all)
0 packets, 0 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: dscp af43 (38)
QoS Set
qos-group 5
Packets marked 0
No marking statistics available for this class
Class-map: class_2 (match-all)
0 packets, 0 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: dscp af33 (30)
QoS Set
qos-group 3
Packets marked 0
No marking statistics available for this class
Class-map: class-default (match-any)
0 packets, 0 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: any
To display the
configuration of a specified table map or all table maps, use the
show table-map
command.
Router# show table-map
Table Map table_1
from 5 to 7
default copy
Table Map new_table
default copy
Table Map table3
from 0 to 7
from 5 to 1
default copy