[c-nsp] Basic IOS questions
"Rolf Hanßen"
nsp at rhanssen.de
Sat Sep 10 09:09:39 EDT 2011
Hello,
> Show log:
>
> If you are trying to get the current day logs you can use "sh log | inc
> Sep 9" (notice the two spaces since there is no zero and day is two
> digits)
Isn't there a way just to switch the order ?
Obviously somebody at Cisco also thinks it could be comfortable, "sh ip
ospf events" is ordered descent for example. ;)
> Ssh timeouts:
>
> The command you are looking for is "exec-timeout" this has to be applied
> to the individual vty lines.
The missing part was "service tcp-keepalives-in"
So this config works as far as I can see:
service tcp-keepalives-in
line vty 0 4
exec-timeout 0 0
> Osfp ipv6:
>
> Yes they replaced "router ospfv3" with "ipv6 router ospf"
>
> OSPF metric:
>
> Example 1:
>
> Show ipv6 route | inc ^O
> O 2001:xxxx:xxxx:xxxx::/64 [110/49]
>
> The admin distance is 110 and metric is 49
>
> Example 2:
>
> sh ipv6 route 2001:xxxx:xxxx:xxxx::/64
> Routing entry for 2001:xxxx:xxxx:xxxx::/64
> Known via "ospf xxxx", distance 110, metric 49, type intra area
>
> Same admin distance and metric
>
> Unless there are changes in those code revisions that effect the "show
> ipv6 route" they should be the same.
>
> Mack
I think that is not the same.
I set cost to 1000 for v4 and v6. This results in this output:
IPv4:
Known via "ospf 1", distance 110, metric 20, type extern 2, forward
metric 1000
Last update from 123.123.123.123 on Vlan1349, 1d14h ago
Routing Descriptor Blocks:
* 123.123.123.123, from 123.123.123.123, 1d14h ago, via Vlan1349
Route metric is 20, traffic share count is 1
IPv6:
Known via "ospf 1", distance 110, metric 20, type extern 2
Route count is 1/1, share count 0
Routing paths:
FE80::20B:FCFF:FE05:800, Vlan1349
Last updated 16:58:47 ago
The router behind this Cisco shows the cost of 1000 I added for IPv6, so I
think it is just not shown here but calculated and forwarded correctly.
kind regards
Rolf
> -----Original Message-----
> From: cisco-nsp-bounces at puck.nether.net
> [mailto:cisco-nsp-bounces at puck.nether.net] On Behalf Of "Rolf Hanßen"
> Sent: Friday, September 09, 2011 3:51 PM
> To: cisco-nsp at puck.nether.net
> Subject: [c-nsp] Basic IOS questions
>
> Hi,
>
> I have some questions that came up while working with Cisco 7600/6500
> boxes first weeks.
> Maybe you guys have some hints for me.
>
> order of sh log:
> Is there a way to show the latest entries first instead of scrolling down
> to the end ?
>
> ssh timeouts:
> I would like to disable the console timeout for ssh sessions. I.e. the
> sessions should only be closed if the ssh tcp-connection has a timeout.
> I tried a few commands that sounded like timeout but none worked.
>
> OSPF IPv6 documentation:
> several documentation tells me to use "router ospfv3" to setup OSPF for
> IPv6 but it is not available in the cli.
> I could setup OSPF with "ipv6 router ospf" at least similar to the v4
> version. Did that replace "router ospfv3" or why can I not enter it ?
>
> OSPFv6 costs:
> How can I see the costs of an OSPF v6 route ?
> "sh ip route" shows an entry "forward metric" but "sh ipv6 route" shows
> nothing similar.
>
> Software used:
> 6500: 12.2(33)SXJ
> 7600: 15.1(2)S
>
> kind regards
> Rolf Hanßen
>
>
>
>
> _______________________________________________
> cisco-nsp mailing list cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>
More information about the cisco-nsp
mailing list