FreeBSD 7.3-RELEASE (GENERIC) #0: Sun Mar 21 06:15:01 UTC 2010
$ xorpsh
Welcome to XORP on r.d
[email protected]> configure
Entering configuration mode.
There are no other users in configuration mode.
[edit]
[email protected]# quit
[email protected]> quit
$ uname -a
FreeBSD r.d 7.3-RELEASE FreeBSD 7.3-RELEASE #0: Sun Mar 21 06:15:01 UTC 2010
[email protected]:/usr/obj/usr/src/sys/GENERIC i386
$ netstat -an
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 0 127.0.0.1.61150 127.0.0.1.19999 TIME_WAIT
tcp4 0 48 116.55.13.55.22 116.55.13.212.1816 ESTABLISHED
tcp4 0 0 127.0.0.1.25 *.* LISTEN
tcp4 0 0 *.22 *.* LISTEN
tcp6 0 0 *.22 *.* LISTEN
tcp4 0 0 127.0.0.1.19999 127.0.0.1.64903 ESTABLISHED
tcp4 0 0 127.0.0.1.64903 127.0.0.1.19999 ESTABLISHED
tcp4 0 0 127.0.0.1.19999 *.* LISTEN
udp4 0 0 *.514 *.*
udp6 0 0 *.514 *.*
Active UNIX domain sockets
Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr
c4555000 stream 0 0 0 c4556738 0 0
c4556738 stream 0 0 0 c4555000 0 0
c4555888 stream 0 0 c457a450 0 0 0
/var/tmp/xrl.xlpzOw
c4555930 stream 0 0 c457a78c 0 0 0
/var/tmp/xrl.Ro92Hr
c4555dc8 stream 0 0 c4547cf0 0 0 0
/var/run/devd.pipe
c4556b28 dgram 0 0 0 c4556e70 0 0
c4556bd0 dgram 0 0 0 c4556dc8 0 0
c4556dc8 dgram 0 0 c45e433c 0 c4556bd0 0
/var/run/logpriv
c4556e70 dgram 0 0 c45e4450 0 c4556b28 0 /var/run/log
$ vty
Welcome to XORP on r.d
[email protected]> configure
Entering configuration mode.
There are no other users in configuration mode.
[edit]
[email protected]# set interfaces interface fxp1
[edit]
[email protected]# commit
OK
[edit]
[email protected]# save /router/run.conf
ERROR: Save failed.
File /router/run.conf exists, but an error occured when trying to check that it
was OK to overwrite it
File was NOT overwritten
[email protected]# save /router/run.conf
Save done.
[email protected]# set interfaces interface fxp1.5 ?
Possible completions:
<[Enter]> Execute this command
default-system-config Use default values from the system
description Add a human-readable description of an interface
disable Disable a network interface
discard Configure a discard interface
iface-type Interface-type: VLAN.
mac Set the MAC address
management Configure a management interface
mtu Set the MTU
parent-ifname Parent interface this virtual belongs to.
unreachable Configure an unreachable interface
vid Virtual Interface Identifier: VLAN-ID for VLANs.
vif Configure a virtual interface
{ Enter text on multiple lines
[email protected]# set interfaces interface fxp1.5 iface-type VLAN
[edit]
[email protected]# commit
OK
[edit]
[email protected]# set interfaces interface fxp1.5 vi
`vi' is ambiguous.
Possible completions:
vid Virtual Interface Identifier: VLAN-ID for VLANs.
vif Configure a virtual interface
[email protected]# set interfaces interface fxp1.5 vid 5
[edit]
[email protected]# set interfaces interface fxp1.5 parent-ifname fxp1
[edit]
[email protected]# commit
Commit Failed
210 Transport failed[edit]
[email protected]# Finder disconnected. No Finder?
[email protected]# exit discard
[ 2011/03/21 02:04:39.342980 ERROR xorpsh:1125 XRL libxipc/xrl_router.cc:588
send ] NO FINDER
ERROR: failed to inform rtrmgr of leaving config mode. No Finder?
[email protected]> quit
[ 2011/03/21 02:04:41.150857 ERROR xorpsh:1125 XRL libxipc/xrl_router.cc:588
send ] NO FINDER
$ netstat -an
Active Internet connections (including servers)
Proto Recv-Q Send-Q Local Address Foreign Address (state)
tcp4 0 0 116.55.13.55.22 116.55.13.212.1817 ESTABLISHED
tcp4 0 0 127.0.0.1.64029 127.0.0.1.19999 TIME_WAIT
tcp4 0 0 127.0.0.1.64875 127.0.0.1.19999 TIME_WAIT
tcp4 0 0 127.0.0.1.60620 127.0.0.1.19999 TIME_WAIT
tcp4 0 0 127.0.0.1.50171 127.0.0.1.19999 TIME_WAIT
tcp4 0 0 127.0.0.1.19999 127.0.0.1.50475 TIME_WAIT
tcp4 0 48 116.55.13.55.22 116.55.13.212.1816 ESTABLISHED
tcp4 0 0 127.0.0.1.25 *.* LISTEN
tcp4 0 0 *.22 *.* LISTEN
tcp6 0 0 *.22 *.* LISTEN
tcp4 0 0 127.0.0.1.19999 127.0.0.1.64903 TIME_WAIT
udp4 0 0 *.514 *.*
udp6 0 0 *.514 *.*
Active UNIX domain sockets
Address Type Recv-Q Send-Q Inode Conn Refs Nextref Addr
c4555c78 stream 0 0 0 c4555bd0 0 0
c4555bd0 stream 0 0 0 c4555c78 0 0
c4555000 stream 0 0 0 c4556738 0 0
c4556738 stream 0 0 0 c4555000 0 0
c4555dc8 stream 0 0 c4547cf0 0 0 0
/var/run/devd.pipe
c4556b28 dgram 0 0 0 c4556e70 0 0
c4556bd0 dgram 0 0 0 c4556dc8 0 0
c4556dc8 dgram 0 0 c45e433c 0 c4556bd0 0
/var/run/logpriv
c4556e70 dgram 0 0 c45e4450 0 c4556b28 0 /var/run/log
$ xorpsh
[ 2011/03/21 02:04:52.7276 WARNING xorpsh LIBXORP ] read error: _fd: 25
offset: 0 total-len: 4 error: Connection refused
[ 2011/03/21 02:04:52.111592 WARNING xorpsh LIBXORP ] read error: _fd: 25
offset: 0 total-len: 4 error: Connection refused
[ 2011/03/21 02:04:52.215830 WARNING xorpsh LIBXORP ] read error: _fd: 25
offset: 0 total-len: 4 error: Connection refused
[ 2011/03/21 02:04:52.320123 WARNING xorpsh LIBXORP ] read error: _fd: 25
offset: 0 total-len: 4 error: Connection refused
[ 2011/03/21 02:04:52.424408 WARNING xorpsh LIBXORP ] read error: _fd: 25
offset: 0 total-len: 4 error: Connection refused
--
王星海
电话:13312601392
_______________________________________________
Xorp-hackers mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers