Permanent Assignments (CR00011355) | 47 |
Figure 5: Example output from the show perm command
| Port |
Name | Local Remote IP address |
If the two ports of the permanent assignment are on different routers, the add perm command must be entered on each router. If both ports are on the same router, the command only needs to be entered once. The IP address specified may be any one of the IP addresses of the router in question.
A permanent assignment can be removed with the command:
delete perm=name
This command removes the permanent assignment from the local router. If the other port of the permanent assignment is on a remote router, the permanent assignment should also be removed from the remote router.
A permanent assignment can be reset with the command:
reset perm
This command breaks the current TCP connection being used for the permanent assignment and attempts a new connection. The terminal port being used for the permanent assignment is also reset.
Example
This example illustrates the process of setting up a permanent assignment. The assignment is to be established between port 2 on a router with IP address
172.26.4.1and port 2 on a router with IP address 172.20.34.9, and is to be named main office. The commands to be executed on the router with address 172.26.4.1
are:
add perm=main office lport=2 rport=3 ip=172.20.34.9 show perm
which produces the output shown in Figure 6.
Version