Nexus7010(config)# feature ospf
Nexus7010(config)# router ospf 1
Nexus7010(config-rtr)# network 192.18.44.0/24 area 0.0.0.0
Nexus7010(config-rtr)# log-adjacency-changes
Nexus7010(config-rtr)# end
Validation!
The command “show interfaces gr-5/0/0” will verify that the GRE tunnel is
up. If run while the Juniper and Cisco devices are forwarding traffic, this command’s
output will include traffic statistics:
admin@ex9200-b> show interfaces gr-5/0/0
Physical interface: gr-5/0/0, Enabled, Physical link is Up
Interface index: 833, SNMP ifIndex: 1665
Type: GRE, Link-level type: GRE, MTU: Unlimited, Speed: 100000mbps
Device flags : Present Running
Interface flags: Point-To-Point SNMP-Traps
Input rate : 0 bps (0 pps)
Output rate : 0 bps (0 pps)
Logical interface gr-5/0/0.0 (Index 818) (SNMP ifIndex 1673)
Flags: Up Point-To-Point SNMP-Traps 0x4000
IP-Header 192.18.38.2:192.18.38.1:47:df:64:0000000000000000
Encapsulation: GRE-NULL
Copy-tos-to-outer-ip-header: Off
Gre keepalives configured: Off, Gre keepalives adjacency state: down
Input packets : 0
Output packets: 0
Protocol inet, MTU: 9154
Flags: Sendbcast-pkt-to-re
Addresses, Flags: Is-Preferred Is-Primary
Destination: 192.18.44/24, Local: 192.18.44.1, Broadcast:
192.18.44.255
gr-5/0/0, Enabled, Link is Up
Encapsulation: GRE, Speed: 100000mbps
Traffic statistics: Current
delta
Input bytes: 3281648740 (79102480 bps)
[98256668]
Output bytes: 2233966800 (39551240 bps)
[49103600]
Input packets: 6643094 (20015 pps)
[198901]
Output packets: 4522200 (10007 pps)
[99400]
On Cisco devices, the equivalent command is “show interface tunnel
<tunnel number>”.
Comentarios a estos manuales