Sponsored Content
Full Discussion: Cisco Mac Question
Operating Systems Solaris Cisco Mac Question Post 302305578 by zaxxon on Thursday 9th of April 2009 09:16:51 AM
Old 04-09-2009
Awful long but works:
Code:
echo "0:1c:c9:2a:b6:77"| tr -s ':' '\n'|  sed 's/^.$/0&/'| tr -d '\n'| sed 's/\(....\)\(....\)\(....\)/\1\.\2\.\3\n/g'
001c.c92a.b677

 

5 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Mac OSX question

Hi. Is it possible to execute a Cocoa (or Carbon or eaven a classic) program for mac OSX in the terminal window? OSX finder can sometimes be so busy that it wont respond for several minutes, ie if you are uploading a very big file/files to a afp server. Then it would have been nice to start... (7 Replies)
Discussion started by: nicke30
7 Replies

2. UNIX for Dummies Questions & Answers

mac os question

i would like to ask those who know of the subject to please answer this question. could it be possible to somehow run mac os x in a newly built computer of mine. the computer i made myself (a clone) and it runs linux just nicely. would there be some way to emulate mac os x to be compatible for... (2 Replies)
Discussion started by: ChildrenoftheOS
2 Replies

3. UNIX for Dummies Questions & Answers

Mac OS X Question

I've looked at all the forums here, and could not find my answer! I don't use a Mac, But have Played with OS X. It is Unix based I know that, but can you Install all the free programs like you can on *BSD and Lunix? MacIain (1 Reply)
Discussion started by: MacIain
1 Replies

4. UNIX for Dummies Questions & Answers

Help with Unix/Mac OS question

Hope someone can help give me a clue what is going on here, I work in a Macintosh computer lab in a college institution and currently we run Mac G4's with what is becoming dated software but everything has been fine until recently, when a new student purchased a new Mac G5 system in order to do her... (1 Reply)
Discussion started by: kd4rmm
1 Replies

5. IP Networking

How to stack Cisco 2960-S and Cisco 2960X?

Is there an easy way to stack Cisco 2960-S and Cisco 2960X switches? If you have no idea, follow this: 1. Stacking is not supported on switches running the LAN Lite image. All switches in the stack must be running the LAN Base image. 2. In a mixed stack of Catalyst 2960-X and Catalyst 2960-S... (0 Replies)
Discussion started by: Ayaerlee
0 Replies
ramond.conf(5)							File Formats Manual						    ramond.conf(5)

NAME
ramond.conf - Configuration file for ramond(8) DESCRIPTION
This manual page documents briefly the ramond.conf configuration file. ramond.conf is an XML file containing the rules for Router Advertisement processing by ramond(8). The rules are processed in the order they are defined in the file. SYNTAX
One may refer to the DTD given in /usr/share/doc/ramond/examples/ramond.conf.dtd. The root element, <ramond>, contains one optional attribute, logfile, giving the path to the logfile for the daemon. This element may contain one or more <mac-list>s, and one or more <rule>s. The <mac-list> must have a name attribute, and contains one or more <entry>elements. The <rule> may contain a few attributes : prefix An IPv6 prefix used for matching RA packets mac A <mac-list> name used for matching source MAC addresses of the RA packets lifetime This attribute, when having a "0" value, is used for matching routes that are being cleared interface The interface which the RA packet came from The <rule> may contain : o one or more <execute> elements containing the path of the scripts to run when a packet is matched o a <clear/> element, so that the matched route will be cleared by ramond(8) o or no element, indicating an "ignore" rule. ENVIRONMENT
The environment variables the configured scripts are run with are listed in the ramond(8) manpage. EXAMPLE CONFIGURATION FILE
Set the logfile to be /var/log/ramond.log. <ramond logfile="/var/log/ramond.log"> Define a router mac-list. <mac-list name="router"> <entry>00:11:22:33:44:55</entry> <entry>00:22:44:66:88:00</entry> </mac-list> Define a rule checking if the router routes are being cleared. <rule mac="router" lifetime="0"> <execute>/usr/local/sbin/routenotify route-cleared</execute> </rule> Define a rule ignoring our router announcing routes for prefix 2001:dead:cafe:babe::/52. <rule mac="router" prefix="2001:dead:cafe:babe::/52"> <!-- do nothing --> </rule> Clear the 6to4 routes coming on interface eth0. <rule prefix="2002::/16" interface="eth0"> <execute>/usr/local/sbin/routenotify 6to4-advertised</execute> <clear/> </rule> Match on all advertised prefixes <rule prefix="::/0"> <execute>/usr/local/sbin/routenotify route-advertised</execute> </rule> Match on all RA packets (even those not advertising a prefix) <rule> <execute>/usr/local/sbin/routenotify route-advertised</execute> </rule> </ramond> SEE ALSO
ramond(8), /usr/share/doc/ramond/examples for a sample ramond.conf and a sample processing script AUTHORS
James Morse <morse_@users.sourceforge.net> Wrote the ramond software. Nicolas Dandrimont <nicolas.dandrimont@crans.org> Wrote this manpage for the Debian system. COPYRIGHT
Copyright (C) 2010 Nicolas Dandrimont This manual page was written for the Debian system (and may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the usual 3-clause BSD license. On Debian systems, the complete text of the 3-clause BSD license License can be found in /usr/share/doc/ramond/copyright. ramond.conf(5)
All times are GMT -4. The time now is 03:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy